Seafile docker upgrade 7.0.5 - 7.1.3

When i upgrade and add tag 7.1.3 i get this errors:

*** Running /etc/my_init.d/…,
*** Booting runit daemon…,
*** Runit started as PID 25,
*** Running /scripts/…,
[04/24/2020 16:47:34][upgrade]: The container was recreated, running to fix the media symlinks,
[04/24/2020 16:47:34][upgrade]: Running script /opt/seafile/seafile-server-7.0.5/upgrade/,
[2020-04-24 16:47:34] Skip running because there is existing seafile-data folder.,
Traceback (most recent call last):,
File “/scripts/”, line 86, in ,
File “/scripts/”, line 58, in main,
File “/scripts/”, line 129, in check_upgrade,
File “/scripts/”, line 80, in fix_media_symlinks,
File “/scripts/”, line 84, in run_minor_upgrade,
run_script_and_update_version_stamp(minor_upgrade_script, current_version),
File “/scripts/”, line 60, in run_script_and_update_version_stamp,
replace_file_pattern(script, ‘read dummy’, ‘’),
File “/scripts/utils/”, line 295, in replace_file_pattern,
with open(fn, ‘r’) as fp:,
FileNotFoundError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-7.0.5/upgrade/’,
*** /scripts/ exited with status 1.,
*** Shutting down runit daemon (PID 25)…,
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…,
*** Killing all processes…,

Do a docker-compose down,

then docker-compose up -d

That will upgrade the server to the newest version.

Good Luck!

1 Like

Yes i make mistkae just replace image but not neviroment variables. After down and up via compose its workign thanks

You are welcome!