• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • C
    ch3i Moderator
    last edited by Nov 7, 2014, 7:28 AM

    Hi,

    I don’t know if it’s a bug or problem on my setup. After the upload of the image I have this :

    [CODE]Task Complete !
    *
    *
    *
    *
    *
    *[/CODE]

    And the image isn’t move to the final image folder. I’ll try to connect on the fog server with FTP and move files without problem.

    Regards,
    Ch3i.

    1 Reply Last reply Reply Quote 0
    • C
      ch3i Moderator
      last edited by Nov 17, 2014, 10:12 AM

      Hi,

      Any idea ?

      Regards,
      Ch3i.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Nov 17, 2014, 10:47 AM

        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 Nov 17, 2014, 2:24 PM

          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
          • C
            ch3i Moderator
            last edited by Nov 17, 2014, 3:16 PM

            [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
            • T
              Tom Elliott
              last edited by Nov 17, 2014, 3:22 PM

              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 Nov 18, 2014, 7:16 AM

                I have set permissions recursively.

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Nov 18, 2014, 10:53 AM

                  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
                  • C
                    ch3i Moderator
                    last edited by Nov 18, 2014, 11:26 AM

                    [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 Nov 18, 2014, 12:55 PM

                      It is set correct here too.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Nov 18, 2014, 12:57 PM

                        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
                        • C
                          ch3i Moderator
                          last edited by Nov 18, 2014, 1:18 PM

                          [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
                          • T
                            Tom Elliott
                            last edited by Nov 18, 2014, 1:20 PM

                            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
                            • C
                              ch3i Moderator
                              last edited by Nov 18, 2014, 1:53 PM

                              [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 Dec 8, 2014, 5:41 PM

                                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
                                • T
                                  Tom Elliott
                                  last edited by Dec 8, 2014, 5:50 PM

                                  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 Dec 8, 2014, 6:50 PM

                                    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
                                    • T
                                      Tom Elliott
                                      last edited by Dec 8, 2014, 6:55 PM

                                      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 Dec 9, 2014, 9:58 AM

                                        [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 Dec 9, 2014, 11:52 AM

                                          [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

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project