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

    Unable to Access web GUI after Upgrading

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    8
    488
    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.
    • E
      echophi
      last edited by echophi

      Upgrade from 1.5.6 to current

      Debian 9

      From shell
      git pull
      git checkout master
      git pull
      cd /root/fogproject/bin
      ./installfog.sh

      selected N to everything (DHCP, https, etc)

      After which we are unable to access the GUI. I have checked apache2, mysql, and fog.conf to make sure none of the IP info changed. Thoughts?

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

        @echophi said in Unable to Access web GUI after Upgrading:

        selected N to everything (DHCP, https, etc)

        I am wondering why it would ask you questions about DHCP again when upgrading from 1.5.6 that should not be the case. Question about HTTPS yes, as this was added later but not question about DHCP.

        I have checked apache2, mysql, and fog.conf …

        Which fog.conf do you mean?

        Which Linux OS do you have FOG installed on?

        Did the installer script run all the way to the end or did it stop with a Failed message at some point?

        After which we are unable to access the GUI.

        Just a plain timeout or some kind of error message on the web UI? Please post a picture.

        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

        E 3 Replies Last reply Reply Quote 0
        • E
          echophi @Sebastian Roth
          last edited by

          @sebastian-roth

          One component had initially failed but overall the script completed.
          the config that holds network info, we’ve had that one wipe out on us before. It was still set correctly.
          We are using Debian 9

          If you go straight to the IP you get the generic apache “It works!” message. When heading to GUI get the following:

          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.25 (Debian) Server at 1XX.XXX>.XXX Port 80

          1 Reply Last reply Reply Quote 0
          • E
            echophi @Sebastian Roth
            last edited by

            @sebastian-roth

            I am producing a new error in the apache2/error.log

            AH01079: failed to make connection to backend: 127.0.0.1

            1 Reply Last reply Reply Quote 0
            • E
              echophi @Sebastian Roth
              last edited by

              @sebastian-roth

              here’s the error out of syslog:
              Class ‘FOGCore’ not found in /opt/fog/service/lib/service_lib.php

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

                @echophi Sounds like the PHP-FPM Backend service ist not running. Please run the command systemctl list-units | grep php to find the exact name of the service on your system. Probably something like php72-fpm.service. Then see if you can start ist with systemctl start php72-fpm.service

                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

                E 1 Reply Last reply Reply Quote 0
                • E
                  echophi @Sebastian Roth
                  last edited by

                  @sebastian-roth said in Unable to Access web GUI after Upgrading:

                  root@fog-server:~# systemctl list-units | grep php
                  phpsessionclean.timer loaded active waiting Clean PHP session files every 30 mins

                  Also tried a reinstall and got this error

                  Package php5 is not available, but is referred to by another package.
                  This may mean that the package is missing, has been obsoleted, or
                  is only available from another source

                  E: Package ‘php5’ has no installation candidate

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

                    @echophi The FOG installer will take care of package installs for you and it will error out if it’s unable to install the correct packages. Please run dpkg -l | grep php to see what you have still left installed.

                    I would suggest you just re-run the FOG installer and let us know to what point it runs.

                    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

                    138

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project