Closed agaAdams closed 3 years ago
Common mistake with sockets. To try to backup or copy a socket is usually the best way to fail a command. Sockets aren't regular files.
The backup itself is no different than running manually the command, archivist does quite the same.
Such error is usually because of the backup script of the app that doesn't take care of specific files.
However, I can see that the backup script of the app ask to stop the service before performing the backup (instead of doing it...) to bypass the error. What could have happen in your situation, if you did stop the service then run the backup manually is that archivist did the same way faster than you did, not letting enough time for the service to stop.
If so, you can add a sleep after the stop. Or open an issue in seafile_ynh repo to ask to better handle that part of the script, app scripts for YunoHost have a function to stop a service and be sure it's stopped before going further. That's the better way to handle such issue.
I'll try a sleep command in the pre-script and will open an issue in seafile_ynh.
Thanks for your help!
Adding 10sec of sleep did not help. I opened an issue in seafile_ynh.
Hello everyone, when I try to backup my apps, archivist has this error when creating a temporary backup for the app seafile.
In my Backup_list.conf I added a pre-backup action to stop both seafile services: seafile and seahub.
Backing up the seafile app via command line
BACKUP_CORE_ONLY=1 yunohost backup create --app seafile
works flawlessly.Any ideas or suggestions what is going wrong?