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

FOGFTP failed to rename file

Scheduled Pinned Locked Moved Solved
FOG Problems
6
10
5.7k
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.
  • J
    Jetboy
    last edited by Feb 5, 2015, 4:46 PM

    At the close of uploading an image I get this error repeating:
    FOGFTP failed to rename file Remote Path: /images/LenovoE520Laptop, Local path: /images/dev/f0def1ad9bdb, Error: ftp_rename(): Rename failed

    Fog 1.2
    [FONT=arial][RIGHT][B]Operating system[/B][/RIGHT] Ubuntu Linux 12.04.5
    [RIGHT][B]Webmin version[/B][/RIGHT] 1.730
    [RIGHT][B]Kernel and CPU[/B][/RIGHT] Linux 3.2.0-75-generic on x86_64[/FONT]

    1 Reply Last reply Reply Quote 0
    • J
      Joseph Hales Testers
      last edited by Feb 5, 2015, 4:49 PM

      This used to happen when permissions in the images folder were wrong some people recently had issues because they forgot to choose a storage group for the image.

      RTFM

      1 Reply Last reply Reply Quote 0
      • J
        Jetboy
        last edited by Feb 5, 2015, 4:50 PM

        Storage Group set to default.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by Apr 14, 2015, 4:11 PM

          I have the same issue. I’ve checked the password in .fogconfig and Config.class.php. I can log in as the fog user with the password in these files. I can also ftp to localhost with these credentials (user: fog) BUT I cannot rename in FTP using those credentials.

          If I move the temporary folder pulling the image completes. I then move the image to where FOG expects it and can push the image with no problem.

          I’m running FOG 1.2.0 on ubuntu 12.04 with Linux 3.13.0-44-generic x86_64

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Apr 14, 2015, 4:29 PM

            Check your permissions on your /images folder.

            In order to rename, it has to have write permissions.

            Because you can READ (because imaging works), obviously the passwords are correct. It’s just permissions, probably.

            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/

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by Apr 15, 2015, 11:00 PM

              Permissions are 777. The image is written to the temporary folder with the user and group as root. Is this correct? I expected the user and group to be www-data or fog.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Apr 15, 2015, 11:33 PM

                The proper permissions should be:

                [code]sudo chown -R fog:root /tftpboot[/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
                • W
                  Wayne Workman
                  last edited by Apr 15, 2015, 11:38 PM

                  [quote=“Tom Elliott, post: 45594, member: 7271”]The proper permissions should be:

                  [code]sudo chown -R fog:root /tftpboot[/code][/quote]

                  hash-tagging this.
                  #letsmakescripts

                  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/

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by Apr 16, 2015, 3:53 PM

                    The permissions were fog:root in /tftpboot but I changed them to fog:root in my images folder (/images) and it worked! Thanks!

                    B 1 Reply Last reply Aug 16, 2016, 9:05 PM Reply Quote 0
                    • B
                      Buzer1 @A Former User
                      last edited by Aug 16, 2016, 9:05 PM

                      @kevinrigney
                      Did you change them in each of the folders to fog and root?

                      Mine had Me and root. I can’t upload an image.

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

                      160

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project