I upgraded from V11 to V12 and then to V13. Since other services are still running on the server, I use a docker nginx proxy. I followed the instructions for using my own proxy, but I must have overlooked something.
Uploading data fails with status code 500 The Nginx log shows:
mydomain.de 172.21.0.1 - - [Jan/26/2026:00:33:57 +0000] “PUT /seafhttp/repo/a20d8f24-e1b8-4e38-8676-73993c519b33/commit/eb256e72b58f6cb76b5492753d8195f1d7acee37 HTTP/2.0” 500 1 “-” “Seafile/9.0.16 (Apple OS X)” “172.21.0.11:80”
In the .env file, I set:
SEAFILE_SERVER_HOSTNAME=mydomain.de
SEAFILE_SERVER_PROTOCOL=https
Running the upgrade_Script shows some database warnings:
root@a873a4acb01d:/opt/seafile/seafile-server-latest/upgrade# ./upgrade_12.0_13.0.sh
This script would upgrade your seafile server from 12.0 to 13.0
Press [ENTER] to contiuneUpdating seafile/seahub database …
[INFO] You are using MySQL
[INFO] updating ccnet database…
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘is_department_owner’”)
[WARNING] Failed to execute sql: (1061, “Duplicate key name ‘EmailUser_is_active’”)
[WARNING] Failed to execute sql: (1061, “Duplicate key name ‘EmailUser_is_department_owenr’”
[INFO] updating seahub database…
[WARNING] Failed to execute sql: (1709, ‘Index column size too large. The maximum column size is 767 bytes’)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘is_active’”)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘tags_enabled’”)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘tags_lang’”)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘details_settings’”)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘ocr_enabled’”)
[WARNING] Failed to execute sql: (1060, “Duplicate column name ‘global_hidden_columns’”)
[WARNING] Failed to execute sql: (1061, “Duplicate key name ‘key_last_face_cluster_time_face_recognition_enabled’”)
[INFO] updating seafevents database…Done
migrating avatars …
Done
updating /opt/seafile/seafile-server-latest symbolic link to /opt/seafile/seafile-server-13.0.15 …
I removed the obsolete config values according to these instructions: Summary of obsolete configurations - Seafile Admin Manual
I would be very grateful for every hint!