YunoHost-Apps / seafile_ynh

Seafile package for YunoHost
https://seafile.com
MIT License
14 stars 19 forks source link

Backing up seafile via Archivist or selfmade script fails with socket error #71

Open agaAdams opened 3 years ago

agaAdams commented 3 years ago

Hello everyone,

I am using the Yunohost Archivist App for automatic backups of my system and apps and I tried backing up seafile via a selfmade script that basically stops the seafile and seahub services and executes BACKUP_CORE_ONLY=1 yunohost backup create --app seafile.

Both scripts fail with the following error:

Traceback (most recent call last):  

shutil.Error: [('/opt/yunohost/seafile/ccnet/ccnet.sock', '/home/admin/temp/ynh_backup/temp/apps/seafile/backup/opt/yunohost/seafile/ccnet/ccnet.sock', "[Errno 6] No such device or address: '/opt/yunohost/seafile/ccnet/ccnet.sock'")]                     
>>> The temporary backup failed..

Backing up seafile from the command line via BACKUP_CORE_ONLY=1 yunohost backup create --app seafile works.

What may be causing this error and how could I prevent this?

Many thanks