Admin panel js/css not building when manually updating

Hi.

I was on version 1.5.* for a long time and decided to perform an update, with some trials and errors I managed to perform the update successfully.

First, I used the v-update-sys-hestia-all command, but it failed then I tried the v-update-sys-hestia-git command and performed an update of Hestia, php, and nginx but the admin js/css files were not built successfully.

It looks like there is a problem with the browserslist package, please check the following screenshots:

https://i.imgur.com/a4TjXSg.png
https://i.imgur.com/MGvvjPd.png

Node 20, a few months ago I updated to this version using the “n” package.

root@server:/# apt list hestia*
Listing... Done
hestia-nginx/focal,now 1.25.2 amd64 [installed]
hestia-php/focal,now 8.2.11 amd64 [installed]
hestia/focal,now 1.8.11 amd64 [installed]

Any help would be appreciated.

Anyone?

That’s quite a large version jump I’m afraid, there were significant changes to e.g. how the UI was built in that gap. That said, I don’t know why the upgrade didn’t work for you.

Node 20, a few months ago I updated to this version using the “n” package.

Hestia already manages installing Node with apt install nodejs but I don’t see the other Node you installed with n to be an issue.

It’s not clear the state your server is in after running those two scripts. If you want to get into the internals you’ll need to get npm install then npm run build working in the root Hestia directory before trying the update commands.

Personally I would instead backup your server and restore it on a fresh install if you haven’t already.

1 Like