1.37.56~20240320111801-jammy - Unable to save monitor settings

Current Development version likely to have breaking changes
borozenetsww
Posts: 29
Joined: Tue Sep 12, 2023 1:55 am

1.37.56~20240320111801-jammy - Unable to save monitor settings

Post by borozenetsww »

Unable to save monitor settings. By pressing button "Save" nothing happening.
asunturd
Posts: 17
Joined: Thu Mar 05, 2020 4:27 pm

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

Post 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!
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

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

Post by dougmccrary »

Yeah, it's pretty messed up at the moment.
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post 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.
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

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

Post by dougmccrary »

broke displaying images on the web interface.
How so? Seems to be working for me - montage, select a camera, playback...
IgorA100
Posts: 70
Joined: Sat Feb 03, 2024 11:55 am

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

Post 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?
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post 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.
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post 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
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post by EK701 »

Just an FYI, I'm still seeing the same issue with 1.37.56~20240323133909-jammy.
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

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

Post by dougmccrary »

Is apache running?
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post 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.
dougmccrary
Posts: 1215
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

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

Post 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.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post by iconnor »

Don't re-install.

Right click, inspect element, console, look for the actual javascript error.
EK701
Posts: 24
Joined: Thu Feb 06, 2020 4:26 pm

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

Post 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.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post 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.
Post Reply