symlink(): Permission denied
Posted: Wed Nov 11, 2020 11:52 am
Ive upgraded from 1.33 to 1.34.22 on Ubuntu 14.04.6 LTS.
Zoneminder still runs fine, but Im trying to turn get zmNinja to connect. In doing so I added user authentication, upon which zmNinja reports "API detection failed". Following the wiki and trying to ensure APIs are set correctly, I didnt get far. So I tried to turn on logging (as the zm log folder was empty). I now get the following error across my ZM screens:
That functions.php file at line 2231 says
the ZM log folder was previously empty but I seem to have at least been able to turn on debug logging which reports:
Can anyone shed any light on why this is happening and how to rectify it?
Zoneminder still runs fine, but Im trying to turn get zmNinja to connect. In doing so I added user authentication, upon which zmNinja reports "API detection failed". Following the wiki and trying to ensure APIs are set correctly, I didnt get far. So I tried to turn on logging (as the zm log folder was empty). I now get the following error across my ZM screens:
Code: Select all
Warning: symlink(): Permission denied in /usr/share/zoneminder/www/includes/functions.php on line 2231
Code: Select all
if ( file_exists(ZM_DIR_CACHE.'/'.$cacheFile) or symlink(ZM_PATH_WEB.'/'.$file, ZM_DIR_CACHE.'/'.$cacheFile) ) {
Code: Select all
and ZM_PATH_WEB is /usr/share/zoneminder/www whose permissions are drwxr-xr-x www-data root
Code: Select all
11/11/20 21:40:04.808372 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/css/base/views/options.css to skins_classic_css_base_views_options-classic-1603135352.css] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:04.850185 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/js/dateTimePicker/jquery-ui-timepicker-addon.css to skins_classic_js_dateTimePicker_jquery-ui-timepicker-addon-classic-1603135352.css] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:04.892032 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/js/jquery-ui-1.12.1/jquery-ui.structure.min.css to skins_classic_js_jquery-ui-1.12.1_jquery-ui.structure.min-classic-1603135352.css] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:04.933889 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/css/classic/skin.css to skins_classic_css_classic_skin-classic-1603135352.css] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:04.975810 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/css/classic/views/options.css to skins_classic_css_classic_views_options-classic-1603135352.css] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:05.017542 web_php[16507].WAR [192.168.4.60] [Failed linking js/Server.js to js_Server-classic-1603135352.js] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:05.059592 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/views/js/state.js to skins_classic_views_js_state-classic-1603135352.js] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:05.093117 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/js/classic.js to skins_classic_js_classic-classic-1603135352.js] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:05.126617 web_php[16507].WAR [192.168.4.60] [Failed linking skins/classic/js/skin.js to skins_classic_js_skin-classic-1603135352.js] at /usr/share/zoneminder/www/includes/functions.php line 2234
11/11/20 21:40:05.161266 web_php[16507].WAR [192.168.4.60] [Failed linking js/logger.js to js_logger-classic-1603135352.js] at /usr/share/zoneminder/www/includes/functions.php line 2234