root@eticadigital:~# yunohost app upgrade -F umami
==========
This release contains some security strengthening, namely ability to turn on 2FA. After the upgrade you may be prompted to log in again due to change of seed used for encrypting the session cookies.
==========
INFO Now upgrading umami…
INFO Creating a safety backup prior to the upgrade
INFO Collecting files to be backed up for umami…
INFO Declaring files to be backed up...
INFO Backing up the database...
WARNING could not change directory to "/home/yunohost.backup/tmp/umami-pre-upgrade2/apps/umami/backup": Permission denied
INFO Backup script completed for umami. (YunoHost will then actually copy those files to the archive).
INFO Creating a backup archive from the collected files…
INFO The archive will contain about 1.7GB of data.
SUCCESS Backup created: umami-pre-upgrade2
INFO Backup umami-pre-upgrade1 was deleted because it is replaced by a newer backup umami-pre-upgrade2
INFO '/etc/php/*/fpm/pool.d/monitorix_status.conf' wasn't deleted because it doesn't exist.
INFO Updating sources...
INFO Updating system_user...
INFO Updating install_dir...
INFO Updating permissions...
INFO Updating ports...
INFO Updating apt...
INFO Updating database...
INFO Updating nodejs...
INFO [++..................] > Stopping umami's systemd service...
INFO [##+++...............] > Ensuring downward compatibility...
INFO [#####+++............] > Provisioning pgcrypto...
WARNING NOTICE: extension "pgcrypto" already exists, skipping
INFO [########+++.........] > Upgrading system configurations related to umami...
INFO [###########+++......] > Configuring and building the app...
INFO '/var/www/umami/release' wasn't deleted because it doesn't exist.
Read from remote host eticadigital.eu: Connection reset by peer
Connection to eticadigital.eu closed.
client_loop: send disconnect: Broken pipe
×umami.service - Umami: Web Analytics
Loaded: loaded (/etc/systemd/system/umami.service;enabled; preset: enabled)
Active:failed(Result: exit-code) since Mon 2026-10-26 21:15:01 -03; 816ms ago
Duration: 38ms
Process: 709712 ExecStart=/opt/node_n/n/versions/node/22.23.4/bin/node server.js(code=exited, status=200/CHDIR)
Main PID: 709712 (code=exited, status=200/CHDIR)
CPU: 36ms
Oct 26 21:15:01 eticadigital.eu systemd[1]: Started umami.service - Umami: Web Analytics.
Oct 26 21:15:01 eticadigital.eu (node)[709712]: umami.service: Changing to the requested working directory failed: No such file or directory
Oct 26 21:15:01 eticadigital.eu (node)[709712]: umami.service: Failed at step CHDIR spawning /opt/node_n/n/versions/node/22.23.4/bin/node: No such file or directory
Oct 26 21:15:01 eticadigital.eu systemd[1]: umami.service: Main process exited, code=exited, status=200/CHDIR
Oct 26 21:15:01 eticadigital.eu systemd[1]: umami.service: Failed with result ‘exit-code’.
```
yunohost app upgrade -F umami
==========
This release contains some security strengthening, namely ability to turn on 2FA. After the upgrade you may be prompted to log in again due to change of seed used for encrypting the
session cookies.
==========
**INFO** Now upgrading umami…
**INFO** Creating a safety backup prior to the upgrade
**INFO** Collecting files to be backed up for umami…
**INFO** Declaring files to be backed up...
**INFO** Backing up the database...
**WARNING** could not change directory to "/home/yunohost.backup/tmp/umami-pre-upgrade1/apps/umami/backup": Permission denied
**INFO** Backup script completed for umami. (YunoHost will then actually copy those files to the archive).
**INFO** Creating a backup archive from the collected files…
**INFO** The archive will contain about 1.7GB of data.
**SUCCESS** Backup created: umami-pre-upgrade1
**INFO** Backup umami-pre-upgrade2 was deleted because it is replaced by a newer backup umami-pre-upgrade1
**INFO** Updating sources...
**INFO** Updating system_user...
**INFO** Updating install_dir...
**INFO** Updating permissions...
**INFO** Updating ports...
**INFO** Updating apt...
**INFO** Updating database...
**INFO** Updating nodejs...
**INFO** \[++..................\] > Stopping umami's systemd service...
**INFO** \[##+++...............\] > Ensuring downward compatibility...
**INFO** \[#####+++............\] > Provisioning pgcrypto...
**WARNING** NOTICE: extension "pgcrypto" already exists, skipping
**INFO** \[########+++.........\] > Upgrading system configurations related to umami...
**INFO** \[###########+++......\] > Configuring and building the app...
**INFO** '/var/www/umami/release' wasn't deleted because it doesn't exist.
Such a truncated log would indicate that either the operation was interrupted (try running upgrade under screen perhaps?) or the process was killed by OOM killer?
Is there any output of sudo journalctl -k | grep -i "oom|killed process" perhaps?
The specs seem more than adequate for building Umami - I’ve built it on old 2 core Xeon with 2GB RAM + 4GB swap no problem (although it takes ages).