haiwen / seafile-docker

A Docker image for Seafile server
Other
536 stars 180 forks source link

11.0.9 is broken - permission issue for non-root #390

Closed TheQuantumPhysicist closed 1 month ago

TheQuantumPhysicist commented 1 month ago

So watchtower upgraded my Seafile version to 11.0.9 (which was released a few hours ago), and the server broke and started emitting these messages:

seafile            | 2024-05-30T11:41:11.786253975Z *** /scripts/enterpoint.sh exited with status 1.
seafile            | 2024-05-30T11:41:12.211826021Z *** Shutting down runit daemon (PID 26)...
seafile            | 2024-05-30T11:41:12.217090143Z *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
seafile            | 2024-05-30T11:41:12.231752986Z *** Killing all processes...
seafile            | 2024-05-30T11:42:14.186365126Z *** Running /etc/my_init.d/01_create_data_links.sh...
seafile            | 2024-05-30T11:42:14.243168556Z *** Booting runit daemon...
seafile            | 2024-05-30T11:42:14.245091200Z *** Runit started as PID 25
seafile            | 2024-05-30T11:42:14.245199532Z *** Running /scripts/enterpoint.sh...
seafile            | 2024-05-30T11:42:14.266020412Z 2024-05-30 11:42:14 Nginx ready 
seafile            | 2024-05-30T11:42:14.286129763Z 2024-05-30 11:42:14 The owner of path seafile/ is not seafile. 
seafile            | 2024-05-30T11:42:14.289349984Z 2024-05-30 11:42:14 To use non root, run [ chown -R seafile:seafile /opt/seafile-data/seafile/ ] and try again later, now quit. 
seafile            | 2024-05-30T11:42:14.290607673Z *** /scripts/enterpoint.sh exited with status 1.
seafile            | 2024-05-30T11:42:14.714132950Z *** Shutting down runit daemon (PID 25)...
seafile            | 2024-05-30T11:42:14.718506286Z *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
seafile            | 2024-05-30T11:42:14.733408959Z *** Killing all processes...
seafile            | 2024-05-30T11:43:16.704288965Z *** Running /etc/my_init.d/01_create_data_links.sh...
seafile            | 2024-05-30T11:43:16.750699352Z *** Booting runit daemon...
seafile            | 2024-05-30T11:43:16.751542675Z *** Runit started as PID 26
seafile            | 2024-05-30T11:43:16.751615397Z *** Running /scripts/enterpoint.sh...
seafile            | 2024-05-30T11:43:16.773820185Z 2024-05-30 11:43:16 Nginx ready 
seafile            | 2024-05-30T11:43:16.785983613Z 2024-05-30 11:43:16 The owner of path seafile/ is not seafile. 
seafile            | 2024-05-30T11:43:16.792985640Z 2024-05-30 11:43:16 To use non root, run [ chown -R seafile:seafile /opt/seafile-data/seafile/ ] and try again later, now quit. 

It seems that there's a problem with non-root installations. I reverted back to 11.0.8 and it works fine.

xxbillouxx commented 1 month ago

Hi guys! I have the same issue 😞 @wacmkxiaoyi @SkywalkerSpace

SkywalkerSpace commented 1 month ago

Thans for your feedback, we have updated the seafileltd/seafile-mc:11.0.9 and fixed this issue.

docker pull seafileltd/seafile-mc:11.0.9
docker compose down
docker compose up -d
TheQuantumPhysicist commented 1 month ago

I pulled latest and it works. Thank you.