Update breaking multitenant server

Hi
I have tried a few times to update an existing multi tenant server…

bench update --reset

When I try to log on,the logon page is fine, but after logging on, the page is all scrambled and mis placed. I can recongnise the links to the workspaces but all the icons are huge. I did not take a screenshot of it ( sorry ).

During the update I got this …

Building assets...
Assets for Commit c3cb49105f6d6b5ca6bfa76ca30ccbb17bc598de don't exist
✔ Application Assets Linked


yarn run v1.22.22
$ node esbuild --run-build-command
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
 ERROR  There were some problems during build

Error: The service was stopped
    at /home/<user>/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1356:25
    at /home/<user>/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:678:9
    at Socket.afterClose (/home/<user>/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:656:7)
    at Socket.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Done in 28.34s.

I googled around and found this link on the forum, pointing at an issue …

https://discuss.frappe.io/t/problem-in-bench-build-got-problem-during-build/118720

Here is the issue…

https://github.com/frappe/frappe/issues/13480

According to this issue , I have to force an update of the Frappe files by deliberately modifying a frappe file. I did this and re-did the “update”. I still get the above error but now I seem to get the correct desk-pages.

Would appreciate some advise ?

Update…
In my post I mentioned that the deskview now loads , but it still is broken. This tiem I took a screenshot…

Have you run ‘bench build’ ?

Hi @trainingacademy:

Try

bench setup requirements
bench build --force

Hope this helps.

Thank you @Ardan and @avc for your comments

Yes I did both the commands that you are suggesting , @avc .
Although, I did not add the --force flag.

Let em try that.
Thank you for your time.

Hi @trainingacademy:

If --force don’t works … check browser console too … any errors there?

Thank you again @avc

This server is on a VPS so I restored the server from a snapshot so it is back to
the “previous” version. So I can try this all again. Let me add the --force and see
what happens. (ALso watching the console log ).

Ok, sometimes this kind of broken css appears under permissions issue … try and let us know.