Upgrade Debian 9 to Debian 10 FOG 1.5.7 and FOG 1.5.8
I was struggling with Debian OS upgrade on FOG server. After distro upgrade FOG have a problems with displaying some stuff on website, like Storage stats, network stats and after adding new task to Host there was HTTP 500 error.
I was running:
- Debian 9
- FOG 1.5.7
After upgrade i want to run:
- Debian 10
- FOG 1.5.8
Here is a list what should be done to upgrade to Debian 10 and FOG 1.5.8:
- Update FOG to 1.5.8 by running ./installfog.sh script
- Upgrade Debian 9 to Debian 10
- Modify FOG configuration file:
and replace lines
variable please change
./installfog.shonce again to install proper packages and proceed with below steps if result of installation will be
Starting and checking status of web services................Failed!
4a- Kill php process:
ps aux |grep php root 417 0.0 0.9 216032 14608 ? Ss 13:57 0:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
by running “kill -9 process_number”, like
kill -9 417
service php7.3-fpm restart
5- Enjoy, now everything is working fine!
For anyone running into this. We’ve just pushed some changes to
working-1.6to make updating from Debian 9 to 10 easier. You should not be able to do this following the steps outlined here:
sudo -i apt-get update && apt-get upgrade apt-get dist-upgrade reboot sed -i 's/stretch/buster/g' /etc/apt/sources.list apt-get update && apt-get upgrade apt-get dist-upgrade reboot apt-get --purge autoremove cat /etc/debian_release cd fogproject git checkout dev-branch git pull cd bin ./installfog.sh
@mousepl Thanks for bringing this up. We might be able to consider some of those things within the install script. It’s not easy to cover for all situations but we do our best to make the installer work in most situations.