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

    Inventory Report is blank, host list contains hundreds of entries with full inventory

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    28
    5.6k
    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.
    • R
      Rivybeast
      last edited by Rivybeast

      Just for a test, I built a new server. I installed Ubuntu 18.04, updated and patched to the latest. I then installed and configured FOG 1.5.7.

      I connected a sample laptop I have laying around, PXE booted and performed a quick registration and inventory. The laptop now shows up under Hosts. I can select the new host and click on Inventory and it shows all the information.

      When I go to Reports and select Inventory Report, again there is a blank page. No data shows up.

      I now firmly believe that either I’m doing something very wrong, or there is a bug in the reports.

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

        @Rivybeast said in Inventory Report is blank, host list contains hundreds of entries with full inventory:

        When I go to Reports and select Inventory Report, again there is a blank page. No data shows up.

        Ahhhhhh, I might have misunderstood this over and over again. The term “blank page” is usually used when people get a complete white page in the browser and this indicates that usually a PHP error has happened. So we kept asking and looking for that error. Now that you phrase is this way “No data shows up” I can imagine you did not really mean a complete blank page but just no entries being shown, right?!?!

        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
        • R
          Rivybeast
          last edited by

          Yep. I apologize. The entire page is not blank, just that it doesn’t show any data:

          Inventory Report.png

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

            @Rivybeast I’ll take a look at this soon!

            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
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              Moved this topic to bug reports as this is definitely something we messed up in the code when @Fernando-Gietz added the filter option to the reports.

              @Rivybeast I am working on this and have pushed a first fix of the “Inventory Report”. If you are keen to give it a try you can simply download the latest file from github and put that into /var/www/html/fog/lib/reports/ on your FOG server (probably best to rename the existing file - e.g. to inventory_report.report.bak - so you can switch back to that easily just in case.

              I’ll work on the other reports as well before I merge the whole lot back into dev-branch.

              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

              Raymond BellR 1 Reply Last reply Reply Quote 0
              • Raymond BellR
                Raymond Bell Testers @Sebastian Roth
                last edited by

                @Sebastian-Roth Yes replacing this file has fixed the issue.

                @Sebastian-Roth said in Inventory Report is blank, host list contains hundreds of entries with full inventory:

                Moved this topic to bug reports as this is definitely something we messed up in the code when @Fernando-Gietz added the filter option to the reports.

                @Rivybeast I am working on this and have pushed a first fix of the “Inventory Report”. If you are keen to give it a try you can simply download the latest file from github and put that into /var/www/html/fog/lib/reports/ on your FOG server (probably best to rename the existing file - e.g. to inventory_report.report.bak - so you can switch back to that easily just in case.

                I’ll work on the other reports as well before I merge the whole lot back into dev-branch.

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                1 Reply Last reply Reply Quote 1
                • R
                  Rivybeast
                  last edited by

                  I downloaded the updated inventory_report.report.php and now the Inventory Report works properly as far as I can tell. I was able to generate a .CSV file without issue. I will keep testing the report functionality as my inventory builds back up (I started a new database).

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

                    @Rivybeast @Raymond-Bell Thanks for testing and letting me know! I will work on fixing the other reports and merge this into dev-branch in the next weeks.

                    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
                    • 1
                    • 2
                    • 2 / 2
                    • First post
                      Last post

                    251

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project