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

    Fog 1.6.0-beta.2141 remove folder with image

    Scheduled Pinned Locked Moved Solved Bug Reports
    5 Posts 2 Posters 2.5k Views
    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.
    • S
      sgennadi
      last edited by sgennadi

      After creating image, fog remove folder with image in the /images/xxx and not move folder from /images/dev/mac address to /images/xxx

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • S
        sgennadi
        last edited by

        ** WARNING: /etc/exports still exports with no_root_squash.
        ** Captures land as root, so moving the image out of
        ** /images/dev fails with ‘550 Rename failed’.
        ** Replace the /images/dev export options with:
        ** all_squash,anonuid=1002,anongid=1002

        Fixed problem

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

          @sgennadi Can you please provide more information on this?

          Is this still happening in the latest 1.6?

          I’m asking mainly because I’m not sure what is happening:

          What I think I see:
          On image create task gets ready to complete after doing the data gathering:

          It correctly removes the /image/<imageNamePath>
          It does NOT move /images/dev/<macaddress> -> /image/<imageNamePath>

          So a work around exists (as annoying as it may be) that you can manually move the /images/dev/<macaddress> to the image name and that will still work though I agree it should be automated.

          I believe 2141 may have been early on in the moving toward SSH purely for handling image moving and I would hope that this problem is addressed in newer 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! 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 0
          • S
            sgennadi
            last edited by sgennadi

            Problem exists also with latest 1.6 builds…
            I think problem something in my database…
            When fog competed image early I see failed to update database… latest version no error but folder with previous version of image removed
            Task present not removed

            5ab3ea3a-ebaa-4e6e-969e-1997d8d3a978-image.png

            1 Reply Last reply Reply Quote 0
            • S
              sgennadi
              last edited by

              Every time after updating to a new build, the first image works, but the next one doesn’t.

              1 Reply Last reply Reply Quote 0
              • S
                sgennadi
                last edited by

                ** WARNING: /etc/exports still exports with no_root_squash.
                ** Captures land as root, so moving the image out of
                ** /images/dev fails with ‘550 Rename failed’.
                ** Replace the /images/dev export options with:
                ** all_squash,anonuid=1002,anongid=1002

                Fixed problem

                1 Reply Last reply Reply Quote 1
                • Tom ElliottT Tom Elliott has marked this topic as solved
                • 1 / 1
                • First post
                  Last post

                91

                Online

                12.7k

                Users

                17.6k

                Topics

                156.9k

                Posts
                Copyright © 2012-2026 FOG Project