ispconfig + zoneminder no video content

Discussion in 'Installation/Configuration' started by ptroms, Dec 14, 2020.

  1. ptroms

    ptroms Member

    Recently I have add zoneminder on top of ispconfig.
    Installation went well.
    No errors in zoneminder, apache, syslog except apache restart log sequence:
    error.log
    [ 2020-12-14 08:36:58.3507 14644/7f6a88ac8980 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2020-12-14 08:36:58.3638 14647/7ff14ec2e980 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2020-12-14 08:36:58.3640 14647/7ff14ec2e980 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2020-12-14 08:36:58.3656 14647/7ff14ec2e980 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 14647
    [ 2020-12-14 08:36:58.3832 14659/7f17a338a980 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2020-12-14 08:36:58.3853 14659/7f17a338a980 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 14659
    [Mon Dec 14 08:36:58.387872 2020] [suexec:notice] [pid 14642] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)

    [ 2020-12-14 08:36:58.3892 14647/7ff14e261700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2020-12-14 08:36:58.3892 14659/7f17a328b700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
    [ 2020-12-14 08:36:58.3893 14659/7f17a338a980 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2020-12-14 08:36:58.3893 14647/7ff14ec2e980 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
    [ 2020-12-14 08:36:58.3894 14659/7f17a328b700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
    [ 2020-12-14 08:36:58.3895 14647/7ff14e261700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
    [ 2020-12-14 08:36:58.3896 14647/7ff14d9df700 Ser/Server.h:817 ]: [ServerThr.2] Freed 128 spare client objects
    [ 2020-12-14 08:36:58.3896 14647/7ff14e261700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
    [ 2020-12-14 08:36:58.3896 14647/7ff14d9df700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished
    [ 2020-12-14 08:36:58.3896 14659/7f17a2a09700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
    [ 2020-12-14 08:36:58.3897 14659/7f17a2a09700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
    [ 2020-12-14 08:36:58.3897 14647/7ff14d15d700 Ser/Server.h:817 ]: [ServerThr.3] Freed 128 spare client objects
    [ 2020-12-14 08:36:58.3897 14647/7ff14d15d700 Ser/Server.h:464 ]: [ServerThr.3] Shutdown finished
    [ 2020-12-14 08:36:58.3898 14647/7ff11ffff700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
    [ 2020-12-14 08:36:58.3898 14647/7ff11ffff700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
    [ 2020-12-14 08:36:58.3898 14647/7ff14c8db700 Ser/Server.h:817 ]: [ServerThr.4] Freed 128 spare client objects
    [ 2020-12-14 08:36:58.3898 14647/7ff14c8db700 Ser/Server.h:464 ]: [ServerThr.4] Shutdown finished
    [ 2020-12-14 08:36:58.3905 14659/7f17a338a980 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
    [ 2020-12-14 08:36:58.4390 14678/7fa354eca980 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
    [ 2020-12-14 08:36:58.4518 14681/7f98f9824980 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
    [ 2020-12-14 08:36:58.4520 14681/7f98f9824980 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
    [ 2020-12-14 08:36:58.4520 14647/7ff14ec2e980 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
    [ 2020-12-14 08:36:58.4538 14681/7f98f9824980 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 14681
    [ 2020-12-14 08:36:58.4715 14688/7f692d35b980 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
    [ 2020-12-14 08:36:58.4737 14688/7f692d35b980 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 14688
    [Mon Dec 14 08:36:58.524148 2020] [mpm_prefork:notice] [pid 14675] AH00163: Apache/2.4.38 (Debian) mod_fcgid/2.3.9 Phusion_Passenger/5.0.30 OpenSSL/1.1.1d configured -- resuming normal operations
    I have reported the problem on zoneminder forum.
    https://forums.zoneminder.com/viewtopic.php?f=40&t=30272
    Any help appreciated.
    regards
    p
     
  2. ptroms

    ptroms Member

    I think i know what it is.
    form browser console i have:

    Access to XMLHttpRequest at 'tcp://domain579.com:554/zm/index.php?view=request&request=stream&connkey=532090&auth=0219a2ea382abc5ecfff1cc8e87d76ea&command=99' from origin 'https://domain579.com' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, brave, chrome-untrusted, https.
    skins_classic_views_js_watch-base-1600996760.js:133 XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}
    csrf-magic.js:41 GET tcp://domain579.com:554/zm/index.php?view=request&request=stream&connkey=532090&auth=0219a2ea382abc5ecfff1cc8e87d76ea&command=99 net::ERR_FAILED
    send @ csrf-magic.js:41
    send @ mootools-core.js:1
    i.extend.$owner @ mootools-core.js:1
    send @ mootools-more.js:1
    streamCmdQuery @ skins_classic_views_js_watch-base-1600996760.js:401
    watchdogCheck @ skins_classic_views_js_watch-base-1600996760.js:801
    (anonymous) @ mootools-core.js:1
    (anonymous) @ mootools-core.js:1
    setInterval (async)
    periodical @ mootools-core.js:1
    initPage @ skins_classic_views_js_watch-base-1600996760.js:823
    skins_classic_views_js_watch-base-1600996760.js:800 Detected streamWatch of type: stream stopped, restarting
    Have in you mind that:
    "tcp://domain579.com:554/zm...." - comes form CAMERA IP ADDRESS
    and
    "https://domain579.com" - ZM IP ADDRES with verified certificate
    Another words it is CORS policy problem
     
    Last edited: Dec 15, 2020
    Jesse Norell likes this.
  3. ptroms

    ptroms Member

    Unfortunately the template database supplied by the developer corrupted mysql engine.
     

Share This Page