I want to know if I upgrade xibo with docker to a new version in the following way
Stop the running container
cd /opt/xibo
docker-compose stop
Backup the existing container data
cd /opt
cp -rp xibo xibo-1.8.0-backup
Download the new docker-compose files
cd /opt/xibo
wget https://github.com/xibosignage/xibo-cms/releases/download/1.8.1/xibo-docker.tar.gz
tar --strip 1 -zxvf xibo-docker.tar.gz
docker-compose up -d
Is my media files still exist??
Peter
January 3, 2018, 1:23pm
2
Upgrading instructions for docker are here https://xibo.org.uk/manual/en/upgrade_docker.html
I assume you have that on Linux and were following Alex’s guide that’s fine too, but please do keep in mind that current release is 1.8.3 and that’s what you need, other than that Alex’s instructions are correct.
yep,so my files will be saved in the shared directory?
Peter
January 3, 2018, 2:06pm
4
Yes, that’s the idea to preserve any user made content after upgrade.
As stated in the instructions, it’s always a good idea to take a full backup (including shared folder), just in case.