SVN 4323 Cloud 5293 Can't Delete Images
-
Running on Fedora 21 fully updated,
Can’t delete images.
I can click on the image name, go to the right sub-menu and click delete, and then check the checkbox for “delete file data”
But the image definition is not deleted and the file data is not deleted.
This is an “unprotected” image.
-
What does the apache log show when you try this?
-
@Joseph-Hales lol was just posting them… here they are.
[Mon Nov 09 13:58:21.951233 2015] [core:notice] [pid 16593] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Tue Nov 10 08:21:23.053999 2015] [:error] [pid 19841] [client 10.2.3.11:50089] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/FOGGetSet.class.php on line 19, referer: http://10.2.1.11/fog/management/index.php?node=image&sub=delete&id=61 [Tue Nov 10 08:22:59.454605 2015] [:error] [pid 16604] [client 10.2.3.11:50101] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/FOGGetSet.class.php on line 19, referer: http://10.2.1.11/fog/management/index.php?node=image&sub=delete&id=61 [Tue Nov 10 08:25:32.394266 2015] [:error] [pid 16603] [client 10.2.3.11:50127] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/FOGGetSet.class.php on line 19, referer: http://10.2.1.11/fog/management/index.php?node=image&sub=delete&id=61 [Tue Nov 10 08:29:07.233340 2015] [:error] [pid 18779] [client 10.2.3.11:50171] PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/FOGGetSet.class.php on line 19, referer: http://10.2.1.11/fog/management/index.php?node=image&sub=delete&id=61
-
svn 4387 cloud 5433 Fedora 21 Server
The image definition now deletes, but the data is left inside of /images. I am checking the checkbox to delete the data.
SELinux is set to permissive so that wouldn’t be blocking it.
This time around, it did not generate a single apache error, I was watching the log live with
tail -f /var/log/httpd/error_log
The only reason I noticed is because I was cleaning house on the home fog server, getting ready to move it all over to a virtualized Fedora 23 server - I was throwing out images I didn’t need to get the space requirements for it down further.
-
You can delete them now. Please update and thanks for reporting.