• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Mar 12, 2013, 3:35 PM

    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 Mar 12, 2014, 1:27 PM

      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 Mar 12, 2014, 2:45 PM

        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
        • A
          aruhuno
          last edited by Sep 24, 2015, 12:47 PM

          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

          C 1 Reply Last reply Sep 24, 2015, 12:54 PM Reply Quote 0
          • C
            ch3i Moderator @aruhuno
            last edited by Sep 24, 2015, 12:54 PM

            @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 ?

            A 1 Reply Last reply Sep 24, 2015, 1:04 PM Reply Quote 1
            • A
              aruhuno @ch3i
              last edited by aruhuno Sep 24, 2015, 7:10 AM Sep 24, 2015, 1:04 PM

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

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

              W C 2 Replies Last reply Sep 24, 2015, 1:13 PM Reply Quote 0
              • W
                Wayne Workman @aruhuno
                last edited by Sep 24, 2015, 1:13 PM

                @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/

                A 1 Reply Last reply Sep 24, 2015, 2:46 PM Reply Quote 0
                • C
                  ch3i Moderator @aruhuno
                  last edited by Sep 24, 2015, 1:22 PM

                  @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
                  • A
                    aruhuno @Wayne Workman
                    last edited by Sep 24, 2015, 2:46 PM

                    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

                    C 1 Reply Last reply Sep 24, 2015, 2:52 PM Reply Quote 1
                    • C
                      ch3i Moderator @aruhuno
                      last edited by Sep 24, 2015, 2:52 PM

                      @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 Sep 24, 2015, 3:12 PM

                        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

                        A 1 Reply Last reply Sep 28, 2015, 6:20 AM Reply Quote 1
                        • A
                          aruhuno @Tom Elliott
                          last edited by Sep 28, 2015, 6:20 AM

                          @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
                          • C
                            ch3i Moderator
                            last edited by Sep 28, 2015, 7:10 AM

                            Yeah I marked at solved a 3 years old topic !

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

                            188

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project