Problems with upgrade¶
StaffCop Server is upgraded by the command
sudo apt-get update && sudo apt-get upgrade
In most cases, the upgrade process is performed smoothly. Sometimes, with wrong OS settings, problems can arise.
First, check if the server has access to the Internet and there is enough free space on the disk. If there is not, clean up the disk. If the /boot partition is placed on a separate hard disk check that there is enough space there. It can be checked with the command:
df -h
If all of the above is done, but StaffCop doesn’t upgrade to the latest version (if there is a new one), try the following command
wget http://dist.staffcop.ru/staffcop_server_STABLE.deb && sudo dpkg -i staffcop_server_STABLE.deb
This command must be run by a user with corresponding permissions