Blank screen after after login after update to v5

Hello,

I just updated from v4 to v5 and after log in Frappe logo blinks and page goes blank.
I tried restarting VM, updating again several times, logging in from other PC’s…still nothing.

Please help.

Do you tryied run frappe {site_name} --build if are you using bench run first bench shell inside frappe-bench folder

I just tried it and it did not help.
This is what I get when I Inspect Element in Chrome of that blank page:

Uncaught SyntaxError: Unexpected token :
 desk.min.js:79 
Cleared App Cache. 
desk.min.js:80 
Cleared localstorage
 desk.min.js:867 
Uncaught TypeError: Cannot read property 'messages' of undefined desk.min.js:769 
Uncaught TypeError: Cannot set property 'label' of null
 bootstrap.css.map:1 
GET http://192.168.10.157:8080/assets/css/bootstrap.css.map 404 (Not Found)
2desk.min.js:869 
Uncaught TypeError: Cannot read property 'notification_info' of undefined

Fixed, please update again.

I did.
Now I get only the top ribbon.
Inspect Element says:

Uncaught TypeError: Cannot read property 'icon' of undefined
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
bootstrap.css.map:1 GET http://192.168.10.157:8080/assets/css/bootstrap.css.map 404 (Not Found)

Please help me out.
What did I do wrong?

Is there any update on this, please?

Must be related to your custom app. Did you skip the “icon” property in your app/config/[module].py

Hmm…I did not create any custom app.

Did this get fixed? We were unable to replicate in accounts we have upgraded.

No it didn’t, but thank you for asking.
I had to install on another VM and migrate / recreate everything.
But that’s what I get for being an early adopter :wink:
I’m sticking to v4 for now.

@boyan_sharic, yeah we have been using v5 in production since the last 2 days. Will also publish a new VM soon!

I think this issue is fixed. Updating the VM again should fix it.

I just ran

cd frappe-bench
bench update

and this is what I get

Please add this to MariaDB's my.cnf and restart MariaDB before proceeding

[mysqld]
innodb-file-format=barracuda
innodb-file-per-table=1
innodb-large-prefix=1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

[mysql]
default-character-set = utf8mb4

The site is stuck at

Updating. We will be back in a few moments...

Hi, I am having the same issue. Getting blank page after upgrading to V5.

These are the steps I took:

  1. Create barracuda.cnf under /etc/mysql/conf.d
  2. Run git pull
  3. Run bench update --upgrade
  4. Restart nginx & supervisorctl

Pls help…

Below is the output from step 3

Already up-to-date.

  • branch develop → FETCH_HEAD
    Already up-to-date.
  • branch develop → FETCH_HEAD
    Already up-to-date.
    You are using pip version 6.0.8, however version 7.1.0 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 6.0.8, however version 7.1.0 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    Database backed up /home/cahyadi/frappe-bench/sites/site1.local/private/backups/20150724_96599197_database.sql.gz
    Migrating site1.local
    Updating frappe : [========================================]
    Updating erpnext : [========================================]
    Wrote ./assets/js/print_format_v3.min.js - 18k
    Wrote ./assets/js/frappe-web.min.js - 104k
    Wrote ./assets/js/form.min.js - 92k
    Wrote ./assets/js/report.min.js - 154k
    Wrote ./assets/js/erpnext.min.js - 32k
    Wrote ./assets/css/list.min.css - 5k
    Wrote ./assets/js/erpnext-web.min.js - 1k
    Wrote ./assets/css/report.min.css - 7k
    Wrote ./assets/css/frappe-web.css - 54k
    Wrote ./assets/js/list.min.js - 60k
    Wrote ./assets/js/desk.min.js - 680k
    Wrote ./assets/css/form.min.css - 1k
    Wrote ./assets/js/editor.min.js - 26k
    Wrote ./assets/css/erpnext.css - 1k
    Wrote ./assets/css/desk.min.css - 253k
    Wrote ./assets/js/module.min.js - 5k
    Wrote ./assets/css/module.min.css - 0k
    frappe-web: stopped
    frappe-workerbeat: stopped
    frappe-worker: stopped
    frappe-web: started
    frappe-workerbeat: started
    frappe-worker: started