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

    update kernel problem

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    7
    686
    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.
    • W
      wbilel
      last edited by

      Hello,

      When i want to update kernel from 4.19.145 to 5.10.12 the process is successfully complete but when i check kernel version it always remains 4.19.145 can you help please ?
      Best Regards

      version of FOG 1.5.9
      OS: VM UBUNTU 20.04
      bzImage Version: 4.19.145
      bzImage32 Version: 4.19.145

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

        @wbilel Please run the following commands on your FOG server console and post results here:

        ls -al /var/www
        ls -al /var/www/html
        

        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

        W 1 Reply Last reply Reply Quote 0
        • W
          wbilel @Sebastian Roth
          last edited by

          @sebastian-roth said in update kernel problem:

          @wbilel Please run the following commands on your FOG server console and post results here:

          ls -al /var/www
          ls -al /var/www/html
          

          hi
          this is result
          fog.png

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

            @wbilel Ok, this is a duplicated FOG web root directory. Should be a link instead.

            Please run the following commands so we find out which one should be used:

            grep docroot /opt/fog/.fogsettings
            diff -Nur /var/www/fog/lib/fog/system.class.php /var/www/html/fog/lib/fog/system.class.php
            

            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
            • W
              wbilel
              last edited by

              2021.jpg

              this is the result .

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

                @wbilel Ok, commands to fix this up are:

                sudo -i
                mv /var/www/fog /root/fog_webdir_can_be_deleted_later_on
                ln -s /var/www/html/fog /var/www/
                

                Access the web UI and try updating the kernel again. Should work this time.

                After a couple of days testing you can delete that directory we moved to root users home (/root/fog_webdir_can_be_deleted_later_on).

                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
                • W
                  wbilel
                  last edited by

                  @Sebastian Roth , thank you problem solved using your commands 👏

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

                  209

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project