After redeploy portainer seafile server not reachable

Hi, maybe you can help me here.
I thought it gets time to redeploy the containers in portainer and doing that with recreate using repull image what usually take latest image.
Now all containers are on “green” but I cannot reach seafile.

When using as usual locally local_IP:8099 I am getting “502 bad gateway” and also on android app I cannot reach it anymore.

What could cause that trouble?
In seafile log I see some errors with 12.0.11 and when checking the latest available version it says 12.0.14 and I thought this will be taken when redeploying latest???

*** Running /etc/my_init.d/01_create_data_links.sh...

*** Booting runit daemon...

*** Runit started as PID 21

*** Running /scripts/enterpoint.sh...

2025-07-06 15:46:38 Nginx ready 

2025-07-06 15:46:38 This is an idle script (infinite loop) to keep container running. 

[2025-07-06 15:46:38] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.

[07/06/2025 15:46:38][upgrade]: The container was recreated, start fix the media symlinks

mv: cannot stat '/opt/seafile/seafile-server-12.0.11/seahub/media/avatars/*': No such file or directory

ln: failed to create symbolic link '/opt/seafile/seafile-server-12.0.11/seahub/media/avatars': No such file or directory

Traceback (most recent call last):

  File "/scripts/start.py", line 94, in <module>

    main()

  File "/scripts/start.py", line 61, in main

    check_upgrade()

  File "/scripts/upgrade.py", line 120, in check_upgrade

    fix_media_symlinks()

  File "/scripts/upgrade.py", line 106, in fix_media_symlinks

    call('ln -sf %s %s' % (dst_avatars_dir, avatars_dir))

  File "/scripts/utils.py", line 70, in call

    return subprocess.check_call(*a, **kw)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.12/subprocess.py", line 413, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command 'ln -sf /shared/seafile/seahub-data/avatars /opt/seafile/seafile-server-12.0.11/seahub/media/avatars' returned non-zero exit status 1.

Anyone?

I am still on 12.0.11 and fail updating via portainer.

I just stopped and redeployed but as written above - not working like that.

What is the correct procedure to update to 12.0.14, or latest?

Did the same via portainer and the update to 12.0.14 was successfull.

Can you please explain how you performed the update, I mean what steps did you use? I just stopped the container and redeployed but I couldn’t reach the local_IP:8099

I don’understand what’s wrong

Sorry, I did the same and it works easily.