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

    SVN 2580 : move files from /dev to /NAMEOFIMAGE

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    20
    5.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Try upgrading?

      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
      • P
        pmonstad
        last edited by

        I have exact the same problem. The problem has been around since I moved the image folder from /images to /home/images. The files are not moved from dev after upload has completed.

        When I check permissions etc I find:

        before upload the folder /home/images/t500 exists as expected (probably because I moved it manually last time I created an upload). This folder/files have 777 and ownership apache:apache. (running on centos 6). When upload has completed this folder is deleted and I guess it fails when moving the mac-address-folder inside dev folder. The mac-address inside dev folder has permissions 777 and ownership root:root.

        I have to move it manually and change ownership.

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

          [quote=“pmonstad, post: 39148, member: 17422”]I have exact the same problem. The problem has been around since I moved the image folder from /images to /home/images. The files are not moved from dev after upload has completed.

          When I check permissions etc I find:

          before upload the folder /home/images/t500 exists as expected (probably because I moved it manually last time I created an upload). This folder/files have 777 and ownership apache:apache. (running on centos 6). When upload has completed this folder is deleted and I guess it fails when moving the mac-address-folder inside dev folder. The mac-address inside dev folder has permissions 777 and ownership root:root.

          I have to move it manually and change ownership.[/quote]

          The same, since I move images from /images >> /fogimages

          Regards,
          Ch3i.

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

            okay
            make sure permissions are recusively set properly:

            [code]sudo touch /fogimages/.mntcheck
            sudo touch /fogimages/dev/.mntcheck
            sudo chmod -R 777 /fogimages/
            [/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! 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
            • P
              pmonstad
              last edited by

              I have set permissions recursively.

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

                Is the path set correctly in the relevant node dealing with the images folder?

                Meaning:

                From Storage Management->All Storage Nodes-><Relevant Node Here>->Image Path set to /fogimages or /home/images?

                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
                • ch3iC
                  ch3i Moderator
                  last edited by

                  [quote=“Tom Elliott, post: 39184, member: 7271”]Is the path set correctly in the relevant node dealing with the images folder?

                  Meaning:

                  From Storage Management->All Storage Nodes-><Relevant Node Here>->Image Path set to /fogimages or /home/images?[/quote]

                  Hi,

                  [B]Image Path set to /fogimages[/B]

                  Regards,
                  Ch3i.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pmonstad
                    last edited by

                    It is set correct here too.

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

                      Have you connected to the node/server that’s not moving the files via FTP?

                      As the FTP user, were you able to copy move the files where necessary.

                      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
                      • ch3iC
                        ch3i Moderator
                        last edited by

                        [quote=“Tom Elliott, post: 39189, member: 7271”]Have you connected to the node/server that’s not moving the files via FTP?

                        As the FTP user, were you able to copy move the files where necessary.[/quote]

                        With a ftp client I have no problem to move the files.

                        Regads,
                        Ch3i.

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

                          Are you using Rename or Put?

                          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
                          • ch3iC
                            ch3i Moderator
                            last edited by

                            [quote=“Tom Elliott, post: 39191, member: 7271”]Are you using Rename or Put?[/quote]

                            RNTO : Rename ?

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

                              Sorry to resurrect a slightly old thread - did you manage to resolve this?

                              I am seeing the same behaviour on our new fog install with separate storage nodes - have tried all the following:
                              [LIST]
                              []checked ftp to storage node using details from Storage Management page, both from remote machine and from Fog Management server, and successfully used ftp rename to move the images/dev/<mac> folder to images/<imagename>
                              [
                              ]set permissions on image store to 777 and have tried both fog:root and root:root
                              [*]my image store is not at the default location - have tried setting it in the Storage Management page, and have also tried creating a symlink to it from /images
                              [/LIST]
                              I’m using Fog v1.2.0. Our Management Server is Ubuntu 12.04 and our storage nodes are CentOS 6.6

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

                                2590 is QUITE along way off of 1.2.0.

                                Please check your fog user and password on the server as well as in Storage Management.

                                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
                                • P
                                  pmonstad
                                  last edited by

                                  I still have this problem. Running a 14 days old SVN (-+ 1 week) on Centos where images are put in the home folder. problem have been there since I moved images, and all settings seems to be OK.

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

                                    ftp doesn’t in your case.

                                    have you tried logging via ftp to the system (directly) to see if there’s an error being reported during connection?

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

                                      [quote=“Tom Elliott, post: 39749, member: 7271”]2590 is QUITE along way off of 1.2.0.

                                      Please check your fog user and password on the server as well as in Storage Management.[/quote]

                                      Sorry - I missed that this thread is related to SVN 2580 specifically - I’ll open a separate thread.

                                      Thanks,
                                      David

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pmonstad
                                        last edited by

                                        [quote=“Tom Elliott, post: 39751, member: 7271”]ftp doesn’t in your case.

                                        have you tried logging via ftp to the system (directly) to see if there’s an error being reported during connection?[/quote]

                                        I can do some testing if I can have some help what to do, like a small step-by-step guide.

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

                                        225

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project