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

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

Scheduled Pinned Locked Moved Solved
FOG Problems
2
3
1.0k
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.
  • R
    Rayco
    last edited by Apr 28, 2017, 8:26 PM

    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.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Apr 28, 2017, 9:05 PM

      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.

      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!

      1 Reply Last reply Reply Quote 0
      • R
        Rayco
        last edited by Apr 28, 2017, 11:20 PM

        [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.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        152

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project