Fog UPDATE AILED PHP Failed To install Properly
-
The current *fogstorage* database password does not meet high security standards. We will generate a new password and update all the settings on this FOG server for you. Please take note of the following credentials that you need to manually update on all your storage nodes' /opt/fog/.fogsettings configuration files and re-run (!) the FOG installer: Press [Enter] to proceed after you noted down the credentials. OK * Backing up user reports.....................................Done * Stopping web service........................................OK * Setting up Apache and PHP files.............................Failed ########################################### # # # PHP Failed to install properly # # # ########################################### Could not find /etc/php/7.1/fpm/php.ini!
Please help if you can
-
@Trev-lchs Ok, let’s discuss this topic here. As posted in the other topic you seem to have Ubuntu 16.04. This is out of support since some time.
Please run
dpkg -l | grep php
and post the full output here. -
root@fog-03:~# dpkg -l | grep php ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default) ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
-
@trev-lchs Sabastian, to be honest once I get fog working I just leave everything alone until I have to change something, not being that good with linux its a bit daunting. Feeling rather hot sweaty and sick now, as I have a lot of PCs to image next week. When fog is working its bloody fantastic but each time I have to upgrade it I seem to get into trouble. Thank you for your time helping.
-
@trev-lchs said in Fog UPDATE AILED PHP Failed To install Properly:
@sebastian-roth
root@fog-03:~# dpkg -l | grep php
ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
root@fog-03:~# root@fog-03:~# dpkg -l | grep php
ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
root@fog-03:~#
root@fog-03:~#: command not found
root@fog-03:~# ii php-cli 1:7.0+35ubuntu6.1 all command-line interpreter for the PHP scripting language (default)
-bash: syntax error near unexpected token `(’
root@fog-03:~# ii php-common 2:76+ubuntu16.04.1+deb.sury.org+9 all Common files for PHP packages
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-pear 1:1.10.1+submodules+notgz-6ubuntu0.3 all PEAR Base System
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php-xml 1:7.0+35ubuntu6.1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-cli 7.0.33-0ubuntu0.16.04.16 amd64 command-line interpreter for the PHP scripting language
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-common 7.0.33-0ubuntu0.16.04.16 amd64 documentation, examples and common module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-json 7.0.33-0ubuntu0.16.04.16 amd64 JSON module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-opcache 7.0.33-0ubuntu0.16.04.16 amd64 Zend OpCache module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-readline 7.0.33-0ubuntu0.16.04.16 amd64 readline module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# ii php7.0-xml 7.0.33-0ubuntu0.16.04.16 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
The program ‘ii’ is currently not installed. You can install it by typing:
apt install ii
root@fog-03:~# root@fog-03:~#
root@fog-03:~#: command not found
root@fog-03:~#I wonder if it would be possible to run the old installer to the old version? If so how is this done?
these are the instructions I followed to upgrade
sudo -i
git clone https://github.com/FOGProject/fogproject.git /root/fogproject
cd /root/fogproject/
git checkout dev-branch
git pull
cd bin
./installfog.sh -
@Trev-lchs Ok, I just pushed a change to
dev-branch
that should take care of this for you. Please run:sudo -i cd /root/fogproject/ git checkout dev-branch git pull cd bin ./installfog.sh
-
@sebastian-roth Thanks Sabastian, that’s brilliant running it now.
-
@trev-lchs Fog is working again, I can’t thank you enough, life saver literary
-
@trev-lchs now to test refind lol