Greetings,
I need to migrate a CMS server from a AWS instance to a local virtual machine and proceed to upgrade the xibo version.
INFO
ubuntu 18.04.5 LTS
xibo version 2.3.16
mysql version 5.6
docker installation
What should I do to move the installation to another machine and keep the database and media files?
Doing a clean install and replace the “shared” folder should be enough?
alex
July 16, 2024, 12:48pm
2
Stop the containers on the source server.
Creates a tar archive of the install folder as the root user. You need at least config.env, shared and your docker-compose files.
Copy the archive to the new server and extract it.
Up the containers on the new server.
Update DNS to point players to the new server’s IP.
Upgrade the new server to the next major version. (so in your case 3.3.x) and then again to 4.0.x.
Be sure to read the release notes to properly handle upgrading from MySQL 5.6 to 8.0.
Keep your tar archive as its a full backup
1 Like
Thanks for the response.
I did the procedure and started the containers with no errors but I can’t access the web interface.
I noticed that the source server has an apache server running and the target server doesn’t.
Could it be the cause?
alex
July 16, 2024, 7:07pm
4
You may be using a reverse proxy for TLS termination. If so yes you’ll need to configure that on the new server as well
1 Like
Correct, it have a reverse proxy configured on the source.
I’ve tried to replicate the configurations but with no success.
Can I run the xibo containers without the proxy configuration to test if the backup is working?
alex
July 17, 2024, 6:38pm
6
Yes. Xibo will be running on the port configured in the docker-compose file. Likely cms-custom_ports.yml if you followed the guide.
1 Like
I’ve tried everything and nothing worked until I found out that “Force HTTPS” option was checked on the server.
Since I couldn’t stop the server to do a new backup I just set the value for this option to 0 directly in the database throung mysql and it worked.
Now I just have one thing I couldn’t understand. Why do I need to open the 9505 port? I was able to connect, authorize and change layouts to new displays without that exposing that port.
1 Like
9505 is used for xmr. If you want features like collect now to work, you need the xmr port open. Look at the link below for more details.
This article first appeared on our blog in July 2021, and has been moved to community and updated in August 2022.
What is XMR?
XMR was introduced in Xibo 1.8. Put simply XMR is a push messaging component and before XMR became part of Xibo, we relied entirely on the Player periodically connecting to ask for updates, or in other words pull messaging.
Looking back on the history of Xibo, pull messaging served us well, and we still make use of it today with our routine collection interval, so wh…
2 Likes
Thank you for the response!