Desk shows a blank page after switching from develop to version-12 branch

I switched my Frappe branch from develop to version-12 and after migrating and building the desk shows a blank page. There are no errors on the console.

1 Like

Try this sanity check -

frappe@ubuntu:~/frappe-bench$ bench version
erpnext 12.6.0
frappe 12.4.1
frappe@ubuntu:~/frappe-bench$ cd apps/erpnext/
frappe@ubuntu:~/frappe-bench/apps/erpnext$ git status
On branch version-12
Your branch is up-to-date with 'upstream/version-12'.
nothing to commit, working directory clean
frappe@ubuntu:~/frappe-bench/apps/erpnext$ cd ../frappe/
frappe@ubuntu:~/frappe-bench/apps/frappe$ git status
On branch version-12
Your branch is up-to-date with 'upstream/version-12'.
nothing to commit, working directory clean
1 Like

@sa-ma
We got the same issue after migrating from develop branch to version-12

frappe@ubuntu:~/frappe-bench$ bench version
bench_manager 0.0.1
erpnext 12.10.1
frappe 12.8.1
frappe@ubuntu:~/frappe-bench/apps/erpnext$ git status
On branch version-12
Your branch is up-to-date with ‘upstream/version-12’.
nothing to commit, working directory clean
frappe@ubuntu:~/frappe-bench/apps/frappe$ git status
On branch version-12
Your branch is up-to-date with ‘upstream/version-12’.
nothing to commit, working directory clean

For additional error info:

these are “some” of the files and folders that frappe tries to locate but these files no longer exists in version-12

    frappe/core/page/workspace/
    frappe/desk/doctype/dashboard_chart_field/
    frappe/desk/doctype/dashboard_settings/
    frappe/desk/doctype/desk_card/
    frappe/desk/doctype/desk_chart/
    frappe/desk/doctype/desk_page/
    frappe/desk/doctype/desk_shortcut/

these are develop-branch files

Were you able to solve this?

Facing same issue, did you guy solve this?

Solved by running following commands in python.

frappe.db.set_default("desktop:home_page", "desktop")
frappe.db.commit()