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

    Updated Ubuntu/Fog

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    14
    2.0k
    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.
    • D
      dijsil
      last edited by

      @Sebastian-Roth said in Updated Ubuntu/Fog:

      ps ax | grep fpm

      Fog version v1.5.8
      Ubuntu was the one before the last version (Ubuntu 20.04.1 LTS) as it just told me that there is an update around 2 days ago

      root@fog:/opt/fogproject-master/bin# ps ax | grep fpm
      667 ? Ss 0:00 php-fpm: master process (/etc/php/7.2/fpm/php-fpm.conf)
      841 ? S 0:25 php-fpm: pool www
      842 ? S 0:25 php-fpm: pool www
      843 ? S 0:24 php-fpm: pool www
      847 ? S 0:24 php-fpm: pool www
      848 ? S 0:25 php-fpm: pool www
      1096 ? S 0:24 php-fpm: pool www
      1255 ? S 0:24 php-fpm: pool www
      3182 ? S 0:21 php-fpm: pool www
      3197 ? S 0:19 php-fpm: pool www
      3479 pts/0 S+ 0:00 grep --color=auto fpm
      root@fog:/opt/fogproject-master/bin#

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

        @dijsil That’s interesting. We knoe that when updating Ubuntu the PHP versions change but our install scripts should take care of this change. Seems like they didn’t in your case. Run systemctl stop php7.2-fpm and then re-run the FOG 1.5.9 installer scripts.

        Edit: Looking through the scripts I think we missed something. Will look into finxing that.

        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 1
        • D
          dijsil
          last edited by

          @Sebastian-Roth said in Updated Ubuntu/Fog:

          systemctl stop php7.2-fpm

          that seemed to have fixed the problems. All working good now thanks a lot and keep up the good work 🙂 🙂 🙂

          1 Reply Last reply Reply Quote 0
          • D
            dijsil
            last edited by

            Hi, I have encountered another problem.

            When I click deploy image I am getting:

            8899bd8c-a776-4611-a22b-8250cf6add8f-image.png

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

              @dijsil Please run tail -f /var/log/apache2/error.log on your FOG server while trying to task a deploy in the web UI and post which errors you get in the 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

              1 Reply Last reply Reply Quote 0
              • D
                dijsil
                last edited by dijsil

                @Sebastian-Roth said in Updated Ubuntu/Fog:

                /var/log/apache2/error.log

                There seem to be a lot of errors coming up all the time. I have taken a screenshot of when I click to deploy the image hopefully I got the error.

                ff98f9dd-d385-4b63-a0d1-c9ca95bbdb7e-image.png

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

                  @dijsil Please run the following commands on your FOG server and post output here:

                  dpkg -l | grep php
                  grep packages /opt/fog/.fogsettings
                  

                  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
                  • D
                    dijsil
                    last edited by dijsil

                    @Sebastian-Roth said in Updated Ubuntu/Fog:

                    dpkg -l | grep php
                    grep packages /opt/fog/.fogsettings

                    8d9cad34-5dd6-47de-b6d2-71d364484c16-image.png

                    p.s. the computer still got imaged. Issue seems to be related to just the web interface giving the error.

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

                      @dijsil The second command didn’t run. Please try again the second one.

                      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
                      • D
                        dijsil
                        last edited by

                        ops

                        8d558ae7-09ff-42b2-8f44-e38a3fefeab0-image.png

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

                          @dijsil Ok, something has messed up the PHP packages on your install. Make sure you don’t have tasks running anymore, then clean up all packages using this command (as root) : apt-get purge -yq 'php7*' 'libapache*'

                          Now re-run the FOG installer to setup things again. This should fix the issues you see with the webinterface.

                          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
                          • D
                            dijsil
                            last edited by

                            did as you instructed and seems to be working now thanks 🙂

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

                            195

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project