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

    FOG 1.5.9.175 on Ubuntu 22.04.1 LTS Installing package: php-mysql Failed! (Will try later)

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    7
    817
    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.
    • F
      Fog_Newb
      last edited by Fog_Newb

      Hello,

      I get this error during the install however, FOG seems to be working. I was able to capture and deploy an image.

      After going from Ubuntu 21.10 to 22.04.1 LTS (The Jellyfish one) I used the following commands to get rid of php 8.0 (Thanks @Sebastian-Roth )

      a2dismod php8.0
      a2enmod php8.1
      apt purge php8.0*
      systemctl restart apache2

      There was a minor issue when purging 8.0

      “dpkg: warning: while removing php8.0-opcache, directory ‘/etc/php/8.0/mods-available’ not empty so not removed”

      Then I upgraded from FOG 1.5.9.163 to FOG 1.5.9.175. The install went well with only the error regarding mysql but it seems to be working.

      https://pastebin.com/1JTPtWm0

      Is this something I should be concerned about.

      Thanks all.

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

        @Fog_Newb Thanks for testing and posting the details. I would be interested to see why it says “Failed” for php-mysql at first. Could you upload the other log file found in bin/error_logs/ as well?

        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

        F 1 Reply Last reply Reply Quote 0
        • F
          Fog_Newb @Sebastian Roth
          last edited by Fog_Newb

          @sebastian-roth I don’t have a directory by that name. I can’t seem to find any detailed logs for FOG other than what is in the fog directory.

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

            @Fog_Newb The logs are found within the same directory which you run the FOG installer from. So if you have the project files cloned in /root/fogproject for example the log is in /root/fogproject/bin/error_logs/fog_error_1.5.9.174.log

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              Fog_Newb @Sebastian Roth
              last edited by

              @sebastian-roth dm sent with log file

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

                @Fog_Newb Thanks for the full log file!

                We can ignore the error on install of php-mysql. While installing several php packages the system restarts php-fpm over and over again and it complains about that when done too often.

                We should take care of this at some point within the installer: https://serverfault.com/a/930057

                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

                F 1 Reply Last reply Reply Quote 1
                • F
                  Fog_Newb @Sebastian Roth
                  last edited by

                  @sebastian-roth I just noticed .177 was out and updated. No errors at all during the update process.

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

                  115

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project