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

Issues with inventory and uploading image

Scheduled Pinned Locked Moved
FOG Problems
3
32
4.3k
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.
  • G
    george1421 Moderator @sjensen
    last edited by Oct 26, 2020, 6:00 PM

    @sjensen Ok you have the version before the developers switched the service account name from fog to fogproject

    Have you by chance updated the linux user fog password since fog was installed. There were instructions on the internet telling people to create the linux user fog and then use that account to install FOG. Doing so created a mess when the FOG admin changed/updated this password. Understand I’m talking about the linux user fog not the default web ui administrator fog (another reason why the developers changed the service account name to fogproject from fog it was just too confusing to explain which account we were talking about. )

    If its not a password change issue then the fog user doesn’t have rights to update /var/www/html/fog/service/ipxe directory on the FOG server.

    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 1 Reply Last reply Oct 26, 2020, 6:17 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 26, 2020, 6:00 PM

      @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 Oct 26, 2020, 6:17 PM

        @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’

        G 1 Reply Last reply Oct 26, 2020, 6:45 PM Reply Quote 0
        • G
          george1421 Moderator @sjensen
          last edited by george1421 Oct 26, 2020, 12:46 PM Oct 26, 2020, 6:45 PM

          @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 Oct 26, 2020, 6:55 PM Reply Quote 0
          • S
            sjensen @george1421
            last edited by Oct 26, 2020, 6:55 PM

            @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 Oct 26, 2020, 7:40 PM

              @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 Oct 26, 2020, 7:48 PM

                @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 Oct 26, 2020, 8:15 PM

                  @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 Oct 26, 2020, 8:23 PM

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

                    G 1 Reply Last reply Oct 26, 2020, 8:24 PM Reply Quote 0
                    • G
                      george1421 Moderator @sjensen
                      last edited by Oct 26, 2020, 8:24 PM

                      @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 Oct 26, 2020, 8:49 PM

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

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Sebastian Roth Oct 26, 2020, 4:33 PM Oct 26, 2020, 10:29 PM

                          @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 Oct 27, 2020, 12:04 PM

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

                            G 1 Reply Last reply Oct 27, 2020, 12:22 PM Reply Quote 0
                            • G
                              george1421 Moderator
                              last edited by Oct 27, 2020, 12:20 PM

                              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
                              • G
                                george1421 Moderator @sjensen
                                last edited by Oct 27, 2020, 12:22 PM

                                @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 Oct 27, 2020, 12:30 PM

                                  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.

                                  G 1 Reply Last reply Oct 27, 2020, 12:38 PM Reply Quote 1
                                  • G
                                    george1421 Moderator @sjensen
                                    last edited by Oct 27, 2020, 12:38 PM

                                    @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 Oct 27, 2020, 1:21 PM

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

                                      G 1 Reply Last reply Oct 27, 2020, 1:30 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @sjensen
                                        last edited by Sebastian Roth Oct 27, 2020, 9:04 AM Oct 27, 2020, 1:30 PM

                                        @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 Oct 27, 2020, 1:38 PM

                                          The issue is fixed. thanks for the help.

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

                                          232

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project