Black page for login

I installed v5 according to instructions, but when I go to the web page I get a black page. There’s apparently HTML there but a javascript error is triggered, so I guess it never fades from black or something?

Uncaught TypeError: Cannot read property ‘trim’ of undefined frappe-web.min.js

Can you post the full trace?

Also run bench update before trying.

TypeError: Cannot read property ‘trim’ of undefined
scope variables:
sidebar_has_content: undefined

$.extend.toggle_template_blocks (frappe-web.min.js:113)
(anonymous function) (frappe-web.min.js:138)
o.event.dispatch (jquery.min.js:3)
o.event.add.r.handle (jquery.min.js:3)
o.event.trigger (jquery.min.js:3)
(anonymous function) (jquery.min.js:3)
o.extend.each (jquery.min.js:2)
o.fn.o.each (jquery.min.js:2)
o.fn.extend.trigger (jquery.min.js:3)
(anonymous function) (frappe-web.min.js:138)
o.Callbacks.j (jquery.min.js:2)
o.Callbacks.k.fireWith (jquery.min.js:2)
o.extend.ready (jquery.min.js:2)
I (jquery.min.js:2)

It seems you are using Version 4. If you are starting fresh, its best to start with version 5.

Can you do bench switch-to-develop and start with Version 5.

thanks, got it. nginx served the file from v4.

Was this a configuration error in bench or an oversight from your end?

I was missing some of the changes in the nginx.conf file, so my bad.