What app is this about, and its version: Joplin 3.4.12~ynh2
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online
Describe your issue
I am running again in an issue similar to the one I had a few month ago
Using the help that I got on the other thread, I restored a few months ago a Joplin app install on a Yunohost fresh install. To do this, I essentially updated the Node.js value in apps/joplin/backup/etc/systemd/system/joplin.service from 22.20.0 to 22.21.0 and restored the updated archive.
Yesterday, I tried to perform an upgrade of the Joplin app, which I interrupted because it got stuck somewhere. I ended up with the Joplin app uninstalled.
After an attempt to simply restore the application, I tried the same fix as in the old post, this time replacing 22.21.0 by 22.22.0, since this is apparently the version that is now installed by the restoration script.
Unfortunately, this didn’t work as intended. I am in particular scratching my head because of this part of the error logs:
2026-01-20 09:44:34,843: WARNING - The service joplin didn't fully execute the action start before the timeout.
2026-01-20 09:44:34,843: WARNING - Please find here an extract of the end of the log of the service joplin:
2026-01-20 09:44:34,844: DEBUG - + ynh_print_warn 'The service joplin didn'\''t fully execute the action start before the timeout.'
2026-01-20 09:44:34,844: DEBUG - + ynh_print_warn 'Please find here an extract of the end of the log of the service joplin:'
2026-01-20 09:44:34,844: DEBUG - + journalctl --quiet --no-hostname --no-pager --lines=20 --unit=joplin
2026-01-20 09:44:34,873: WARNING - Jan 19 20:56:35 systemd[1]: joplin.service: Main process exited, code=exited, status=203/EXEC
2026-01-20 09:44:34,873: WARNING - Jan 19 20:56:35 systemd[1]: joplin.service: Failed with result 'exit-code'.
2026-01-20 09:44:34,874: WARNING - Jan 20 08:29:30 systemd[1]: Started joplin.service - Joplin server.
2026-01-20 09:44:34,874: WARNING - Jan 20 08:29:30 (node)[831453]: joplin.service: Failed to locate executable /opt/node_n/n/versions/node/22.21.0/bin/node: No such file or directory
2026-01-20 09:44:34,874: WARNING - Jan 20 08:29:30 (node)[831453]: joplin.service: Failed at step EXEC spawning /opt/node_n/n/versions/node/22.21.0/bin/node: No such file or directory
2026-01-20 09:44:34,874: WARNING - Jan 20 08:29:30 systemd[1]: joplin.service: Main process exited, code=exited, status=203/EXEC
2026-01-20 09:44:34,874: WARNING - Jan 20 08:29:30 systemd[1]: joplin.service: Failed with result 'exit-code'.
2026-01-20 09:44:34,874: WARNING - Jan 20 08:43:27 systemd[1]: Started joplin.service - Joplin server.
2026-01-20 09:44:34,874: WARNING - Jan 20 08:43:27 systemd[1]: joplin.service: Main process exited, code=exited, status=200/CHDIR
2026-01-20 09:44:34,875: WARNING - Jan 20 08:43:27 systemd[1]: joplin.service: Failed with result 'exit-code'.
2026-01-20 09:44:34,875: WARNING - Jan 20 09:14:55 systemd[1]: Started joplin.service - Joplin server.
2026-01-20 09:44:34,875: WARNING - Jan 20 09:14:55 (node)[838959]: joplin.service: Changing to the requested working directory failed: No such file or directory
2026-01-20 09:44:34,876: WARNING - Jan 20 09:14:55 (node)[838959]: joplin.service: Failed at step CHDIR spawning /opt/node_n/n/versions/node/22.22.0/bin/node: No such file or directory
2026-01-20 09:44:34,876: WARNING - Jan 20 09:14:55 systemd[1]: joplin.service: Main process exited, code=exited, status=200/CHDIR
2026-01-20 09:44:34,876: WARNING - Jan 20 09:14:55 systemd[1]: joplin.service: Failed with result 'exit-code'.
2026-01-20 09:44:34,876: WARNING - Jan 20 09:39:33 systemd[1]: Started joplin.service - Joplin server.
2026-01-20 09:44:34,877: WARNING - Jan 20 09:39:33 (node)[842543]: joplin.service: Changing to the requested working directory failed: No such file or directory
2026-01-20 09:44:34,877: WARNING - Jan 20 09:39:33 (node)[842543]: joplin.service: Failed at step CHDIR spawning /opt/node_n/n/versions/node/22.22.0/bin/node: No such file or directory
2026-01-20 09:44:34,877: WARNING - Jan 20 09:39:33 systemd[1]: joplin.service: Main process exited, code=exited, status=200/CHDIR
2026-01-20 09:44:34,878: WARNING - Jan 20 09:39:33 systemd[1]: joplin.service: Failed with result 'exit-code'.
So it seems that something still requires Node 22.21.0 to be used, but I don’t understand what.
I tried to grep for 22.21.0 from within the extracted archive, without success:
sudo grep "22\.21\.0" * -rl
Any help would be greatly appreciated.