We tried to make it as easy as possible, you can run the following script to automate the process on Docker: major_upgrade.sh
It can be downloaded here from our GIT
// Download the latest docker-compose.yml file curl -L -o docker-compose.yml "https://gitlab.com/slurpit.io/images/-/raw/main/docker-compose.yml?ref_type=heads" // Create a backup docker exec slurpit-portal bash /backup/backup.sh docker exec slurpit-warehouse bash /backup/backup.sh // Download latest images docker compose pull // Turn off the application docker compose down // Start the application docker compose up -d
1. Update your compose file
We added 2 new containers for the Databases, to have this pulled toward your system you need to update your compose file. You can download the latest version from our git:
https://gitlab.com/slurpit.io/images/-/blob/main/docker-compose.yml?ref_type=heads
2. Create a Backup
This step is important ! Create a backup before we start upgrading.
Slurp’it will use this Backup to load the data in the new Database containers.
docker exec slurpit-portal bash /backup/backup.sh
docker exec slurpit-warehouse bash /backup/backup.sh
3. Download the latest images
docker compose pull
4. Restart the application
sh down.sh && sh up.sh
Now have patience, depending on the size of your Warehouse Database this can take up to 30 minutes. It’s important you don’t cancel this process before it’s finished.
If you open a seperated ssh session you can monitor the status by running:
docker compose logs
