ERROR 500 after extract iso file in to /var/www/html/



  • Server
    • FOG Version: 1.3.5
    • OS: Debian 8
    Client
    • Service Version:
    • OS:
    Description

    Hello.

    I’m following this manual; ( https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu ) for integrate HIRENS in iPXE Boot Menu, but when I extract ISO file in to “/var/www/html/pmagic/” folder, website show me a “ERROR 500”. Then I delete this folder “/pmagic”, and website return to work fine.

    I need re-install fog? migrate to trunk?

    Apache is ok al all times.



  • [Sat Apr 29 00:00:34.054499 2017] [:error] [pid 1136] [client 192.168.67.11:61226] PHP Fatal error: Uncaught exception ‘UnexpectedValueException’ with message ‘RecursiveDirectoryIterator::__construct(/var/www/html/fog/service/ipxe/iso/asus/EFI/Microsoft): failed to open dir: Permission denied’ in /var/www/fog/commons/init.php:125\nStack trace:\n#0 [internal function]: RecursiveDirectoryIterator->__construct(’/var/www/html/f…’, 4096)\n#1 [internal function]: RecursiveDirectoryIterator->getChildren()\n#2 [internal function]: FilterIterator->next()\n#3 /var/www/fog/commons/init.php(125): iterator_to_array(Object(RegexIterator), true)\n#4 /var/www/fog/commons/init.php(344): Initiator->__construct()\n#5 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()\n#6 /var/www/fog/management/index.php(22): require(’/var/www/fog/co…’)\n#7 {main}\n thrown in /var/www/fog/commons/init.php on line 125

    You were right. They were just permission problems. Sorry for the silly question.

    “sudo chmod -R folder/” , for repair.

    Thanks for the fast response.


  • Moderator

    This is not a fog problem specifically since fog uses /fog and has nothing to do with the /pmagic directory. I might think that apache may not be happy with that directory if it can’t access it.
    When apache throws the error 500 message, check the tail of the apache error.log to see why apache is not happy.


Log in to reply
 

393
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.