I migrated from 12 to 13 (community edition, docker-compose):
odroid@server:/mnt/share/seafile$ docker logs seafile --tail=50
*** Booting runit daemon...
*** Runit started as PID 15
*** Running /scripts/enterpoint.sh...
2025-10-25 07:37:25 Nginx ready nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
2025-10-25 07:37:25 This is an idle script (infinite loop) to keep container running. nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
[2025-10-25 07:37:27] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[2025-10-25 07:37:27] Running scripts /opt/seafile/seafile-server-13.0.12/upgrade/upgrade_12.0_13.0.sh waiting for mysql server to be ready: mysql is not ready
[10/25/2025 07:37:27][upgrade]: Running script /opt/seafile/seafile-server-13.0.12/upgrade/upgrade_12.0_13.0.sh
------------------------------------------------------------- This script would upgrade your seafile server from 12.0 to 13.0 Press [ENTER] to contiune -------------------------------------------------------------
Updating seafile/seahub database ...
[INFO] You are using MySQL
[INFO] updating ccnet database...
[INFO] updating seahub database...
[INFO] updating seafevents database...
Done migrating avatars ...
Done updating /opt/seafile/seafile-server-latest symbolic link to /opt/seafile/seafile-server-13.0.12 ...
----------------------------------------------------------------- Upgraded your seafile server successfully. -----------------------------------------------------------------
Starting seafile server, please wait ...
Seafile server started Done.
Starting seahub at port 8000 ...
Seahub is started Done.
But after the upgrade, I get this in my browser:
502 Bad Gateway
nginx/1.18.0 (Ubuntu)
Seahub seems to be running:
root@0a1ceaf795b5:/opt/seafile/seafile-server-latest# ps aux | grep seahub
root 5664 0.0 0.0 9064 1988 pts/0 S+ 08:46 0:00 grep --color=auto seahub
seahub seems to be listening:
root@0a1ceaf795b5:/opt/seafile/seafile-server-latest# netstat -tulnp | grep 8000
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 5920/python3
root@0a1ceaf795b5:/opt/seafile# curl -v http://127.0.0.1:8000
* Trying 127.0.0.1:8000...
* Connected to 127.0.0.1 (127.0.0.1) port 8000
> GET / HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: gunicorn
< Date: Sat, 25 Oct 2025 09:01:48 GMT
< Connection: close
< Content-Type: text/html; charset=utf-8
< Location: /accounts/login/?next=/
< Content-Length: 0
< Vary: Accept-Language, Cookie
< Content-Language: en
<
* Closing connection
- seahub.log does not contain any errors
Does somebody have an idea what went wrong?