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

    Webinterface doens't show any hosts under host management

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    2.9k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      The hosts were not deleted by fog in any way. Can you try hard refreshing the page? Shift+F5

      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
      • S
        Stefan Kaegi
        last edited by

        I already tried that. I didn’t work. Deleting the cash of the browser didn’t help either. I tried Internet Explorer and Firefox.

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

          What, exactly, steps did you do to upgrade?

          The installers don’t delete data from the database except in regards to a few specific tables, and even then it’s not deleting but rather moving data to other tables.

          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

            Can you post your installation log? Look in Tom’s signature above for the location ^^^

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • S
              Stefan Kaegi
              last edited by

              Here are the log files…

              [url=“/_imported_xf_attachments/1/1936_foginstall.log.txt?:”]foginstall.log.txt[/url][url=“/_imported_xf_attachments/1/1937_error.log.txt?:”]error.log.txt[/url]

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

                I think your /var/www/fog/ permissions are either messed up, or some files in there don’t exist… which is quite odd…

                Can you run this?
                [CODE]ls -laR /var/www/fog[/CODE]

                Please put the output into a text file and attach that here.

                have you tried to just re-run your installer?

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • S
                  Stefan Kaegi
                  last edited by

                  Re-run the installer didn’t help. Here is the output of ls -laR /var/www/fog

                  [url=“/_imported_xf_attachments/1/1943_output.txt?:”]output.txt[/url]

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

                    Permissions on the web files are all good.

                    All of these errors you’re seeing in your Apache logs, those are MySQL / DB related.

                    What version of FOG did you update from?

                    Did you update your database schema via the web interface as the installer instructed?

                    Can you try to re-install MySQL ?

                    How many hosts do you have registered (roughly)?

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • S
                      Stefan Kaegi
                      last edited by

                      I updated from 1.1.2 to 1.2.0.
                      I reinstalled MySQL (apt-get install --reinstall mysql-server mysql-server-5.5).
                      After that i tried to reinstall fog using /opt/fog/bin/./installfog.sh.
                      I couldn’t update the database schema. When i get the message to go to [url]http://172.30.40.25/fog/management[/url] I have no option to update the database schema.
                      It shows just the normal webinterface. How can I update the database schema?
                      It still doens’t show hosts. So reinstalling MySQL didn’t help.
                      I have about 450 host registered.

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

                        There might not have been any DB changes from 1.1.2 to 1.2.0 Although I’m not sure.
                        If there are no changes, you won’t be presented with anything to update on the Web Interface.

                        Lets verify the data in your DB.
                        On your FOG server:

                        [CODE]mysql -u root fog
                        SELECT * FROM hosts;[/CODE]

                        You should see data about your hosts… let us know.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • S
                          Stefan Kaegi
                          last edited by

                          After updating to subversion 3356 the problem is solved.
                          Thanks a lot for you help!

                          Stefan

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

                          217

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project