What app is this about, and its version: peertube 7.0.2 What YunoHost version are you running: 12.1.35 stable What type of hardware are you using: Raspberry Pi 3, 4+
Describe your issue
basicly, there was a fail upgrade possibly due to network.
Then fail backup restore due to node-js problem.
So I’ve download the backup file *.tar.gz from the webGUI (dunno how to do in command line yet.)
But I got it on my desk. Just trying to get into files and being able to find that line saying it need to install “node-v = latest” or something like that. I don’t know what I’m looking for yet.
May be I could do a grep into all files in the tar ?
How to do that on macOS ?
And should I look for something like that line :
N_PREFIX=/opt/node_n/ /usr/share/yunohost/helpers.v2.1.d/vendor/n/n install VERSION
Any guy who knows some command line would be helpful ! Haha
Btw : tried again from the webgui to restor backup. Same error.
b)[edit] extract and edit settings.yml and change the checksum value at line checksum__etc_systemd_system_peertube.service
tar -xvf peertube-archive-copy.tar apps/peertube/settings/settings.yml
nano apps/peertube/settings/settings.yml
Update the archive
tar --update -f peertube-archive-copy.tar apps/peertube/backup/etc/systemd/system/peertube.service
tar --update -f peertube-archive-copy.tar apps/peertube/settings/settings.yml
Restore the peertube-archive-copy (it should appear in, webadmin > tools> backup …)
I’m doing everything as you say. Just added the tar -xvf peertube-archive-copy.tar apps/peertube/settings/settings.yml to get the file to do the change
But the settings.yml is like the service file : 22.19.0, should I right the line here too with 22.21.1 ?
Also, it looks like the *.tar is somewhat linked to the *.tar.gz peertube-archive-copy.tar -> /home/yunohost.backup/archives/peertube-pre-upgrade2.tar.gz
So with that, I can’t change the peertube-archive-copy.tar because it says that’s compressed. How can I “unlink” this ?
I could copy the cp -pr peertube-pre-upgrade2.tar.gz peertube-archive-copy.tar.gz and do gunzip but then would it link the same way ?
Also, a big Thank you for helping, I guess/hope this will work
Update :
Okay, I did some research about that, it looks like it’s a symlink that got preserved by cp -pr (the p here preserve attribut). So I think I need to dereferrence, and build a tar.gz from the new tar. with symlink. I’ll try also to cp the info.json to get the same name.
I did that anyway, and try to update right now.