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

    PHP 7.1 Failed On Trunk Upgrade To RC-25

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    9
    2.5k
    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.
    • L
      lawrence1997
      last edited by

      Hi

      Trying to upgrade FOG trunk from RC-14 to RC-25. During installation PHP 7.1 fails to install.

      Wondered if anyone can help me with this

      Kind Regards

      Lawrence Lonsdale

      1 Reply Last reply Reply Quote 0
      • L
        lawrence1997
        last edited by

        Hi All

        As you can see below PHP 7.1 fails to install can anyone help me fix this so i can update to Trunk RC-25

        Thanks in advance

        Lawrence Lonsdale

         * Installing package: apache2.................................OK
         * Skipping package: bc........................................(Already Installed)
         * Skipping package: build-essential...........................(Already Installed)
         * Skipping package: cpp.......................................(Already Installed)
         * Skipping package: curl......................................(Already Installed)
         * Skipping package: g++.......................................(Already Installed)
         * Installing package: gawk....................................OK
         * Skipping package: gcc.......................................(Already Installed)
         * Skipping package: gzip......................................(Already Installed)
         * Skipping package: htmldoc...................................(Already Installed)
         * Skipping package: lftp......................................(Already Installed)
         * Installing package: libapache2-mod-php7.1...................OK
         * Skipping package: libc6.....................................(Already Installed)
         * Skipping package: libcurl3..................................(Already Installed)
         * Skipping package: m4........................................(Already Installed)
         * Skipping package: mysql-client..............................(Already Installed)
         * Skipping package: mysql-server..............................(Already Installed)
         * Skipping package: net-tools.................................(Already Installed)
         * Skipping package: nfs-kernel-server.........................(Already Installed)
         * Skipping package: openssh-server............................(Already Installed)
         * Installing package: php7.1..................................Failed!
        
        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          What does it say if you manually try installing with:

          sudo apt-get install php7.1

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          L 1 Reply Last reply Reply Quote 1
          • L
            lawrence1997 @Tom Elliott
            last edited by

            @Tom-Elliott Tried running that command and it ran through then tried upgrading to RC-25 again just for the same thing to happen.

            Kind Regards

            Lawrence

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              What did it say when you manually ran it?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              L 1 Reply Last reply Reply Quote 1
              • L
                lawrence1997 @Tom Elliott
                last edited by Wayne Workman

                @Tom-Elliott

                sudo apt-get install php7.1
                [sudo] password for isops: 
                Reading package lists... Done
                Building dependency tree       
                Reading state information... Done
                E: Unable to locate package php7.1
                E: Couldn't find any package by regex 'php7.1'
                
                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @lawrence1997
                  last edited by Wayne Workman

                  @lawrence1997 said in PHP 7.1 Failed On Trunk Upgrade To RC-25:

                  E: Couldn’t find any package by regex ‘php7.1’

                  I think you might be using a version of Ubuntu that is no longer supported? Like Ubuntu 15 perhaps? This is why I ask:
                  http://stackoverflow.com/questions/35758324/cannot-install-php7-0-fpm-via-ppaondrej-php

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    There is a possibility that this could be fixed by FOG 1.3.0 RC-27 when it’s released. I found some issues with Ubuntu installation over the weekend that have to do with PHP, and Tom has those issues fixed already. It could be related but I’m not sure. If you would rather not wait for RC-27 and would like to try the fixes imediately, please IM myself @wayne-workman or @Quazz or @george1421 or @Tom-Elliott for directions on moving to the next working branch.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Wayne Workman
                      last edited by

                      @Wayne-Workman It had nothing to do with PHP. It had to do with the FOG Services not being properly picked up. PHP code had nothing to do with any of these problems. (Not saying there wasn’t a coding problem, just want people to more properly know what/where a problem is.)

                      The php not installing proper wasn’t something I’ve been able to replicate. But after this, a fresh install didn’t start the proper portions of the services which has been addressed.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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

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

                      162

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project