SnipeIT, Part Three
Document Update Process
Well I've had SnipeIT and SNIPE-01 turned off for some time, I just haven't had the man hours to start using the software. I turn it back on today to take a look. I'm assuming there's been an update in the past four months so I'll start with documenting the update process. The current version is v6.0.14
and I am running v6.0.10 - build 8673
.
Steps performed on SNIPE-01
sudo apt update
117 packages can be upgraded.
sudo apt upgrade -y
sudo reboot
sudo apt update
6 packages can be upgraded
sudo apt upgrade -y
sudo reboot
sudo apt update
All packages are up to date.
cd /home/david/snipe-it
php upgrade.php
The script runs successfully, but my install is still showing as v6.0.10
instead of v6.0.14
. Interesting. So it looks like part of the script did actually fail. It looks like I need to add an exception for the git directory.
git config --global --add safe.directory /home/david/snipe-it
php upgrade.php
It runs again but doesn't fail on the git command anymore, but it is now throwing permission errors. It looks like because the /home/david/snipe-it
directory is owned by www-data
and the group www-data
. Easy to fix then.
sudo -u www-data php upgrade.php
That did it! SnipeIT is now showing as running v6.0.14 - build 9236
. Alright, I add this information to my maintenance checklist.