Umami disappeared after update, now I can't restore

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What app is this about, and its version

Umami 3.2.0~ynh1

What YunoHost version are you running

12.1.40.1

What type of hardware are you using

Other(?)

Describe your issue

First umami didn’t work (gave a server error)
then tried to update
and it couldn’t be restored

Share relevant logs or error messages

here is the log after trying to restore backup

https://paste.yunohost.org/raw/qavutisuke

Hi @geoma ,

i don’t know anything about umami.

What i see here in trace is that service fails after database restore due to missing or wrong node version

umami.service: Failed at step CHDIR spawning /opt/node_n/n/versions/node/22.23.2/bin/node: No such file or directory

what does following command run in yunohost terminal returns ?

ls -la /opt/node_n/n/versions/node/

in traces there are

2026-09-02 21:25:44,519: DEBUG - + /usr/share/yunohost/helpers.v2.1.d/vendor/n/n install 22
2026-09-02 21:25:44,803: DEBUG -   installing : node-v22.23.2
2026-09-02 21:25:44,869: DEBUG -        mkdir : /opt/node_n/n/versions/node/22.23.2
2026-09-02 21:25:44,875: DEBUG -        fetch : https://nodejs.org/dist/v22.23.2/node-v22.23.2-linux-x64.tar.xz
2026-09-02 21:25:46,885: DEBUG -      copying : node/22.23.2
2026-09-02 21:25:47,636: DEBUG -    installed : v22.23.2 to /opt/node_n/bin/node
2026-09-02 21:25:47,686: DEBUG -       active : v24.20.0 at /usr/local/bin/node

perhaps /opt/node_n/bin/node is correct but not /opt/node_n/n/versions/node/22.23.2/bin/node

It seems there is an issue here Umami upgrade 3.2.0 -> 3.3.1 failed · Issue #130 · YunoHost-Apps/umami_ynh · GitHub

To restore, you can try the following :

  • yunohost backup restore umami-pre-upgrade1 --no-remove-on-failure
    

Then, you can either

a) edit the umami.service file to use a nodejs 22.x.x version already installed on your system

ls /opt/node_n/n/versions/node/
# select the latest 22.x.x version
# edit the umami.service file 
sudo nano /etc/systemd/system/umami.service
# change 22.23.2 to the latest version 22 present on your system
systemctl daemon-reload
systemctl start umami (you may need running before systemctl reset-failed umami)

b) or install the nodejs version required by the service :

N_PREFIX=/opt/node_n/ /usr/share/yunohost/helpers.v2.1.d/vendor/n/n install 22.23.2
systemctl start umami (you may need running before systemctl reset-failed umami)

Hope it may help but this makes me worry :

2026-09-02 21:30:52,979: WARNING - Aug 20 09:36:48 (node)[1068]: umami.service: Changing to the requested working directory failed: No such file or directory

Ok I installed node 22.23.2
and then tried to restored backup
but problem persisted

https://paste.yunohost.org/raw/riwilotoni

So then I

yunohost backup restore umami-pre-upgrade1 --no-remove-on-failure
ls /opt/node_n/n/versions/node/
# select the latest 22.x.x version
# edit the umami.service file 
sudo nano /etc/systemd/system/umami.service
# change 22.23.2 to the latest version 22 present on your system
systemctl daemon-reload
systemctl start umami (you may need running before systemctl reset-failed umami)

and apparently it worked, BUT, When I go to the umami web, I just get:

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to [nginx.org](http://nginx.org/).
Commercial support is available at [nginx.com](http://nginx.com/).

Thank you for using nginx.

is it ok to post this here or should we just have the conversation here?:slight_smile:

?

Did you reload nginx?

forgot to but then did

now I get


502 Bad Gateway

If you see this page, your connection with the server is working but the internal service providing this path is not responding.

Administrator, make sure that the service is running, and check its logs if it is not. The Services page is in your webadmin, under Tools > Services.

Thank you for using YunoHost.

Should we continue this thread here or on umami_ynh github?

Can you share the umami service log ?

@geoma here is the right place to exchange more than on github. On github you can report spotted bugs at dev level once it is confirmed those are bugs, here we are investigating a admin/user level.
discussions can be done on yunohost matrix support too.