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

Updated Ubuntu/Fog

Scheduled Pinned Locked Moved
FOG Problems
2
14
1.8k
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 dijsil Oct 8, 2020, 1:19 AM Oct 8, 2020, 7:06 AM

    Hi, I have (noticed that when I login to fog the estimated fog sites and the other 2 were not coming up also when logging in I was getting Failed to get latest info from the FOG Version Information) then I noticed that there is an update to fog + ubuntu, so I updated my ubuntu and also Fog however I am still getting same issue.

    Also when completing the Fog installation I am getting the below:

    51c71576-33cf-4a7c-bfdb-1c39eef7fc55-image.png

    The web interface seems to be working however got some pages that are not working

    Fog Configuration page - kernel update
    - log viewer
    Snapin - create new snapin

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Oct 8, 2020, 1:33 AM Oct 8, 2020, 7:32 AM

      @dijsil Which versions of Ubuntu and FOG where you using before the update and which versions do you use now?

      Please run ps ax | grep fpm and post results here.

      Edit: I see you are on FOG 1.5.9 now.

      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 Oct 8, 2020, 7:54 AM

        @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 Oct 8, 2020, 2:21 AM Oct 8, 2020, 8:16 AM

          @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 Oct 8, 2020, 10:04 AM

            @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 Oct 12, 2020, 9:06 AM

              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 Oct 12, 2020, 9:14 AM

                @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 Oct 12, 2020, 3:35 AM Oct 12, 2020, 9:35 AM

                  @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 Oct 12, 2020, 9:39 AM

                    @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 Oct 12, 2020, 3:41 AM Oct 12, 2020, 9:40 AM

                      @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 Oct 12, 2020, 9:44 AM

                        @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 Oct 12, 2020, 9:48 AM

                          ops

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

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Oct 12, 2020, 4:02 AM Oct 12, 2020, 10:02 AM

                            @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 Oct 12, 2020, 10:50 AM

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

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

                              153

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project