What app is this about, and its version: hedgedoc
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+
Describe your issue
Hi everyone,
I am having trouble restoring HedgeDoc on my YunoHost instance. I uninstalled the app and tried to restore it from a backup (hedgedoc-pre-upgrade2), but the restoration fails at the service-start step.
The issue:
The logs show that the hedgedoc.service is failing to start because it cannot find the Node.js executable at this path:
/opt/node_n/n/versions/node/22.22.0/bin/corepack
On my system, ls /opt/node_n/n/versions/node/ shows that I have versions 20, 20.20.2, 22, and 22.21.1 installed, but 22.22.0 is missing. It seems the restore script expects a specific version that isn’t being provisioned correctly.
Full Log: https://paste.yunohost.org/raw/edexekolok
Any advice on how to force the restoration to use an available Node version or how to manually provision the missing one would be greatly appreciated!