How to Update 4.0.8 Xibo to 4.1.0?

To be completed by the original poster:

CMS Version

Version 4.0.8

Installation Method

Custom install

Operating System

Ubuntu 22.04.4 LTS

Issue

Update Xibo to 4.1.0

Can only be used terminal?
Is there another way to update?

This is a part of our script for updating a docker installation:
Maybe this helps

cd /opt/xibo || exit 1

echo " === Stoping XIBO ==="
sudo docker compose down || exit 1

echo " === Backup the old container ==="
sudo rm -r $xiboOldVersion-backup 2>/dev/null
sudo cp -ar $xiboOldVersion-backup || exit 1

echo " === Download the new version ==="
sudo wget -O xibo-docker-$xiboNewVersion.tar.gz “$xiboUrl” || exit 1

echo " === Install the new version ==="
sudo tar --strip 1 -zxvf xibo-docker-$xiboNewVersion.tar.gz || exit 1
sudo cp -f cms_custom-ports.yml.template cms_custom-ports.yml || exit 1
sudo sed -i -e ‘s|“[0-9]:9505"|“$xmrPort:9505”|g’ cms_custom-ports.yml || exit 1
sudo sed -i -e 's|"[0-9]
:80”|“127.0.0.1:$reverseProxyPort:80”|g’ cms_custom-ports.yml || exit 1

echo " === Starting XIBO ==="
sudo docker compose -f cms_custom-ports.yml up -d || exit 1

echo " === All went well :-)! Maybe you have to wait 5-10 minutes till the new container is fully working. ==="
exit 0

I have successfully upgraded by running the command ‘php vendor/bin/phinx migrate -c phinx.php’.