Within the past 2-3 updates - I seem to have a broken desk. Unable to access anything. Frappe Version 13.36.1; ERPNext Version 13.36.0
Do not have any errors with bench update other than
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist
Will appreciate guidance on how to troubleshoot - as it is affecting sites in production.
In addition to some warning, getting the following error in browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at init.set_globals (desk.js:315:66)
at init.load_bootinfo (desk.js:263:9)
at init.startup (desk.js:46:8)
at new init (desk.js:29:8)
at frappe.start_app (desk.js:13:15)
at HTMLDocument.<anonymous> (desk.js:24:9)
at i (jquery.min.js:2:27151)
at Object.fireWith [as resolveWith] (jquery.min.js:2:27914)
at Function.ready (jquery.min.js:2:29707)
at HTMLDocument.J (jquery.min.js:2:29892)
set_globals @ desk.js:315
load_bootinfo @ desk.js:263
startup @ desk.js:46
init @ desk.js:29
frappe.start_app @ desk.js:13
(anonymous) @ desk.js:24
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
J @ jquery.min.js:2
Nothing here looks wrong. What does your ‘stuck at desk’ page look like?
Thanks. URL is my.domain/app. Screen is white background with blue ERPNext logo in middle.
I have been using ERPNext since 2019 (v11) with many updates/upgrades. It is a simple install - no customization. This is the first time encountering this error.
One website on server built recently in 2022 is working fine. The problem seems to be with older websites.
This isn’t enough to go one, but it sounds like a JS build problem. Try
bench setup requirements and then
I did try that earlier - does not change anything. I have no errors during
bench build other than:
Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade caniuse-lite browserslist
bench --website clear-cache. The issue seems to be specific to older sites as the new one seems to be working fine. All of them were working last week. So something in the last 2 updates changed.
bench setup requirements
bench build --force
Same issue here stuck at splash screen
please post screenshots of app and js console . so somebody can answer
Updating to 13.36.2 should fix this.
Have updated to 13.36.2 - getting the following error:
#### Session Start Failed
[Errno 2] No such file or directory: '/home/frappe/frappe-bench/apps/frappe/frappe/core/page/workspace'
This directory does exist - so do not know why its throwing this error.
The problem is for old sites created in 2020/21 or so…even without 2FA. New sites (created in 2022) seem to be working ok.