Issues after upgrading to 16.04
-
@Quazz I have all the PHP5 stuff remarked out and it skips the installs as it should and install php7. Now I am crashing at Stopping web Service…Failed!!
Still looking for that fix.
-
I love this stuff!!!:-) Frustrating and interesting at the same time!!
-
@EAHarvey Most likely some odd one out php thingy got missed when we tried to manually remove them earlier.
Check the error logs of the FOG installer (near the bottom) to find out which one.
-
@Quazz Failed to stop php7.0-fpm.service: Unit php7.0-fpm.service not loaded.
Looking for fix now.
-
@Quazz commenting the packages line would also be needed
-
@Quazz Yes
-
Ok, deleted the values for php_ver (5) and php_verAdds(-5.6) in fodsettings and saved.
Ran php_ver=‘7.0’ php_verAdds=‘-7.0’ ./installfog.sh -y
installation stopped at this:
I hope it helps.
-
@Tom As Tom Eliott has stated, you also need to comment out the packages = " line in your /opt/fog/.fogsettings file (simply put a # in front of packages)
Because the installer ran previously, it compiled a list of packages to install based on the setting of the time and saved in the .fogsettings file for speed reasons.
-
@Quazz Thanks, I put # in front of php_ver and php_verAdds.
Ran “php_ver=‘7.0’ php_verAdds=’-7.0’ ./installfog.sh -y” and the installation stopped at the same spot.Should I have commented something else?
-
@Tom Yes, you have to comment the packages=“list of packages here” line
After that you have to remove the old php stuff from your system again.
sudo apt purge php* sudo apt purge apache* rm -rf '/etc/apache*' '/etc/php*'
-
@Quazz Thank you, it seems that php7 was installed successfully and the values in fogsettings has been changed.
Tried to access the console, and I got:
So, I uncommented the lines and ran the installer again.
Yet, I get the same screen. -
sudo apt purge php*
sudo apt purge apache*
sudo apt-get autoremove
rm -rf ‘/etc/apache*’ ‘/etc/php*’Along with the #out of the Packages line in the fogsettings file, worked for me. I am up and running and testing an image push right now. YAY!
-
@Tom
This happened to me, and when i was looking at /var/www/fog/lib/fog/config.class.php my db password was empty…
setting my db password, then webui automatically had changed to correct page… -
Ok, so now apache 2 is failing. This my plan, please confirm steps:
- Revert back to 14.04
- Upgrade to 16.04
- Comment php and packges entries in fogsettings
- Purge php* and apache* (3 commands)
- Run apt-get Autoremove
- Run Fog installer
- Undo step 3
Thanks,
Tom
-
-
So I followed the steps 1-6, when running the installer, apache is failed to install.
-
When trying to install apache2 , I get broken package.
Frustrating!! -
@Tom Did you try the commands I talked about earlier.
sudo apt purge php*
sudo apt purge apache*
sudo rm -rf ‘/etc/apache*’ ‘/etc/php*’
sudo apt-get autoremoveAlong with the #COMMENT out the entire PACKAGES LINE in fogsettings. So in front of the entire line. (#PACKAGES)
I know you have probably done this too but make sure all is updated.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgradeI would also make sure you have all the updates release info.
sudo do-release-upgrade.
Once this has all been done then reboot (sudo shutdown -r now) and rerun the ./installfog.sh and see what happens.
-
@EAHarvey I’ve done it all, once apache2 got broken, I could not fix it.
Thanks! -