Closed Ddataa closed 8 months ago
after investigating
I found out that the link file 'seafile-server-latest' was not correct and linking to the old install that has been deleted by the upgrade...
By recreating the link with correct rights I have access to the login page but the page cannot be fully loaded and login cannot be done.
ok after applying correct rights like so
setfacl -m user:www-data:rX /opt/yunohost/seafile/seafile-server-9.0.9
setfacl -m user:www-data:rX /opt/yunohost/seafile/seafile-server-9.0.9/seahub
setfacl -R -m user:www-data:rX /opt/yunohost/seafile/seafile-server-9.0.9/seahub/media```
it got back to work
can we please PR to solve that issue in upgrade script ?
Hello,
Well I already do this here https://github.com/YunoHost-Apps/seafile_ynh/blob/master/scripts/_common.sh#L71-L76
Can you explain exactly which link was missing ?
Same issue here! Application was not working after update. Furthermore the restore of a backup was also broken log
Hello,
Well I already do this here https://github.com/YunoHost-Apps/seafile_ynh/blob/master/scripts/_common.sh#L71-L76
Can you explain exactly which link was missing ?
After upgrade, in the folder '/opt/yunohost/seafile' a link file exist with the name 'seafile-server-latest' but linking to the folder 'seafile-server-8.0.3' or whatever previous version it was but the folder didn't exist anymore...
So the solution was to recreate a correct link file that link to the correct latest server version AND applying the correct rights as state above.
Describe the bug
After applying update the application is no more accessible
'Internal server error'
Context
Steps to reproduce
update to 9.0.9~ynh1 from a working previous version
Expected behavior
clean update
Logs
https://paste.yunohost.org/raw/lenorajera