I modified the configuration of my seafile docker image (removed a port) and re-created the image. The problem is that the server won’t start now. This is the error:
*** Running /etc/my_init.d/01_create_data_links.sh... *** Booting runit daemon... *** Runit started as PID 24 *** Running /scripts/start.py... [09/03/2021 22:23:01][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks [09/03/2021 22:23:01][upgrade]: Running script /opt/seafile/seafile-server-8.0.3/upgrade/minor-upgrade.sh [2021-09-03 22:23:01] Skip running setup-seafile-mysql.py because there is existing seafile-data folder. Traceback (most recent call last): File "/scripts/start.py", line 86, in <module> main() File "/scripts/start.py", line 58, in main check_upgrade() File "/scripts/upgrade.py", line 169, in check_upgrade fix_media_symlinks(current_version) File "/scripts/upgrade.py", line 80, in fix_media_symlinks run_minor_upgrade(current_version) File "/scripts/upgrade.py", line 84, in run_minor_upgrade run_script_and_update_version_stamp(minor_upgrade_script, current_version) File "/scripts/upgrade.py", line 60, in run_script_and_update_version_stamp replace_file_pattern(script, 'read dummy', '') File "/scripts/utils.py", line 295, in replace_file_pattern with open(fn, 'r') as fp: FileNotFoundError: [Errno 2] No such file or directory: '/opt/seafile/seafile-server-8.0.3/upgrade/minor-upgrade.sh' *** /scripts/start.py exited with status 1. *** Shutting down runit daemon (PID 24)... *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown... *** Killing all processes...
I’m not sure what to do now. If I recreate the image how do I get the data back?