Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Debian 12 Bookworm has been released with Zoneminder 1.36.33. As of this writing there are no install files on the zmrepo but they should be added in a short while.
See the Zoneminder WIKI for install procedure using version 1.36.33 contained with the Bookworm distro: https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33
This procedure was written and verified with Bookworm release.
See the Zoneminder WIKI for install procedure using version 1.36.33 contained with the Bookworm distro: https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33
This procedure was written and verified with Bookworm release.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I have done some basic testing with this release procedure. Cams can be installed, events captured and replayed and ZmNinja works.
I should add that I have not tried to upgrade from Bullseye to Bookworm. You may be better off doing a fresh install as upgrades can sometimes cause issues as I discovered last week with the RC4.
I should add that I have not tried to upgrade from Bullseye to Bookworm. You may be better off doing a fresh install as upgrades can sometimes cause issues as I discovered last week with the RC4.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I have upgraded from Bullseye to Bookworm (including the bookworm zm repo)
I can log in with a brwser but
now I cannot log into ZM with Home Assistant or ZMNinja
On ZMNinja I get the following message:-
Login validated but API failed
Do I need to clear the API cache or something?
I can log in with a brwser but
now I cannot log into ZM with Home Assistant or ZMNinja
On ZMNinja I get the following message:-
Login validated but API failed
Do I need to clear the API cache or something?
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
That might help but there may be some other issues. See: https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33 where you can view the zoneminder.conf file. It is likely the ZM in the Debian repo overwrote the zoneminder.conf file. You may need to add the php entry cited there as well.
Worst case be prepared to reinstall the entire OS with Debian 12. Upgrades of the OS are problematic!
Worst case be prepared to reinstall the entire OS with Debian 12. Upgrades of the OS are problematic!
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Thankyou, your reply was quite correct. (I actually found the problem before I came back to this forum)
Updating /etc/apache2/conf-available/zoneminder.conf
was the answer.
Updating /etc/apache2/conf-available/zoneminder.conf
was the answer.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I have a problem now with the web page not showing correctly in my browser.
For example the login screen looks like this:- when it should look like this:- Any pointers to what might be causing this?
For example the login screen looks like this:- when it should look like this:- Any pointers to what might be causing this?
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Check the javascript error logs. I have seen this error, though I can't say it's the same error (I haven't used bookworm yet). Hopefully if you find an error in the js logs you can search the forum and it may show up.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
This is way above my level of expertise.
At the moment it is not a major problem (zmNinja still works fine) so if I don't find a solution I might just start from scratch (the PC has nothing on it but ZoneMinder)
At the moment it is not a major problem (zmNinja still works fine) so if I don't find a solution I might just start from scratch (the PC has nothing on it but ZoneMinder)
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
It's usually 'browser console' or similar to see what is happening.
-
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Can you please elaborate on "browser console"
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
99% of basic computer questions are just a web search away
https://firefox-source-docs.mozilla.org ... index.html
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Thanks @burger , I opened the browser console and found this.
Can anyone suggest the possible cause of this (after recently upgrading to Debian 12)?
Can anyone suggest the possible cause of this (after recently upgrading to Debian 12)?
Code: Select all
Browser Console Mode
Parent process only(Fast)
Multiprocess(Slower)
1687742027892 addons.xpi WARN Checking /usr/lib/firefox/distribution/extensions for addons
NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAppStartup.secondsSinceLastOSRestart]
_collectStartupConditionsTelemetry resource:///modules/BrowserGlue.sys.mjs:1608
BG__onFirstWindowLoaded resource:///modules/BrowserGlue.sys.mjs:1716
BG_observe resource:///modules/BrowserGlue.sys.mjs:961
_delayedStartup chrome://browser/content/browser.js:2068
BrowserGlue.sys.mjs:1617:15
Error: Can't find profile directory. XULStore.sys.mjs:60:15
Error: Please use $(ref:runtime.getURL). background.js:89
TypeError: str is undefined
regExpMatch resource://gre/modules/components-utils/FilterExpressions.sys.mjs:109
Transform resource://gre/modules/components-utils/mozjexl.js:1
ASRouter.jsm:1192:13
TypeError: str is undefined
regExpMatch resource://gre/modules/components-utils/FilterExpressions.sys.mjs:109
Transform resource://gre/modules/components-utils/mozjexl.js:1
ASRouterTargeting.jsm:1136:15
Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode” browser.xhtml
Key event not available on some keyboard layouts: key=“w” modifiers=“accel,alt” id=“ext-key-id-_2ce3a649-6013-44c2-b2f4-2684bb1a5dc4_-sidebar-action” browser.xhtml
Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox” browser.xhtml
SearchSuggestionController found an unexpected string value: HTTP request timeout SearchSuggestionController.sys.mjs:634:17
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_jquery.min-base-1677188641.js”. index.php:346:69
Uncaught ReferenceError: jQuery is not defined
jQuery 2
jquery-ui.min.js:6:65
Loading failed for the <script> with source “http://my.address/zm/cache/js_ajaxQueue-base-1677188641.js”. index.php:348:54
Uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
jQueryDetection http://myth.fisher.net.nz:8811/zm/skins/classic/js/bootstrap.min.js:243
<anonymous> http://myth.fisher.net.nz:8811/zm/skins/classic/js/bootstrap.min.js:258
<anonymous> http://myth.fisher.net.nz:8811/zm/skins/classic/js/bootstrap.min.js:9
<anonymous> http://myth.fisher.net.nz:8811/zm/skins/classic/js/bootstrap.min.js:10
bootstrap.min.js:243:15
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_tableExport.min-base-1677188641.js”. index.php:350:72
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table.min-base-1677188641.js”. index.php:351:76
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-locale-all.min-base-1677188641.js”. index.php:352:87
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-export.min-base-1677188641.js”. index.php:353:83
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-page-jump-to.min-base-1677188641.js”. index.php:354:89
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-cookie.min-base-1677188641.js”. index.php:355:83
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-toolbar.min-base-1677188641.js”. index.php:356:84
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_bootstrap-table-auto-refresh.min-base-1677188641.js”. index.php:357:89
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_chosen_chosen.jquery.min-base-1677188641.js”. index.php:358:81
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_dateTimePicker_jquery-ui-timepicker-addon-base-1677188641.js”. index.php:359:98
Loading failed for the <script> with source “http://my.address/zm/cache/js_Server-base-1677188641.js”. index.php:360:49
Uncaught ReferenceError: jQuery is not defined
<anonymous> http://my.address/zm/index.php:362
index.php:362:61
<anonymous> http://myth.fisher.net.nz:8811/zm/index.php:362
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_views_js_console-base-1677188641.js”. index.php:737:72
Loading failed for the <script> with source “http://my.address/zm/cache/skins_classic_js_skin-base-1677188641.js”. index.php:738:63
Loading failed for the <script> with source “http://my.address/zm/cache/js_logger-base-1677188641.js”. index.php:739:51
Uncaught TypeError: $j is not a function
<anonymous> http://my.address/zm/index.php:740
index.php:740:54
Missing resource in locale en-GB: devtools/client/toolbox.ftl
Missing resource in locale en-CA: devtools/client/toolbox.ftl
Last edited by robfish on Mon Jun 26, 2023 8:58 pm, edited 1 time in total.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Just guessing. I don't have 1.36 w/ bookworm but hopefully this will help. You should edit the logs so they don't show your address. As to the error, a search on the forum comes up empty, which is interesting. Actually, this came up on the forum. I don't think this is it, but it's the closest hit. Try clearing the cache.
viewtopic.php?p=129065&hilit=jquery+is+defined#p129065
Do you have an adblocker or noscript running? Try another browser? This is the closest web hit: https://stackoverflow.com/questions/458 ... ith-source
viewtopic.php?p=129065&hilit=jquery+is+defined#p129065
Do you have an adblocker or noscript running? Try another browser? This is the closest web hit: https://stackoverflow.com/questions/458 ... ith-source
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Thanks for the help but unfortunately I still have the issue.
I cleared /var/cache/zoneminder/cache
It isn't my browser issue (I have tried Firefox and Chrome on two different computers)
I have two other remote Zoneminder servers on Bullseye still so I will not be upgrading them to Bookworm.
I think now the quickest fix is to completely rebuild this server (it has nothing else on it)
I cleared /var/cache/zoneminder/cache
It isn't my browser issue (I have tried Firefox and Chrome on two different computers)
I have two other remote Zoneminder servers on Bullseye still so I will not be upgrading them to Bookworm.
I think now the quickest fix is to completely rebuild this server (it has nothing else on it)
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
For now your best bet is to go back to Debian 11. There are no issues running Zoneminder there.robfish wrote: ↑Mon Jun 26, 2023 9:23 pm Thanks for the help but unfortunately I still have the issue.
I cleared /var/cache/zoneminder/cache
It isn't my browser issue (I have tried Firefox and Chrome on two different computers)
I have two other remote Zoneminder servers on Bullseye still so I will not be upgrading them to Bookworm.
I think now the quickest fix is to completely rebuild this server (it has nothing else on it)
I am still researching ZM on Debian 12 as time permits. I suspect there may be some issues with PHP 8.2 but I am not that much of a wizzard to find them. I tried to install PHP 7.4 on Bookworm then install Zoneminder but PHP 8.2 got installed. I was able to get the API to work with ZmNinja but browsers other than Firefox tank out. Iconner will in time get a version for bookworm on the zmrepo so stay tuned!