• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog UPDATE AILED PHP Failed To install Properly

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    9
    543
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Trev-lchs
      last edited by Sebastian Roth

         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

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @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.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        T 1 Reply Last reply Reply Quote 0
        • T
          Trev-lchs @Sebastian Roth
          last edited by Sebastian Roth

          @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
          
          T 2 Replies Last reply Reply Quote 0
          • T
            Trev-lchs @Trev-lchs
            last edited by Trev-lchs

            @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.

            1 Reply Last reply Reply Quote 0
            • T
              Trev-lchs @Trev-lchs
              last edited by Trev-lchs

              @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

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @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
                

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                T 1 Reply Last reply Reply Quote 1
                • T
                  Trev-lchs @Sebastian Roth
                  last edited by

                  @sebastian-roth Thanks Sabastian, that’s brilliant running it now.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Trev-lchs @Trev-lchs
                    last edited by

                    @trev-lchs Fog is working again, I can’t thank you enough, life saver literary

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Trev-lchs @Trev-lchs
                      last edited by

                      @trev-lchs now to test refind lol

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      198

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project