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

    FOG's web interface doesn't work.

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    18
    4.5k
    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.
    • Wayne WorkmanW
      Wayne Workman @JJ Fullmer
      last edited by Wayne Workman

      @JJ-Fullmer it’s the main fog server.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          So after extensive troubleshooting I finally figured what was causing this.

          A single storage node being totally offline and unreachable.

          Via CLI through MySQL, I disabled that one node, and all was well.

          I’ve told Tom this, and he’s working on what caused the web interface to simply not work due to a down storage node.

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            I believe your gui response time was horrible. I don’t know why, if that’s the only node that’s “enabled” persay.

            The graph enabled plays little bounds in regards to the client count (yes I know).

            If the graph is disabled, it doesn’t mean the slots aren’t available. So I have a more automated means of checking these things. When it comes to dashboard getting/setting specifics, we only care about the is graph enabled, (in regards to bandwidth and graph size).

            Running through many different components, if you can try accessing a direct link as opposed to starting off in the “home” page, do things actually seem to work?.

            I’ve, in regards to this, figured out a more appropriate way handle the successive connections. No a single item being down should not have any impact on page display and I’m completely unable to validate. I now have a much cleaner way to handle the url processing though.

            This is what fixed the GUI unable to deploy issue for @JJ-Fullmer . I am only guessing here though.

            The page loads tons faster now and the javascript will help prevent tons of access requests to the other nodes as well. (We still test the active count which still requires the checks though) so some connections will have to be made. If that isn’t “suitable” then maybe we should remove active count auto-updating? It is currently set to update at the same interval as bandwidth page.

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by Wayne Workman

              @Tom-Elliott

              The graph enabled plays little bounds in regards to the client count (yes I know).

              The node that was totally in the real world offline - it’s graph was disabled but the node was enabled.

              All I did was change the node from enabled to disabled. Immediately the web interface started functioning.

              Later, I re-enable the node (not the nodes graph) and immediately tge web interface totally quit working again.

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Wayne Workman
                last edited by

                @Wayne-Workman im aware of this, but I have still yet to see this myself. The problem, as I stated earlier, is it still is checking all nodes and for what ever reason is hanging on the down node. Was it white screen or seeming to try loading? (Circling about) which was why I asked about going directly to a site such as node =host.

                What are your URL timeouts set to?

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Tom Elliott
                  last edited by

                  @Tom-Elliott my url timeouts are whatever is the default. I messed with that earlier without any effect so I put it back as it was.

                  The page attempted to load for a while, quite a good while. Perhaps 20 or so seconds. Then it failed.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Wayne Workman
                    last edited by

                    @Wayne-Workman maybe 30 seconds, without fail? Default execution time for php is typically 30 seconds. Then it will fatally die out. I’ll try working out the kinks a bit later, such as having JavaScript handing if the page is available or not.

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      RC-22 officially released.

                      Please update, though for your unable to use issue I don’t know fully a nice answer.

                      I still haven’t been able to replicate.

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        I’ve updated to RC-23. I can’t say if the issue is solved or not because all of our nodes are online right now.

                        1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          If you get a chance, maybe try stopping the httpd/apache2 services on a couple of nodes to see if all just get’s hung back up?

                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          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
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Any word on this?

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            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
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              I think the issue is solved. At home, I just shutdown one of the nodes I have without adjusting any configuration and the web interface stayed operational.

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

                              218

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project