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

    FOG image drive failed. What now?

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    35
    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.
    • C
      cammykool @george1421
      last edited by

      @george1421 I tried to delete some images now that its all said and done and it just keeps saying Attempting to perform actions. with a Delete and cancel button. Do i let it sit there or do i click delete again? if i do click delete again it just says “Invalid Login”

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

        @cammykool It almost sounds like the permissions on /images and below is now allowing the files to be deleted. The service account fogproject is used to remove the files. If they are owned by root and have the standard permissions of 755 then that would keep the service account from deleting the files. You could change the permission to 777 for the image directories then the ui should be able to delete them. Understand the goal is getting the job done and not security at this point.

        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!

        C 3 Replies Last reply Reply Quote 0
        • C
          cammykool @george1421
          last edited by

          @george1421 do i just run sudo chmod 777 imagefolder

          1 Reply Last reply Reply Quote 0
          • C
            cammykool @george1421
            last edited by

            @george1421 said in FOG image drive failed. What now?:

            @cammykool It almost sounds like the permissions on /images and below is now allowing the files to be deleted. The service account fogproject is used to remove the files. If they are owned by root and have the standard permissions of 755 then that would keep the service account from deleting the files. You could change the permission to 777 for the image directories then the ui should be able to delete them. Understand the goal is getting the job done and not security at this point.

            Just tried pushing my first image. File copy went off perfectly It is hung on Updating Database Another permissions issue?

            george1421G 1 Reply Last reply Reply Quote 0
            • C
              cammykool @george1421
              last edited by

              @george1421 alt text

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

                @cammykool Try rerunning the fog installer script that may fix the permissions on the /images directory. If not, while this is terrible for security you could run chmod -r 777 /images That will set everything in images to read/write. But see if the installer script fixes the perms first.

                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!

                C 2 Replies Last reply Reply Quote 0
                • C
                  cammykool @george1421
                  last edited by

                  @george1421 said in FOG image drive failed. What now?:

                  @cammykool Try rerunning the fog installer script that may fix the permissions on the /images directory. If not, while this is terrible for security you could run chmod -r 777 /images That will set everything in images to read/write. But see if the installer script fixes the perms first.

                  Would that be my updating database issue too?

                  george1421G 1 Reply Last reply Reply Quote 0
                  • C
                    cammykool @george1421
                    last edited by

                    @george1421 doing that changed the error I was getting when uploading and it trying to update the database but it didn’t fix it I’m getting a new error now.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cammykool
                      last edited by

                      So. I have a raw Chromium OS image that produces a 504 error. And my Windows 10 attempt created on a whole new not copied image in fog produced a file not found error. it’s curious if the two images are producing different issues.

                      http://imgur.com/a/4jnF64v

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

                        @cammykool said in FOG image drive failed. What now?:

                        Would that be my updating database issue too?

                        This issue is a bit of a misdirection. It will throw an update database error when it can’t move the directory from /images/dev/<macaddress> to /images/<image_name>. It does this via FTP and logs in using fogproject and the password found in the .fogsettings file (also in the web ui fog settings tftp section)

                        My bet is if you look in the /images/dev directory there will be directories with mac address looking names. These are botched image captures. These directories should only exist during a normal upload.

                        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
                        • george1421G
                          george1421 Moderator @cammykool
                          last edited by

                          @cammykool This image error is related to the php code. Apache off load php (the language the web ui is written in) to php-fpm (dedicated php execution engine). The error you see is apache saying that php-fpm did not answer it was done with the task in time so apache timed out.

                          There may be some clues to what is at fault in /var/log/php-fpm/error.log tail that and see if it tells you what its not liking. If you set the permissions of 777 on /images nothing should stop it from moving files.

                          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!

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cammykool @george1421
                            last edited by

                            @george1421 said in FOG image drive failed. What now?:

                            @cammykool This image error is related to the php code. Apache off load php (the language the web ui is written in) to php-fpm (dedicated php execution engine). The error you see is apache saying that php-fpm did not answer it was done with the task in time so apache timed out.

                            There may be some clues to what is at fault in /var/log/php-fpm/error.log tail that and see if it tells you what its not liking. If you set the permissions of 777 on /images nothing should stop it from moving files.

                            i had my coworker crack away at it. He got them all to delete and we are in good shape! Everything seems to be working and happy!

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

                            208

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project