In this article we will look into the steps to upgrade from Skedler version 5.x to the latest version in Docker container environments.

Remove Skedler old package

Remove the old skedler-xg package by using the following commands: 

sudo docker stop skedler-xg
sudo docker rm skedler-xg
sudo docker rmi skedler/reports

Install Skedler Latest Version

Pull the latest version of Skedler v5 from the docker repository and run the image.

sudo docker pull skedler/reports
sudo docker run --name skedler-xg -t -d -v skedlerdata:/var/lib/skedler-xg -p 0.0.0.0:3005:3005 skedler/reports /bin/bash

Start Skedler manually

Start Skedler manually using the following commands.

sudo docker exec skedler-xg /usr/share/skedler-xg/bin/skedler

Start Skedler as a service

To start Skedler, the command is:

sudo docker exec skedler-xg service skedler start

To check status, the command is:

sudo docker exec skedler-xg service skedler status

To stop Skedler. the command is:

sudo docker exec skedler-xg service skedler stop