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

    Hosts detail page is not loading CSS

    Scheduled Pinned Locked Moved Solved FOG Problems
    4 Posts 2 Posters 212 Views
    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.
    • neodawgN
      neodawg
      last edited by

      Did a migration to a new server, AlmaLinux10 running latest stable release. Everything seems fine, except that loading a host page results in no CSS or images loading. The text and buttons loads. httpd error and access logs dont show anything obvious. the image definition page works fine and that is similar. I also tried a previous release, same result. Attached is a screen shot. Thanks for any ideas.

      Screenshot from 2026-05-14 11-22-07.png

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

        We can mark this closed. Turns out it was a old/bad snapin package on the old server. I set up Fog with a new DB and everything worked fine. Once I removed the snapins and exported and imported the DB again it all worked as expected.

        Thanks for the help.

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

          @neodawg Can you provide the systems php error log, for Alma I think its RPM based so you would -> go to the page and see this -> get the last 100 lines or so (sudo tail -n 100 /var/log/php-fpm/www-error.log) This should tell us where it’s failing.

          If you’re also able, can you tell us what version of FOG you’re running?

          (Login to fog, bottom right hand corner should tell you the version you’re running.)

          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

          neodawgN 1 Reply Last reply Reply Quote 0
          • neodawgN
            neodawg @Tom Elliott
            last edited by

            @Tom-Elliott Sure…

            Running version: 1.5.10.1826

            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:34:54 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:00 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:00 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:00 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:00 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:01 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            [15-May-2026 15:35:04 UTC] PHP Fatal error:  Uncaught ValueError: min(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/snapin.class.php:392
            Stack trace:
            #0 /var/www/html/fog/lib/fog/snapin.class.php(392): min()
            #1 /var/www/html/fog/lib/fog/snapin.class.php(344): Snapin->getPrimaryGroup()
            #2 /var/www/html/fog/lib/router/route.class.php(1327): Snapin->getStorageGroup()
            #3 /var/www/html/fog/lib/router/route.class.php(487): Route::getter()
            #4 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(1806): Route::listem()
            #5 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3298): HostManagementPage->hostSnapins()
            #6 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()
            #7 /var/www/html/fog/management/index.php(69): FOGPageManager->render()
            #8 {main}
              thrown in /var/www/html/fog/lib/fog/snapin.class.php on line 392
            
            
            1 Reply Last reply Reply Quote 0
            • neodawgN
              neodawg
              last edited by

              We can mark this closed. Turns out it was a old/bad snapin package on the old server. I set up Fog with a new DB and everything worked fine. Once I removed the snapins and exported and imported the DB again it all worked as expected.

              Thanks for the help.

              1 Reply Last reply Reply Quote 1
              • Tom ElliottT Tom Elliott has marked this topic as solved
              • 1 / 1
              • First post
                Last post

              125

              Online

              12.7k

              Users

              17.6k

              Topics

              156.6k

              Posts
              Copyright © 2012-2026 FOG Project