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

    Issues with inventory and uploading image

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    32
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @sjensen As a quick workaround you can manually download the files:

      sudo -i
      cd /var/www/html/fog/service/ipxe
      mkdir kernel_backup
      mv bzImage* kernel_backup/
      wget -O bzImage https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.64
      wget -O bzImage32 https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.32
      chown www-data:www-data bzImage*
      

      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
        sjensen @george1421
        last edited by

        @george1421 I literally have not done anything everything is the same state as it was when i set this up. Is there a way to give fog user access to be able to change or send me instructions on how to just update the fog server? I also tried what Sebastian suggested and get and error wget invlaid option – ‘0’

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @sjensen
          last edited by george1421

          @sjensen said in Issues with inventory and uploading image:

          – ‘0’

          That is a capital -O (as in Oscar or Output file) not a zero. The wget method will get you updated quickly

          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!

          S 2 Replies Last reply Reply Quote 0
          • S
            sjensen @george1421
            last edited by

            @george1421 after i do this are the kernels updated or did i just download them?

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

              @sjensen After those commands the kernels are downloaded and put in place (updated).

              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
                sjensen @george1421
                last edited by

                @george1421 I was able to run the update to install the latest version of Fog but the installer did not finish. here is what the error message says. Any help is appreciated.

                32b453fa-7408-49bf-a521-bba607276626-image.png

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

                  @sjensen Please run dpkg -l | grep php and post output here.

                  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
                    sjensen
                    last edited by

                    fd842813-5012-4e0f-8381-b267074b131a-image.png

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @sjensen
                      last edited by

                      @sjensen that’s probably lower case L for list not the number one.

                      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!

                      1 Reply Last reply Reply Quote 1
                      • S
                        sjensen
                        last edited by

                        f6220a32-00cf-43fc-854d-0ff734e880d3-image.png

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

                          @sjensen I just saw you mentioning this FOG server version to be 1.5.0-RC10 running on Ubuntu 14.04. This is a really old setup and I don’t recommend you rush into an upgrade!

                          In this case you better try downloading the iPXE binaries manually from GitHub and put those into the /tftpboot directory on your FOG server.

                          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
                            sjensen
                            last edited by

                            I did the upgrade already, the last post to george1421 is a log he wanted me to pull.

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator
                              last edited by

                              Just to be clear my recommendations was to spin up a new FOG server and not to upgrade. The host OS is soon to be unsupported and FOG 1.5.0 can’t really be supported because its so old.

                              newserver01.png

                              newserver02.png

                              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!

                              1 Reply Last reply Reply Quote 1
                              • george1421G
                                george1421 Moderator @sjensen
                                last edited by

                                @sjensen From the install error it appears the installer is trying to pull in php 7.1 which I suspect is not available for ubuntu 14.04.

                                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!

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sjensen
                                  last edited by

                                  I took a snapshot before upgrading to the latest version, i’m going to revert to that snapshot. After I revert I will follow the instructions that Sebastian posted about manually updating the kernel. I do not have the time to spin up a new server and migrate images over. I just need to get this server working again I have a bunch of pc’s sitting on my desk to image.

                                  george1421G 1 Reply Last reply Reply Quote 1
                                  • george1421G
                                    george1421 Moderator @sjensen
                                    last edited by

                                    @sjensen Good job taking a snapshot, well done.

                                    Just follow Sebastian’s instructions for manually downloading the kernels.

                                    sudo -i
                                    cd /var/www/html/fog/service/ipxe
                                    mkdir kernel_backup
                                    mv bzImage* kernel_backup/
                                    wget -O bzImage https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.64
                                    wget -O bzImage32 https://fogproject.org/kernels/Kernel.TomElliott.5.6.18.32
                                    chown www-data:www-data bzImage*
                                    

                                    Then to confirm you have the right files

                                    cd /var/www/html/fog/service/ipxe
                                    file bzImage
                                    file bzImage32
                                    

                                    The file command should output something that contains the kernel version 5.6.18.

                                    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!

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sjensen
                                      last edited by

                                      Here is what it says after going through the instructions you send.
                                      fe866dfb-2c78-480a-996b-736a3026ed94-image.png

                                      george1421G 1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @sjensen
                                        last edited by Sebastian Roth

                                        @sjensen can you issue ls -la in that directory. That isn’t the response from the file command I expected.

                                        What I expected to see is like this:

                                        # file bzImage
                                        bzImage: Linux kernel x86 boot executable bzImage, version 4.19.48 (jenkins-agent@Tollana) #1 SMP Sun Jul 14 13:08:14 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
                                        

                                        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!

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sjensen
                                          last edited by

                                          The issue is fixed. thanks for the help.

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

                                            @george1421 said in Issues with inventory and uploading image:

                                            That isn’t the response from the file command I expected.

                                            Some older Linux systems do not provide the great output using file that we see with up to date systems.

                                            As the OP reported the issue is solved, we don’t need to worry.

                                            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

                                            202

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project