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

    Update Kernels - GUI says successful, but its not

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    8
    644
    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.
    • J
      JDnoble18
      last edited by

      I’m trying to update the kernels on my fog server and the GUI says they are successful but on the Fog Configuration > Home > Kernel Versions screen the versions installed still show 4.19.143.

      I would like to get to 5.6.18 as the current kernels does not work with our latest computers purchased.

      Fog Server Version: 1.5.9.49 (Newly Upgraded from 1.5.6)
      OS: Ubuntu 16.04 LTS (Newly Upgraded from 14.04 LTS)

      Am I missing something?

      Thanks for any help!

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

        @jdnoble18 You can manually download the kernels from here. https://fogproject.org/kernels/

        save the 64 bit kernel as bzImage (watch your case) and the 32 bit kernel as bzImage32 (watch your case). These files go into /var/www/html/fog/service/ipxe directory on the fog server. I would rename the existing files before you install the new ones.

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

          @JDnoble18 Yeah, manual install as described will surely work. We can also try to see if it’s a permission problem causing the web UI kernel update to fail. Run ls -al /var/www/html/fog/system/ipxe/ 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

          J 1 Reply Last reply Reply Quote 0
          • J
            JDnoble18 @Sebastian Roth
            last edited by Sebastian Roth

            @sebastian-roth

            it@fogserver:~$ sudo ls -al /var/www/html/fog/service/ipxe/
            total 58084
            drwxr-xr-x 2 fogproject www-data     4096 Dec  2 18:01 .
            drwxr-xr-x 3 www-data   www-data     4096 Dec  2 18:00 ..
            -rw-r--r-- 1 fogproject www-data     1966 Dec  2 18:00 advanced.php
            -rw-r--r-- 1 fogproject www-data    16272 Dec  2 18:00 bgdark.png
            -rw-r--r-- 1 fogproject www-data    21280 Dec  2 18:00 bg.png
            -rw-r--r-- 1 fogproject www-data     1139 Dec  2 18:00 boot.php
            -rw-r--r-- 1 fogproject www-data  8446624 Dec  2 18:01 bzImage
            -rw-r--r-- 1 fogproject www-data  7842720 Dec  2 18:01 bzImage32
            -rw-r--r-- 1 fogproject www-data   234697 Dec  2 18:00 grub.exe
            -rw-r--r-- 1 fogproject www-data      592 Dec  2 18:00 index.php
            -rw-r--r-- 1 fogproject www-data 20574204 Dec  2 18:01 init_32.xz
            -rw-r--r-- 1 fogproject www-data 21161356 Dec  2 18:01 init.xz
            -rw-r--r-- 1 fogproject www-data    25340 Dec  2 18:00 memdisk
            -rw-r--r-- 1 fogproject www-data  1839104 Dec  2 18:00 memtest.bin
            -rw-r--r-- 1 fogproject www-data   202624 Dec  2 18:00 refind_aa64.efi
            -rw-r--r-- 1 fogproject www-data    29719 Dec  2 18:00 refind.conf
            -rw-r--r-- 1 fogproject www-data   262592 Dec  2 18:00 refind.efi
            -rw-r--r-- 1 fogproject www-data   201600 Dec  2 18:00 refind_ia32.efi
            -rw-r--r-- 1 fogproject www-data   208776 Dec  2 18:00 refind_x64.efi
            
            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @JDnoble18
              last edited by

              @jdnoble18 Interesting you have the right permissions on these files.

              Is your fog server behind a proxy server?

              Are you getting a specific error or its says its working but doesn’t?

              The quickest way to as solution is probably the manual way I mentioned, but that doesn’t really solve the issue.

              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!

              J 1 Reply Last reply Reply Quote 0
              • J
                JDnoble18 @george1421
                last edited by

                @george1421 I’ve tried this update from a computer across a VPN, and I’ve also tried it directly from Firefox on the Ubuntu machine that fog runs on and still get the same result.

                As for getting a specific error, I don’t get any error. It says “Transfer Succeeded” in green and below that “Your new FOG Kernel has been installed!”

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

                  @jdnoble18 said in Update Kernels - GUI says successful, but its not:

                  and I’ve also tried it directly from Firefox on the Ubuntu machine that fog runs on and still get the same result.

                  Understand this download action would be from the FOG server reaching out to the internet and downloading the file directly from the FOG Mother ship. The browser being used does not matter once you hit the download button its all FOG server and mother ship talking. I think the manual method is the quickest solution for you.

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

                    @JDnoble18 As George said, permissions look fine. Now that I think of it again I can imagine you ran into an issue where the installer would mess up with a link to the web root directory. Please run the following commands and post output here:

                    grep FOG_VERSION /var/www/html/fog/lib/fog/system.class.php
                    grep FOG_VERSION /var/www/fog/lib/fog/system.class.php
                    ls -al /var/www
                    

                    I just tested kernel update on FOG 1.5.9.49 and it works as expected. So it does not seem to be a general issue.

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

                    260

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project