What app is this about, and its version: Ghost v6.22.1~ynh1
What YunoHost version are you running: 13.0.4
What type of hardware are you using: VPS bought online
Describe your issue
Ghost backup restoration fails.
What app is this about, and its version: Ghost v6.22.1~ynh1
What YunoHost version are you running: 13.0.4
What type of hardware are you using: VPS bought online
Ghost backup restoration fails.
Also failing for another Ghost installation https://paste.yunohost.org/raw/sapedutaze ![]()
You can try restoring your backup archive with --no-remove-on-failure option.
Once done, check if /opt/node_n/n/versions/node/22.22.2 exists on your system.
If so, then edit /etc/systemd/system/ghost__2.service and change 22.22.1 to 22.22.2.
Run systemctl daemon-reload and restart ghost__2.service.
Thanks for the tip! I am now attempting to restore the backup with the argument you suggested. In the meanwhile, I am curious about this:
Could you explain why it would be necessary to change the node version manually, not even by installing a new one?
Unfortunately, I don’t see any Node version in the folder you specified, @otm33 ![]()
ls -al /opt/node_n/n/versions total 12
drwxrwxrwx 3 root root 4096 Apr 1 17:18 .
drwxrwxrwx 3 root root 4096 Apr 1 17:18 ..
drwxrwxrwx 2 root root 4096 Apr 1 17:31 node
ls -al /opt/node_n/n/versions/node/
total 8
drwxrwxrwx 2 root root 4096 Apr 1 17:31 .
drwxrwxrwx 3 root root 4096 Apr 1 17:18 ..
That’s odd… which version is ghost.service using (assuming you have two ghost instances)?
This issue with node.js comes up from time to time. My guess is that it occurs when a new minor version is released between installation and restoration : the manifest only specifies the major version (22) and installation script installs the latest minor version of the major version, e.g. 22.22.0 and the service file is backed up with this version.
If the restoration script is run after a new release of a minor version of nodejs, it may install, e.g. version 22.22.2. Then, if version 22.22.0 has been removed, the service will fail to start.
Aaah I see. I first have to re-activate the domain (I removed it after the installation failed).
This is super insightful, thank you!
That’s only a guess…