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

    Can't delete images

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    3
    1.6k
    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

      SVN Revision 4477 cloud 5612
      Fedora 23 Server

      SELinux is set to Enforcing per Jbob’s instructions
      Firewalld is turned on per Jbob’s instructions.

      When I unprotect an image, then click the delete link on the left menu, and check the checkbox for Delete file data and then click “Remove:”

      The browser’s progress bar just spins and spins. The data is not deleted.

      And in the log viewer, the Apache Error logs are missing from the drop down selector. None of the logs seem to work.

      Looking at the logs on the OS, I find this:

      [root@fog-server trunk]# tail /var/log/httpd/error_log
      [Wed Dec 02 22:32:53.233879 2015] [:error] [pid 27147] [client 192.168.1.228:59342] PHP Warning:  fopen(/var/log/fog/multicast.log): failed to open stream: Permission denied in /var/www/html/fog/status/logtoview.php on line 15, referer: http://192.168.1.7/fog/management/index.php?node=about&sub=log
      [Wed Dec 02 22:32:56.216670 2015] [:error] [pid 24702] [client 192.168.1.228:59347] PHP Warning:  fopen(/var/log/fog/multicast.log): failed to open stream: Permission denied in /var/www/html/fog/status/logtoview.php on line 15, referer: http://192.168.1.7/fog/management/index.php?node=about&sub=log
      [Wed Dec 02 22:32:57.225838 2015] [:error] [pid 27084] [client 192.168.1.228:59352] PHP Warning:  fopen(/var/log/fog/multicast.log): failed to open stream: Permission denied in /var/www/html/fog/status/logtoview.php on line 15, referer: http://192.168.1.7/fog/management/index.php?node=about&sub=log
      [Wed Dec 02 22:32:59.245748 2015] [:error] [pid 27091] [client 192.168.1.228:59374] PHP Warning:  fopen(/var/log/fog/multicast.log): failed to open stream: Permission denied in /var/www/html/fog/status/logtoview.php on line 15, referer: http://192.168.1.7/fog/management/index.php?node=about&sub=log
      

      There are no Apache errors about deleting the image.

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

        @Jbob @Developers

        Setting SELinux to permissive fixes the issue about deleting the images.
        setenforce 0

        So it’s an SELinux issue.

        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

          As this isn’t really a BUG in FOG or something, I’m solving this thread so people don’t think this is an issue directly relatable to FOG as a whole.

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

          146

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project