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

FTP Delete an image - failing

Scheduled Pinned Locked Moved Solved
Bug Reports
5
9
3.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.
  • W
    Wayne Workman
    last edited by Wayne Workman Jun 16, 2016, 8:08 PM Jun 17, 2016, 1:59 AM

    We’ve had this issue at work for a while, I decided to investigate at home. At home, I’m running the latest as of now,

    Trunk 8149

    I tried to delete an image and it’s data and all files for the image remain.

    Here are apache error logs:

    10.0.196.78:51004] PHP Warning: ftp_chmod(): SITE CHMOD command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 31
    [Thu Jun 16 19:53:01.871829 2016] [:error] [pid 25995] [client 10.0.196.78:51004] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 58
    [Thu Jun 16 19:53:01.827047 2016] [:error] [pid 25995] [client 10.0.196.78:51004] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 172
    [Thu Jun 16 19:53:01.812505 2016] [:error] [pid 25995] [client 10.0.196.78:51004] PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 58
    

    I also don’t think they are permissions related, either:

    [root@fog-server images]# ls -lahRt Lenovo_L530_Ubuntu_15
    Lenovo_L530_Ubuntu_15:
    total 1.7G
    drwxrwxrwx. 15 fog root 4.0K Jun 16 19:53 ..
    -rwxrwxrwx.  1 fog root   47 Mar  5 08:47 d1.original.swapuuids
    -rwxrwxrwx.  1 fog root  512 Mar  5 08:47 d1p2.ebr
    drwxrwxrwx.  2 fog root  225 Mar  5 08:47 .
    -rwxrwxrwx.  1 fog root 1.7G Mar  5 08:47 d1p1.img
    -rwxrwxrwx.  1 fog root  512 Mar  5 08:45 d1p5.ebr
    -rwxrwxrwx.  1 fog root  250 Mar  5 08:45 d1.minimum.partitions
    -rwxrwxrwx.  1 fog root 1.0M Mar  5 08:45 d1.mbr
    -rwxrwxrwx.  1 fog root    0 Mar  5 08:45 d1.has_grub
    -rwxrwxrwx.  1 fog root   16 Mar  5 08:39 d1.original.fstypes
    -rwxrwxrwx.  1 fog root  250 Mar  5 08:39 d1.partitions
    -rwxrwxrwx.  1 fog root    6 Mar  5 08:39 d1.fixed_size_partitions
    

    I can also upload still just fine. Nothing lingering in MY /images/dev directory! Same story at work, we can still upload fine.

    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/

    P 1 Reply Last reply Jun 17, 2016, 6:28 AM Reply Quote 0
    • P
      plegrand @Wayne Workman
      last edited by plegrand Jun 17, 2016, 12:29 AM Jun 17, 2016, 6:28 AM

      @Wayne-Workman did you try with an ftp client ? to see if it works ?
      Could it be because the file is in use somewhere else ?

      W 1 Reply Last reply Jun 17, 2016, 12:22 PM Reply Quote 0
      • W
        Wayne Workman @plegrand
        last edited by Jun 17, 2016, 12:22 PM

        @plegrand said in FTP Delete an image - failing:

        @Wayne-Workman did you try with an ftp client ? to see if it works ?

        Nope. I assume it’s good since I can still upload at home, and we can still upload at work.

        Could it be because the file is in use somewhere else ?

        At home, doubtful. Doubtful at work too.

        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/

        T 1 Reply Last reply Jun 17, 2016, 1:29 PM Reply Quote 0
        • T
          Tom Elliott @Wayne Workman
          last edited by Jun 17, 2016, 1:29 PM

          @Wayne-Workman Should be fixed now.

          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

          W 1 Reply Last reply Jun 17, 2016, 1:32 PM Reply Quote 1
          • W
            Wayne Workman @Tom Elliott
            last edited by Jun 17, 2016, 1:32 PM

            @Tom-Elliott just in time to update.

            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
            • T
              Tom Elliott
              last edited by Jun 21, 2016, 12:07 PM

              Is this fixed now?

              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

              W 1 Reply Last reply Jun 21, 2016, 12:10 PM Reply Quote 0
              • W
                Wayne Workman @Tom Elliott
                last edited by Jun 21, 2016, 12:10 PM

                @Tom-Elliott i think. I haven’t heard any complaints.

                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
                • D
                  ddavis
                  last edited by Jul 7, 2016, 12:25 PM

                  I’m still having this issue. I recently updated to version 8415 but I am still getting the following errors,

                  PHP Warning: ftp_chmod(): SITE CHMOD command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 31

                  PHP Warning: ftp_delete(): Delete operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 58

                  PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 172

                  PHP Warning: strpos(): Empty needle in /var/www/html/fog/service/progress.php on line 22

                  These are not the only errors I get but I’ll start there.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Jul 8, 2016, 12:10 PM

                    @ddavis I am sure you’ve gone through the tutorial on FTP issues, have you? https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                    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
                    • 1 / 1
                    • First post
                      Last post

                    208

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project