Open robert5603 opened 2 months ago
This looks like a configuration error - it is trying to scan your entire /home/pi directory for EMWIN files, which is not what you want. Make sure emwinPath
in your config.ini is set to the emwin folder directly.
The server can display images in the full disk, non-CMIP, mesoscale, EMWIN, and NWS graphics sections. I also notice the system info section working just fine as well. However, I receive this error message when attempting to load the current weather section displaying alerts:
Error message for Current Weather:
Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/pi/.pki): failed to open dir: Permission denied in /var/www/html/functions.php:241 Stack trace:
0 [internal function]: RecursiveDirectoryIterator->__construct('/home/pi/.pki', 4128)
1 /var/www/html/functions.php(241): RecursiveDirectoryIterator->getChildren()
2 /var/www/html/dataHandler.php(1341): scandir_recursive('/home/pi', false)
3 {main}
thrown in /var/www/html/functions.php on line 241
Error message in Other EMWIN:
Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/pi/.pki): failed to open dir: Permission denied in /var/www/html/functions.php:241 Stack trace:
0 [internal function]: RecursiveDirectoryIterator->__construct('/home/pi/.pki', 4128)
1 /var/www/html/functions.php(241): RecursiveDirectoryIterator->getChildren()
2 /var/www/html/dataHandler.php(287): scandir_recursive('/home/pi', false)
3 {main}
thrown in /var/www/html/functions.php on line 241
Error message in Hurricane Center:
The server returned bad data:
Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/pi/.pki): failed to open dir: Permission denied in /var/www/html/functions.php:241 Stack trace:
0 [internal function]: RecursiveDirectoryIterator->__construct('/home/pi/.pki', 4128)
1 /var/www/html/functions.php(241): RecursiveDirectoryIterator->getChildren()
2 /var/www/html/dataHandler.php(1097): scandir_recursive('/home/pi', false)
3 {main}
thrown in /var/www/html/functions.php on line 241
Error message in Local Settings:
The server returned bad data:
Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/pi/.pki): failed to open dir: Permission denied in /var/www/html/functions.php:241 Stack trace:
0 [internal function]: RecursiveDirectoryIterator->__construct('/home/pi/.pki', 4128)
1 /var/www/html/functions.php(241): RecursiveDirectoryIterator->getChildren()
2 /var/www/html/dataHandler.php(750): scandir_recursive('/home/pi', false)
3 {main}
thrown in /var/www/html/functions.php on line 241
If there are additional files/resources you need, I am more than happy to send them your way.