• 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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by Wayne Workman

      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 Reply Quote 0
      • P
        plegrand @Wayne Workman
        last edited by plegrand

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

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @plegrand
          last edited by

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

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Wayne Workman
            last edited by

            @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

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by

              @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
              • Tom ElliottT
                Tom Elliott
                last edited by

                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

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Tom Elliott
                  last edited by

                  @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

                    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

                      @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

                      170

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project