Page 1 of 2

1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Thu Mar 21, 2024 2:14 am
by borozenetsww
Unable to save monitor settings. By pressing button "Save" nothing happening.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Thu Mar 21, 2024 6:18 am
by asunturd
borozenetsww wrote: Thu Mar 21, 2024 2:14 am Unable to save monitor settings. By pressing button "Save" nothing happening.
happened to me too!

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Thu Mar 21, 2024 10:45 am
by dougmccrary
Yeah, it's pretty messed up at the moment.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 1:01 am
by EK701
Looks like the saving settings problem got fixed, but now the latest update, 1.37.56~20240322163032-jammy, broke displaying images on the web interface.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 9:50 am
by dougmccrary
broke displaying images on the web interface.
How so? Seems to be working for me - montage, select a camera, playback...

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 1:13 pm
by IgorA100
EK701 wrote: Sat Mar 23, 2024 1:01 am broke displaying images on the web interface.
I don't see any problems.
Show me a screenshot of what exactly is not displayed?

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 6:09 pm
by EK701
Image

Image

Image

No obvious errors in the ZM log files, other than the script error shown in the last screenshot.

The problem is the same on Firefox, Chrome and Safari and across devices. Clearing the browser cache does not help. Also cannot see images in ZMNinja, either live or saved events.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 6:23 pm
by EK701
A little more info from the logs:

Code: Select all

web_js.log:3/23/24, 10:56:59 AM PDT.376704 web_js[3345817].ERR [10.200.67.197] [Script%20error.] at ?view=console line 
web_js.log:3/23/24, 11:20:10 AM PDT.512545 web_js[23343].ERR [10.200.67.197] [Script%20error.] at ?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=Monitor&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=1&filter%5BQuery%5D%5Bsort_asc%5D=0&filter%5BQuery%5D%5Bsort_field%5D=StartDateTime&filter%5BQuery%5D%5Bskip_locked%5D=&filter%5BQuery%5D%5Blimit%5D=0 line 
web_js.log:3/23/24, 11:20:22 AM PDT.425320 web_js[18354].ERR [10.200.67.197] [Script%20error.] at ?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=Monitor&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=1&filter%5BQuery%5D%5Bsort_asc%5D=0&filter%5BQuery%5D%5Bsort_field%5D=StartDateTime&filter%5BQuery%5D%5Bskip_locked%5D=&filter%5BQuery%5D%5Blimit%5D=0 line

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sat Mar 23, 2024 9:11 pm
by EK701
Just an FYI, I'm still seeing the same issue with 1.37.56~20240323133909-jammy.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sun Mar 24, 2024 1:01 am
by dougmccrary
Is apache running?

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sun Mar 24, 2024 1:23 am
by EK701
dougmccrary wrote: Sun Mar 24, 2024 1:01 am Is apache running?
Yes, and I checked the Apache logs and didn’t see any obvious errors. BTW, if Apache wasn’t running, I wouldn’t get a web page at all.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Sun Mar 24, 2024 9:39 am
by dougmccrary
Ugh - yes, of course :oops:
Still, 1.37.56~20240323133909-jammy is not broken, so don't know what happened.
My experience with this problem was first no apache and then mis-configured, but that only happened on a new install of zm from scratch.
If this is on bare metal suggest you just re-install - backup config and start over. Careful about config restore, cuz that's probly what broke it.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Mon Mar 25, 2024 12:52 pm
by iconnor
Don't re-install.

Right click, inspect element, console, look for the actual javascript error.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Mon Mar 25, 2024 6:57 pm
by EK701
iconnor wrote: Mon Mar 25, 2024 12:52 pm Don't re-install.

Right click, inspect element, console, look for the actual javascript error.
I did not do a re-install. Currently running 1.37.56~20240324115145-jammy.

Here is the HTML code for one of the images that does not display (cam thumbnail in main console screen):

Code: Select all

<img id="thumbnail2" src="https://10.200.67.26:30002/zm/cgi-bin/nph-zms?scale=1&amp;mode=jpeg&amp;frames=1&amp;monitor=2&amp;auth=6e6104393f4c19b9372ea016274cdc41&amp;user=admin&amp;rand=1711392636" style="width:48px;height:27px;" stream_src="https://10.200.67.26:30002/zm/cgi-bin/nph-zms?scale=5&amp;monitor=2&amp;auth=6e6104393f4c19b9372ea016274cdc41&amp;user=admin&amp;rand=1711392636" still_src="https://10.200.67.26:30002/zm/cgi-bin/nph-zms?scale=1&amp;mode=jpeg&amp;frames=1&amp;monitor=2&amp;auth=6e6104393f4c19b9372ea016274cdc41&amp;user=admin&amp;rand=1711392636" width="48" height="27" loading="lazy" class="">
Here are the error messages:

Code: Select all

unreachable code after return statement skins_classic_js_chosen_chosen.jquery-dark-1711295503.js:628:7
Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data undefined
Here is the corresponding entry in the apache log:

Code: Select all

10.200.67.60 - - [25/Mar/2024:11:54:41 -0700] "GET /zm/index.php?view=request&request=status&entity=navBar&auth=6e6104393f4c19b9372ea016274cdc41 HTTP/1.1" 200 2325 "https://10.200.67.26/zm/index.php?view=console" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0"
There were no associated errors in the zm log files.

Re: 1.37.56~20240320111801-jammy - Unable to save monitor settings

Posted: Mon Mar 25, 2024 11:00 pm
by iconnor
Uh oh. scale=1 in the zms cgi url... that would be 1%. Guess we should limit it. Play around with scale/width/height parameters I think the image is there, it's just too tiny to see.