Open ebouaziz opened 10 months ago
I assume the application's configuration was in /var/www/uptime-kuma
😅
Restoring my backup failed too.
Here are the logs: https://paste.yunohost.org/raw/ivomexoraw
I took the 1.23.11 upgrade as an opportunity to run a test out of curiosity:
yunohost backup create --apps uptime-kuma
uptime-kuma-pre-upgrade2
backup with the content of the manual backupthe uptime-kuma-pre-upgrade2
backup does not contain var/www/uptime-kuma
while the one created manually does contain it. The sizes are 220KB vs 218MB too.
I have no idea on how to fix that as I don't know how ynh app packaging works but I thought it could be a clue.
2. try to restore with
sudo yunohost log share 20231210-234050-backup_restore_app-uptime-kuma
This is a copy-pasta error, I used the yunohost backup restore command.
Hello!
I suspect it's due to the new yunohost packaging of the app...
I would try to fix it manually by extracting the interesting files (old backup script would backup node_modules
).
Sorry I lack time for extensive testing...
I can confirm the behavior @ebouaziz described. My manual backup has 964 MB while my pre-upgrade backup has only 2 MB. In the pre-upgrade backup there was this message in the logs:
/var/www/uptime-kuma will not be saved, because 'BACKUP_CORE_ONLY' is set.
This line wasn't present in the manual backup logs.
OK so it was the --is_big
flag in the backup script that made it not backed up when doing an upgrade. Fixed by https://github.com/YunoHost-Apps/uptime-kuma_ynh/pull/103/commits/3d5512361f8b08c86c368537d62a6c34f4b6be02
supposedly.
Describe the bug
Cannot restore backup from 1.2.38
Context
Steps to reproduce
sudo yunohost log share 20231210-234050-backup_restore_app-uptime-kuma
Logs
https://paste.yunohost.org/raw/uxatunabot
additional notes
I opened the backup out of curiosity and noticed:
backpup/var
,www
is not presentbackup.csv
,/var/www/uptime-kuma
is not presentcontent of
backup.csv