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

    HD info not populating in log

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    22 Posts 3 Posters 220 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.
    • M
      meie1kyl @Tom Elliott
      last edited by

      @Tom-Elliott there is no output when I run doInventory

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

        @meie1kyl Now run:

        echo $hdinfo

        If that houses the right information, we should then know I need to look at the code (on the UI side) to see why its not breaking down correctly

        I know it’s a process, I apologize.

        We can then just run the fog.inventory shell command too.

        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

        M 1 Reply Last reply Reply Quote 0
        • M
          meie1kyl @Tom Elliott
          last edited by

          @Tom-Elliot I appreciate the help. No output from echo $hdinfo either

          babf0ccd-e87f-47b5-aca3-bf6817f4b3e1-image.png

          R 1 Reply Last reply Reply Quote 0
          • R
            rodluz Developer @meie1kyl
            last edited by

            @meie1kyl I may be wrong but I have a feeling you are running an old version of the inits. Can you run these commands:

            source /usr/share/fog/lib/funcs.sh
            echo $initversion
            

            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

            M 1 Reply Last reply Reply Quote 0
            • M
              meie1kyl @rodluz
              last edited by

              @rodluz 98ba705d-48d7-4765-9d83-1c47b6399d3d-image.png

              Tom ElliottT R 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @meie1kyl
                last edited by

                @meie1kyl Indeed that is a VERY old init 🙂

                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

                M 1 Reply Last reply Reply Quote 0
                • R
                  rodluz Developer @meie1kyl
                  last edited by

                  @meie1kyl The fix for this issue was done in August 2023 and released in init version 20231208. My guess is that you haven’t updated your FOG install since 2023, or else the init should have “auto” updated.
                  I recommend that you update your FOG server to the latest stable version since there have been many fixes and security updates since 2023.

                  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
                  • M
                    meie1kyl @Tom Elliott
                    last edited by

                    @Tom-Elliott Is there a guide for updating? I was not the person that initially set up the server unfortunately.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      meie1kyl @meie1kyl
                      last edited by meie1kyl

                      We tried the following and still get the same init version after rebooting into dev mode.

                      1. Updated and followed instructions from here: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                      64106e53-844f-447b-afcb-ac070661622a-image.png

                      1. Attempted updating init and kernels using instructions found here (Debian instructions. Server is running Ubuntu) https://wiki.fogproject.org/wiki/index.php?title=Download_Current_Init's_and_Kernels_Command_Line

                      96e1c8ec-0e8a-443e-ad3a-c4f7927ddbef-image.png

                      1. Rebooted both endpoint in dev mode and the server itself

                      Current version shown on the web portal: 4d14a334-b48a-487d-9174-a3a65644d74e-image.png

                      Current init showing after all of this: 21b25807-232d-4382-b9ec-e9be1347acf3-Media.jpg

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

                        @meie1kyl What version of fog are you running?

                        When you login at the bottom right corner you should see the actually installed version of FOG.

                        What version is that?

                        I suspect you’re using a version that is explicitely tied to 20230305.

                        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

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          meie1kyl @Tom Elliott
                          last edited by

                          @Tom-Elliott Version 1.5.10
                          e6cb68b6-dafe-4244-a4fb-ff91cb756447-image.png
                          499b6963-c447-40a5-ae8f-3edb9d846dec-image.png

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

                            @meie1kyl on your fog server, please login, either as root or a user who can sudo to root:

                            Become root user:

                            Then run these commands for consistency (you can change location but will need to remember to make that adjustment every time for updates.)

                            cd /opt
                            git clone https://github.com/fogproject/fogproject.git latest_fogproject
                            
                            # These commands after for updates
                            cd /opt/latest_fogproject
                            git checkout dev-branch
                            git pull
                            cd bin
                            ./installfog.sh -y
                            

                            Of course make sure you have a backup but this should get you where you need to be.

                            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

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              meie1kyl @Tom Elliott
                              last edited by

                              @Tom-Elliott Thank you, Tom. The init version is now 2025xxx. I’ll test soon to confirm the SSD info is showing in logs.

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

                              128

                              Online

                              12.5k

                              Users

                              17.5k

                              Topics

                              156.1k

                              Posts
                              Copyright © 2012-2026 FOG Project