Seafile: Unable to install/upgrade on 12.0.14 - error in installation script?

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.0.14
What app is this about: Seafile

Describe your issue

I have been running Seafile 11.0.13, and then initialized the app upgrade through the Web UI
It failed to install, and subsequently also to restore the backup.

I can see two warnings/errors in the logs that may be the cause:
WARNING - adduser: Warning: The home dir /nonexistent you specified can’t be accessed: No such file or directory
..
2025-04-22 10:36:16,129: DEBUG - + su -c ‘mysql -u seafile -p********** seafile < /home/yunohost.backup/tmp/seafile-pre-upgrade1/apps/seafile/backup/seafiledb.dmp’
2025-04-22 10:36:16,774: DEBUG - This account is currently not available.

(full logs below)

The attempted upgrade process has now installed my Seafile.
Since the restore of the app failed, I subsequently tried to just re-install Seafile from scratch, but it runs into the exact same error.

Share relevant logs or error messages

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

Update: the logs mentioned that the dependency memcached is missing.

I now installed it manually: sudo apt install memcached , and then tried:

  1. Restore local backup of Seafile 11.0.13 >> Fails. same error logs as above. Full log: https://paste.yunohost.org/raw/qikimuguja
  2. Fresh install of Seafile (latest version) 12.0.11~ynh2 >> This Works now! However all my prior data is gone, and I can’t restore my local backup from Seafile 11.0.13

Hello,

Yes it’s normal that on a new install your all data will not be restored.

Can you share the result of ls /home/yunohost.app/ ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.