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

PHP 7.3

Scheduled Pinned Locked Moved Solved
Linux Problems
3
8
1.2k
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.
  • P
    plegrand
    last edited by Aug 26, 2019, 9:22 AM

    Hello

    I just upgraded debian an it’s now php 7.3 but the installer of fog 1.5.7 is looking for php 7.0.
    Do i have to install the dev-branch ?
    Actually nothing works anymore
    Service Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache/2.4.38 (Debian) Server at 192.168.39.243 Port 80
    

    I i try a upgrade here is what i have :

    * Skipping package:   apache2.................................(Already Installed)
    * 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)
    * Skipping package:   gawk....................................(Already Installed)
    * Skipping package:   gcc.....................................(Already Installed)
    * Skipping package:   gzip....................................(Already Installed)
    * Skipping package:   htmldoc.................................(Already Installed)
    * Skipping package:   lftp....................................(Already Installed)
    * Skipping package: libapache2-mod-php7.0.....................(Does not exist)
    * Skipping package:   libc6...................................(Already Installed)
    * Skipping package:   libcurl4................................(Already Installed)
    * Skipping package:   m4......................................(Already Installed)
    * Skipping package:   mariadb-server..........................(Already Installed)
    * Installing package: mysql-client............................Failed! (Will try later)
    * Skipping package:   net-tools...............................(Already Installed)
    * Skipping package:   nfs-kernel-server.......................(Already Installed)
    * Skipping package:   openssh-server..........................(Already Installed)
    * Skipping package: php7.0....................................(Does not exist)
    * Skipping package: php7.0-bcmath.............................(Does not exist)
    * Skipping package: php7.0-cli................................(Does not exist)
    * Skipping package: php7.0-curl...............................(Does not exist)
    * Skipping package: php7.0-fpm................................(Does not exist)
    * Skipping package: php7.0-gd.................................(Does not exist)
    * Skipping package: php7.0-json...............................(Does not exist)
    * Skipping package: php7.0-mbstring...........................(Does not exist)
    * Skipping package: php7.0-mysql..............................(Does not exist)
    * Skipping package:   php-gettext.............................(Already Installed)
    * Skipping package:   sysv-rc-conf............................(Already Installed)
    * Skipping package:   tar.....................................(Already Installed)
    * Skipping package:   tftpd-hpa...............................(Already Installed)
    * Skipping package:   tftp-hpa................................(Already Installed)
    * Skipping package:   unzip...................................(Already Installed)
    * Skipping package:   vsftpd..................................(Already Installed)
    * Skipping package:   wget....................................(Already Installed)
    * Skipping package:   xinetd..................................(Already Installed)
    * Skipping package:   zlib1g..................................(Already Installed)
    * Updating packages as needed.................................OK
    * Installing now everything is updated........................Failed!
    
    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Aug 26, 2019, 9:31 AM

      While I don’t know about the installer requirements, I can tell you that php-fpm must be at the same version as php that is installed or php-fpm won’t start and you will get a 503 error with service not available.

      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!

      P 1 Reply Last reply Aug 26, 2019, 9:52 AM Reply Quote 0
      • P
        plegrand
        last edited by Aug 26, 2019, 9:36 AM

        aptitude versions php 2:7.3+69
        aptitude versions php-fpm 2:7.3+69
        aptitude versions php7.3-fpm 7.3.4-2

        I’ve got a lot of these errors in error.log :

        [Mon Aug 26 11:31:37.008348 2019] [proxy:error] [pid 9312] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
        [Mon Aug 26 11:31:37.008383 2019] [proxy_fcgi:error] [pid 9312] [client 192.168.39.124:54346] AH01079: failed to make connection to backend: 127.0.0.1
        
        1 Reply Last reply Reply Quote 0
        • P
          plegrand @george1421
          last edited by Aug 26, 2019, 9:52 AM

          @george1421

          I had to modify this file :
          /etc/php/7.3/fpm/pool.d/www.conf

          ;listen = /run/php/php7.3-fpm.sock
          listen = 127.0.0.1:9000
          

          Now it seems to work.

          I’ve always these errors :

          août 26 11:49:05 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' (this will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 160
          août 26 11:49:15 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' (this will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 158
          août 26 11:49:15 fog FOGMulticastManager[788]: PHP Warning:  Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' (this
          

          will throw an Error in a future version of PHP) in /var/www/fog/lib/fog/fogurlrequests.class.php on line 159

          P 1 Reply Last reply Aug 26, 2019, 12:04 PM Reply Quote 0
          • P
            plegrand @plegrand
            last edited by Aug 26, 2019, 12:04 PM

            @plegrand
            Everything seems work fine and i’ve no more error in log files.

            G 1 Reply Last reply Aug 26, 2019, 12:22 PM Reply Quote 0
            • G
              george1421 Moderator @plegrand
              last edited by Aug 26, 2019, 12:22 PM

              @plegrand said in PHP 7.3:

              @plegrand
              Everything seems work fine and i’ve no more error in log files.

              Including the errors from the FOG Multicast manager??

              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!

              P 1 Reply Last reply Aug 26, 2019, 1:19 PM Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Aug 26, 2019, 12:39 PM

                @plegrand Seems like you have figured it out already but I just feel like adding this in case others read this and wonder about it. As I see it you had “php7.0” in /opt/fog/.fogsettings from the previous installation and our scripts were not smart enough to update this for you. So manually changing /opt/fog/.fogsettings should have fixed it.

                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
                • P
                  plegrand @george1421
                  last edited by Aug 26, 2019, 1:19 PM

                  @george1421
                  It seems yes

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  1 / 1
                  • First post
                    2/8
                    Last post

                  155

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project