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

    Multiple problems with FOG after Upgrade.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    45
    16.8k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Sounds NFS related, or permissions related.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • D
        DarkEnergy
        last edited by DarkEnergy

        @Wayne

        Please in light me. I have checked all the permissions.
        For /images directory:

        drwxrwxrwx 2 fog fog 4096 Oct 20 2014 postdownloadscripts
        drwxrwxrwx 2 fog fog 4096 Oct 22 2014 Windows764HH2Agents_Full
        drwxrwxrwx 2 fog fog 4096 Nov 7 2014 ASUSX55ASYSPREPNEW
        -rwxrwxrwx 1 fog fog 31694514822 Nov 24 2014 JohnBossSystem
        drwxrwxrwx 2 fog fog 4096 Dec 8 20:07 ASUSX54CSYSPREP
        drwxrwxrwx 2 fog fog 4096 Jan 5 18:21 HPCompaqDX2400SYSPREPW8160GiB
        drwxrwxrwx 2 fog fog 4096 Jan 27 12:39 LenovoTouchB5030Factory
        drwxrwxrwx 2 fog fog 4096 Jan 28 19:05 ACERVeritonM2611GFactory
        drwxrwxrwx 2 fog fog 4096 Feb 19 18:18 ACERVeritonM2611GSYSPREPCHRM
        drwxrwxrwx 2 fog fog 4096 Mar 4 16:48 ACERVeritonM2611GSYSPREPCHRM500GiB
        drwxrwxrwx 2 fog fog 4096 Mar 13 12:05 HPPRO3000MTSYSPREPCHRM
        drwxrwxrwx 2 fog fog 4096 Mar 13 12:43 HPCompaqDX2400SYSPREP
        drwxrwxrwx 2 fog fog 4096 Mar 13 13:47 ACERVeritonM275SYSPREPCHRM
        drwxrwxrwx 2 fog fog 4096 Mar 20 12:32 ACERVeritonM275SYSPREPQA
        drwxrwxrwx 2 fog fog 4096 Apr 7 18:10 HPPROMODX5700SYSPREPCHRM
        drwxrwxrwx 2 fog fog 4096 Apr 9 20:30 HPPROMODX5700SYSPREPLDAPFULL80GiB
        drwxrwxrwx 2 fog fog 4096 Apr 27 13:53 HPCompaqDX2400SYSPREPLDAP160Gi
        drwxrwxrwx 2 fog fog 4096 Apr 28 18:22 ACERVeritonM2611GSYSPREPMSO13FullCon
        drwxrwxrwx 2 fog fog 4096 May 7 19:18 ACERVeritonM2611GSYSPREPLDAP500GiB
        drwxrwxrwx 2 fog fog 4096 May 13 19:04 LenovoTouchB50SYSPREPCHRM
        drwxrwxrwx 2 fog fog 4096 May 14 18:34 DELLOptiplex780160GiB
        drwxrwxrwx 2 fog fog 4096 May 21 17:53 HPCompaqDX2400SYSPREPLDAP80Gi
        drwxrwxrwx 2 fog fog 4096 May 21 17:58 HPPROMODX5700SYSPREPLDAP80GiB
        drwxrwxrwx 2 fog fog 4096 May 21 19:00 ACERVeritonM275SYSPREPLDAP160GiB
        drwxrwxrwx 2 fog fog 4096 May 27 15:51 LenovoTouchB50FULLLDAP500GiB
        drwxrwxrwx 2 fog fog 4096 May 28 11:18 ACERVeritonM2611GSYSPREPSPRLDAP
        drwxrwxrwx 2 fog fog 4096 May 29 10:41 DELLOptiplex780Training160GiB
        drwxrwxrwx 2 fog fog 4096 May 29 11:14 dev

        For /tftpboot directory:

        -rw-r–r-- 1 fog fog 840 Jun 2 11:10 boot.txt
        -rw-r–r-- 1 fog fog 329703 Jun 2 11:10 ipxe.kpxe
        -rw-r–r-- 1 fog fog 329655 Jun 2 11:10 ipxe.kkpxe
        -rw-r–r-- 1 fog fog 892032 Jun 2 11:10 ipxe.efi
        -rw-r–r-- 1 fog fog 89107 Jun 2 11:10 intel.pxe
        -rw-r–r-- 1 fog fog 89171 Jun 2 11:10 intel.kpxe
        -rw-r–r-- 1 fog fog 89123 Jun 2 11:10 intel.kkpxe
        -rw-r–r-- 1 fog fog 171296 Jun 2 11:10 intel.efi
        drwxr-xr-x 2 fog fog 4096 Jun 2 11:10 i386-efi
        -rw-r–r-- 1 fog fog 29728 Jun 2 11:10 vesamenu.c32
        -rw-r–r-- 1 fog fog 88867 Jun 2 11:10 undionly.pxe
        -rw-r–r-- 1 fog fog 88825 Jun 2 11:10 undionly.kpxe
        -rw-r–r-- 1 fog fog 88777 Jun 2 11:10 undionly.kkpxe
        -rw-r–r-- 1 fog fog 170272 Jun 2 11:10 snponly.efi
        -rw-r–r-- 1 fog fog 170112 Jun 2 11:10 snp.efi
        -rw-r–r-- 1 fog fog 90087 Jun 2 11:10 realtek.pxe
        -rw-r–r-- 1 fog fog 90072 Jun 2 11:10 realtek.kpxe
        -rw-r–r-- 1 fog fog 90024 Jun 2 11:10 realtek.kkpxe
        -rw-r–r-- 1 fog fog 170912 Jun 2 11:10 realtek.efi
        drwxr-xr-x 2 fog fog 4096 Jun 2 11:10 pxelinux.cfg
        -rw-r–r-- 1 fog fog 43210 Jun 2 11:10 pxelinux.0.old
        -rw-r–r-- 1 fog fog 43210 Jun 2 11:10 pxelinux.0
        -rw-r–r-- 1 fog fog 29208 Jun 2 11:10 menu.c32
        -rw-r–r-- 1 fog fog 26140 Jun 2 11:10 memdisk
        -rw-r–r-- 1 fog fog 123448 Jun 2 11:10 ldlinux.c32
        -rw-r–r-- 1 fog fog 329836 Jun 2 11:10 ipxe.pxe
        -rw-r–r-- 1 fog fog 329175 Jun 2 11:10 ipxe.krn
        -rw-r–r-- 1 fog fog 402 Jun 2 11:10 default.ipxe

        1 Reply Last reply Reply Quote 0
        • ch3iC
          ch3i Moderator @DarkEnergy
          last edited by

          @DarkEnergy said:

          Hi there to all of you FOGGERS.
          I am now having issues randomly with some other images.
          I am getting and error:
          " An error has been detected!
          Image failed to restored
          Computer will reboot in 1 minute"

          The error is after Partclone try to access the image.

          Partclone v0.2.78 http://partclone.org
          Starting to resotre image (-) to device (/dev/sda1)
          device (/dev/sda1) is mounted at
          error exit

          To save some time I have checked the password in the storage and also the TFTP sever and they are all good, I have also reset the password for fog user to the same as the one for the storage and the TFTP, plus check all the permissions on the file system set to 777 and still no go.

          I have been having problems sine the fist update I did to the server.
          Is there a way to just keep the images, destroy the server and reinstall FOG back to the original configuration in 1.2.0 without any of the updates. The last schema change in MySQL was the one giving me the issue since then I haven’t been able to get FOG were it was.

          Thanks for all you help.

          It’s a partclone image or an old partimage ?

          1 Reply Last reply Reply Quote 0
          • D
            DarkEnergy
            last edited by

            @ch3i
            I am not sure what are you asking me. The only FOG I have used is 1.2.0. I am not sure if the image was created with partimage. I can tell you for sure that some images work some other don’t.

            ch3iC 1 Reply Last reply Reply Quote 0
            • ch3iC
              ch3i Moderator @DarkEnergy
              last edited by ch3i

              @DarkEnergy said:

              @ch3i
              I am not sure what are you asking me. The only FOG I have used is 1.2.0.

              Partclone 😄

              1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @DarkEnergy
                last edited by

                @DarkEnergy Can you list file in /images/image_that_restore_bug ?

                1 Reply Last reply Reply Quote 0
                • D
                  DarkEnergy
                  last edited by

                  @ch3i
                  You meant the imaging software, got you!!!
                  If there is a way to view a FOG log I can confirm or deny your answer, otherwise I will have to take your word for. My major concern is how to fix it if there is a way.

                  ch3iC 1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @DarkEnergy
                    last edited by

                    @DarkEnergy said:

                    @ch3i
                    You meant the imaging software, got you!!!
                    If there is a way to view a FOG log I can confirm or deny your answer, otherwise I will have to take your word for. My major concern is how to fix it if there is a way.

                    If you have old image before 1.2, the FOG_FORMAT_FLAG_IN_GUI display the information in the image details.

                    1 Reply Last reply Reply Quote 0
                    • D
                      DarkEnergy
                      last edited by

                      @ch3i
                      Looking at the image info, I got:
                      "Deploy Method

                      Partclone"

                      I am thinking the image should be ok as it is created with Partclone as well. After looking a several of my images, there are all created with Partclone imaging software.

                      How do I fix the issue?

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @DarkEnergy
                        last edited by

                        @DarkEnergy said:

                        @ch3i
                        Looking at the image info, I got:
                        "Deploy Method

                        Partclone"

                        I am thinking the image should be ok as it is created with Partclone as well. After looking a several of my images, there are all created with Partclone imaging software.

                        How do I fix the issue?

                        Partclone is not an issue. Could you ls -l /images/a_bugged_restored_image

                        1 Reply Last reply Reply Quote 0
                        • D
                          DarkEnergy
                          last edited by

                          @ch3i
                          I already did a ls -ltr which display all the folders and subfolders under /images.
                          You are requesting another listing of the directories in a listing format. Which would be almost the same as the one I already provided.

                          ch3iC Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @DarkEnergy
                            last edited by ch3i

                            @DarkEnergy said:

                            @ch3i
                            I already did a ls -ltr which display all the folders and subfolders under /images.
                            You are requesting another listing of the directories in a listing format. Which would be almost the same as the one I already provided.

                            I’ve a hard day today, where ???

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              Could you please do a debug deployment? There are instructions for this in the “Troubleshooting NFS” WiKi article. https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS#Using_a_FOG_debug_deployment_for_testing_.28easy_.26_quick_way.29

                              There are some instructions in there for testing upload and download. Can you please follow those and see if they are successful?

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • D
                                DarkEnergy
                                last edited by DarkEnergy

                                @Wayne-Workman
                                Can you please clarify couple of point on this Wiki? Where is the directory being created? Where is the test.txt file located? is this in the server or in the client? Is this a SSH session to the server?
                                Currently I am getting an error but I am not sure if it is because I haven’t created the test.txt file.
                                The error is:
                                cp: cannot stat '/images/test.txt: no such file or directory

                                @Wayne-Workman
                                Scratch the above, I was blind and lazy not to ready the whole article. I missed one point.
                                I was able to copy the text.txt file from /images to /images/dev/ through the client.
                                Anything else you would like me to try?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DarkEnergy
                                  last edited by

                                  @ch3i
                                  No biggie. I totally understand.
                                  It is below, scroll down until you see big bold letters for tftpboot directory.
                                  The posts have not number so, it is hard to said exactly where.

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

                                    https://forums.fogproject.org/topic/4997/multiple-problems-with-fog-after-upgrade/19#
                                    @ch3i said:

                                    @DarkEnergy said:

                                    @ch3i
                                    I already did a ls -ltr which display all the folders and subfolders under /images.
                                    You are requesting another listing of the directories in a listing format. Which would be almost the same as the one I already provided.

                                    I’ve a hard day today, where ???

                                    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 1
                                    • Wayne WorkmanW
                                      Wayne Workman @DarkEnergy
                                      last edited by Wayne Workman

                                      @DarkEnergy said:

                                      @ch3i
                                      I already did a ls -ltr which display all the folders and subfolders under /images.
                                      You are requesting another listing of the directories in a listing format. Which would be almost the same as the one I already provided.

                                      The sub-folders are not included in your post.

                                      ch3i was specifically wanting to see the permissions on the files inside the directory of a bad image - And I want to see them too.

                                      Please post the ENTIRE output of this, do not cut anything out:

                                      [CODE]ls -laR /images[/CODE]

                                      If it’s too big to post, put the output into a txt file and upload here. I still think it’s permissions related.

                                      It should also be noted that a simple following of recommended permissions would solve any issues with permissions:
                                      [CODE]sudo chmod -R 777 /images[/CODE]

                                      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!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DarkEnergy
                                        last edited by

                                        @Wayne-Workman
                                        In my post https://forums.fogproject.org/topic/4997/multiple-problems-with-fog-after-upgrade/10?page=2 it is described the permission in UNIX/Linux and how they are calculated.

                                        The more I try to use the images the more I discover issues with FOG, now I am getting that the MBR is corrupted and the cannot be downloaded.One of the systems is getting stock at
                                        Using Hard Disk: /dev/sda
                                        and does not continue to the next step until I pressed enter then I get:
                                        Saving Partition Table (GPT)…Invalid Partition DATA!

                                        This happens during upload of a new image. I have deleted the old image and created a new one and still having issues.

                                        I don’t see a way to upload a file here. In the old site it was easy to see the u
                                        pload but in this new site I am still looking for the upload button to upload either riles or images.

                                        How ever the current permission is sett 777 as under fog and group root to /images. I am not sure what would be the other way.

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

                                          @DarkEnergy Your particular upload issue means the disk has GPT partitions on them where they’re not expected to be.

                                          The current inits attempt to see and fix this for you, but it seems that isn’t working. You will need to put system you’re trying to upload from in an upload-debug state. Once at the prompt, run fixparts and accept the things it asks.

                                          From there, once fixed, you can type fog and it should begin the upload process without hanging.

                                          To upload a file, there is an icon that has an up-arrow on it. Hopefully that helps.

                                          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 1
                                          • D
                                            DarkEnergy
                                            last edited by

                                            @Wayne-Workman
                                            Files permissions are inherited from the folders unless manually modified. As Tom recommended earlier using the chmod -R which the -R is for recursive with indicates all folders, subfolders and files.

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

                                            200

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project