I’ve got a Xibo CMS version 1.7.3 running on Windows, and I’ve set up a Docker-based 1.8.0 Xibo CMS on an Ubuntu VM.
How should I get my database upgraded and moved to the new host? Should I do an intermediate update of the Windows installation from 1.7.3 to something else?
Upgrading from 1.7 to 1.8 with Docker is covered in the manual, so that should be your first port of call.
Ideally, we recommend upgrading to 1.7.9 first, then to 1.8.0 - but in theory 1.7.3 to 1.8.0 directly is possible. Personally, I would upgrade to 1.7.9 first.
If you’ve never run Xibo in the containers before, then you’d simply create config.env, edit it to add a MySQL password, and then run docker-compose up -d
If you have run them before, and you no longer need the contents of that CMS, then run:
docker-compose down sudo rm -r /usr/lib/docker/xibo-docker/shared/db docker-compose up -d
That will delete the existing database instance, and then create a fresh one, importing your import.sql and then running the upgrade on it.