YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 34 forks source link

restoring backup fails #283

Closed morta5 closed 2 years ago

morta5 commented 3 years ago

Describe the bug

I ran a command to restore mastodon from an upgrade-backup because upgrading failed(there was an apt error I already fixed) but restoring fails

Context

Steps to reproduce

sudo yunohost backup restore 20210624-125956 --apps mastodon 

Logs

https://paste.yunohost.org/raw/enalayituq

yalh76 commented 3 years ago

There is an issue with one of your source file: it includes https://ookla.bintray.com/debian that is not reacheable. You should look at the files in /etc/apt/sources.list.d/ and remove the corresponding line before doing the restore

morta5 commented 3 years ago

Thanks! Will try it.

morta5 commented 3 years ago

Unfortunately I still can't restore the backup. Here are the logs: https://paste.yunohost.org/raw/esiculatiz

weex commented 2 years ago

Unfortunately I still can't restore the backup. Here are the logs: https://paste.yunohost.org/raw/esiculatiz

Pertinent log error:

2021-08-03 07:51:10,767: DEBUG - + echo 'Couldn'\''t parse SOURCE_URL from /home/yunohost.backup/tmp/20210624-125956/apps/mastodon/settings/conf/rbenv.src ?'

If you have the backup file , perhaps opening that up and looking at rbenv.src will shed some light on the problem. Logs of when you did the backup might be helpful as well.

morta5 commented 2 years ago

I will close this for now as I don't need to restore this backup anymore and unpacking the backup would take too long as for some reason it did also backup media files. But thanks for your help :)