having problem access the API and getting a cakephp error - aswell i see som weird errors on the logs.
the web gui is working fine, aswell the recording
lastest docker image from here, on ubuntu 17.10
docker-compose build --no-cache with the docker-compose file below
version: '3'
services:
zoneminder:
build: .
container_name: zoneminder_ioserver
restart: always
ports:
- 8000:80
environment:
- PGID=1001
- PUID=1001
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/nico/docker/zoneminder_docker/config:/config
- /mnt/qnap/CCTV:/data
shm_size: 4096M
/docker/zoneminder_docker/config/log/zoneminder$ tail cake_error.log
#3 [internal function]: App::shutdown()
#4 {main}
2018-05-08 21:55:50 Error: Fatal Error (64): require_once() [<a href='http://php.net/function.require'>function.require</a>]: Failed opening required '../../../includes/config.php' (include_path='.:/usr/share/php') in [/usr/share/webapps/zoneminder/htdocs/api/app/Config/bootstrap.php, line 123]
2018-05-08 21:55:50 Error: [FatalErrorException] require_once() [<a href='http://php.net/function.require'>function.require</a>]: Failed opening required '../../../includes/config.php' (include_path='.:/usr/share/php')
Stack Trace:
#0 /usr/share/webapps/zoneminder/htdocs/api/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError(64, 'require_once() ...', '/usr/share/weba...', 123)
#1 /usr/share/webapps/zoneminder/htdocs/api/lib/Cake/Core/App.php(970): ErrorHandler::handleError(64, 'require_once() ...', '/usr/share/weba...', 123, Array)
#2 /usr/share/webapps/zoneminder/htdocs/api/lib/Cake/Core/App.php(943): App::_checkFatalError()
#3 [internal function]: App::shutdown()
#4 {main}
nico@hassio:~/docker/zoneminder_docker/config/log/zoneminder$ tail apache-error.log
[Tue May 08 22:15:33.945503 2018] [:error] [pid 334] [client 192.168.1.107:19268] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.051456 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.052811 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.053941 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.055028 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.056135 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.057190 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.058289 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.059846 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php
[Tue May 08 22:16:35.060969 2018] [:error] [pid 329] [client 192.168.1.107:19278] PHP Warning: symlink(): No such file or directory in /usr/share/webapps/zoneminder/htdocs/includes/functions.php on line 2056, referer: http://192.168.1.4:8000/index.php