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

    FTP Host: 192.168.*.* %%%, Error: ftp_rename(): /volume1/images %%%

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    13
    4.5k
    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
      Sebastian M.
      last edited by

      When I try to upload an image to an NFS share mounted from an Synology everything works ok until:

      • Image uploaded

      • Task complete!

             * Unable to move /volume1/images/dev/% to /volume1/images/%
        

      FTP Host: 192.168.%.%, Error: ftp_rename(): /volume1/images/dev/*: No such file or directory

      %=placeholder

      FOG writes the data into the /dev/-folder but can not move it to the /images folder, is that right?

      The folder is there with the .img-files in it. I also tried to make an directory with the name of the image but the message is always the same.

      1 Reply Last reply Reply Quote 0
      • W
        warp
        last edited by

        hello, The NAS Synology share the NFS with “/volumex/” before the name share, and the FTP share only the name.
        This is the problem because in the firts time the image was sent to “/volume1/images/dev/MACADRESSE” and after it is over the FTP must move to “/images”.
        Dont forget there is not “/volume1/” when you acces to the FTP share.

        if you would like to spend a Synology must modify PHP programs (FOGFTP.class.php, Post_Stage2.php) on the 0.33 beta release.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian M.
          last edited by

          Hey,

          what do I have to change at the named files do make it working?

          I found them but I cannot find the desired error message “Unable to move…” or something like that.

          Sebastian

          1 Reply Last reply Reply Quote 0
          • aruhunoA
            aruhuno
            last edited by

            Hello,

            I’ve the same problem with FOG 1.2.0 and Debian 7.9. The complete message is :

            * FOGFTP: Failed to rename file. Remote_Path: /images/2015-08_win10, Local Path: /images/dev/0050569ad368, Error: ftp_rename(): Rename Failed.
            

            Thanks for your help.

            "Parce que la connaissance appartient à tout le monde", inios.fr

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

              @aruhuno said:

              Hello,

              I’ve the same problem with FOG 1.2.0 and Debian 7.9. The complete message is :

              * FOGFTP: Failed to rename file. Remote_Path: /images/2015-08_win10, Local Path: /images/dev/0050569ad368, Error: ftp_rename(): Rename Failed.
              

              Thanks for your help.

              Hi, your storage is on the FOG server or a NAS ?

              aruhunoA 1 Reply Last reply Reply Quote 1
              • aruhunoA
                aruhuno @ch3i
                last edited by aruhuno

                @ch3i Is on FOG server, thanks for your fast reply.

                "Parce que la connaissance appartient à tout le monde", inios.fr

                Wayne WorkmanW ch3iC 2 Replies Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @aruhuno
                  last edited by

                  @aruhuno Check this out, pay special attention to the credentials section: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                  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/

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

                    @aruhuno said:

                    @ch3i Is on FOG server, thanks for your fast reply.

                    Ok, follow @Wayne-Workman link. This article is very usefull 😉

                    1 Reply Last reply Reply Quote 1
                    • aruhunoA
                      aruhuno @Wayne Workman
                      last edited by

                      Thanks @Wayne-Workman and @ch3i !

                      I’m testing my ftp and have a problem

                      root@fogsrv:~# ftp 192.168.0.39
                      Connected to 192.168.0.39.
                      220 (vsFTPd 2.3.5)
                      Name (192.168.0.39:root): fog
                      331 Please specify the password.
                      Password:
                      230 Login successful.
                      Remote system type is UNIX.
                      Using binary mode to transfer files.
                      ftp> ls
                      200 PORT command successful. Consider using PASV.
                      150 Here comes the directory listing.
                      226 Directory send OK.
                      ftp> cd /images
                      250 Directory successfully changed.
                      ftp> ls
                      200 PORT command successful. Consider using PASV.
                      150 Here comes the directory listing.
                      drwxr-xr-x    2 0        0            4096 Jun 11  2014 2014-06-11_Win7ent64
                      drwxrwxrwx    2 0        0            4096 Apr 17 07:16 2015-04_win7_Lenovo
                      drwxr-xr-x    2 0        0            4096 Sep 24 12:17 2015-08_win10
                      drwxrwxrwx    3 0        0            4096 Sep 24 10:51 dev
                      drwxrwxrwx    5 0        0            4096 May 12 09:11 fog_boot
                      drwxrwxrwx    2 0        0           16384 Nov 19  2012 lost+found
                      drwxrwxrwx    2 0        0            4096 Oct 14  2014 postdownloadscripts
                      226 Directory send OK.
                      ftp> put test.txt
                      local: test.txt remote: test.txt
                      200 PORT command successful. Consider using PASV.
                      553 Could not create file.
                      ftp> ls
                      200 PORT command successful. Consider using PASV.
                      150 Here comes the directory listing.
                      drwxr-xr-x    2 0        0            4096 Jun 11  2014 2014-06-11_Win7ent64
                      drwxrwxrwx    2 0        0            4096 Apr 17 07:16 2015-04_win7_Lenovo
                      drwxr-xr-x    2 0        0            4096 Sep 24 12:17 2015-08_win10
                      drwxrwxrwx    3 0        0            4096 Sep 24 10:51 dev
                      drwxrwxrwx    5 0        0            4096 May 12 09:11 fog_boot
                      drwxrwxrwx    2 0        0           16384 Nov 19  2012 lost+found
                      drwxrwxrwx    2 0        0            4096 Oct 14  2014 postdownloadscripts
                      226 Directory send OK.
                      ftp> quit
                      221 Goodbye.
                      

                      "Parce que la connaissance appartient à tout le monde", inios.fr

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

                        @aruhuno Check your your folders rights, all you need is on the wiki : https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

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

                          Change the Folder permissions to ensure they are world writable (or if you’re that worried, ensure the folder and all contents are owned by fog);

                          sudo chmod -R 777 /images (world writable)
                          sudo chown -R fog /images (at least fog owned)

                          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

                          aruhunoA 1 Reply Last reply Reply Quote 1
                          • aruhunoA
                            aruhuno @Tom Elliott
                            last edited by

                            @ch3i: I’m sorry, I don’t see my “images” directory permission are false, it’s ok now!

                            @Tom-Elliott: Yeah, it’s ok now, I don’t understand why their permissions changed… but, it’s ok 🙂

                            Thanks a lot for all !

                            "Parce que la connaissance appartient à tout le monde", inios.fr

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

                              Yeah I marked at solved a 3 years old topic !

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

                              194

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project