Privacy page - re appearing each time console opens

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
dcung
Posts: 8
Joined: Wed Oct 06, 2021 8:23 pm

Privacy page - re appearing each time console opens

Post by dcung »

I also posted this on Puppy Linux forum
https://forum.puppylinux.com/viewtopic.php?t=8784


I have used Zoneminder with BusterDog (Debian 10 distro).

I followed these guides/docs to install fresh zoneminder 1.36.x with Bullseye DDog (Debian 11 distro).
https://wiki.zoneminder.com/Debian_11_B ... der_1.36.x
https://zoneminder.readthedocs.io/en/la ... 1-bullseye

It works. But each time I open the console, it presented the Privacy Page again, regardless of whether I accept or decline. Sort of similar to this post, but I was not 'stuck'. I can proceed using zoneminder afterward.
viewtopic.php?t=28398

I tried what was suggested here, but same result, it didn't work - i.e. redo fresh install with edited /usr/share/zoneminder/db/zm_create.sql
viewtopic.php?p=119558#p119558

I was going to try this suggestion (ie, edit the value in DB), but don't know how. Not enough DB skill.
viewtopic.php?p=111151#p111151

Would like to solve this. Any ideas/suggestions please?
Thanks.
Last edited by dcung on Wed May 24, 2023 11:12 pm, edited 1 time in total.
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Privacy page - re appearing each time console opens

Post by iconnor »

Let's do the db edit thing:

First off, let's see what's in the DB:
mysql -u zmuser -p zm

select Value from Config WHERE Name = 'ZM_SHOW_PRIVACY';

Then let's update it, telling it to NOT show the privacy page

UPDATE Config SET Value = '0' WHERE Name = 'ZM_SHOW_PRIVACY'
dcung
Posts: 8
Joined: Wed Oct 06, 2021 8:23 pm

Re: Privacy page - re appearing each time console opens

Post by dcung »

I start from scratch again for this troubleshooting exersize.
Still getting privacy page each time console opens.
Looks like value was already 0 ?

UPDATE Config SET Value = '0' WHERE Name = 'ZM_SHOW_PRIVACY'
I don't know if I'm supposed to do anyting after command above, so I quit MariaDB.

Code: Select all

root@live:~# mysql -u zmuser -p zm
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 109
Server version: 10.5.19-MariaDB-0+deb11u2 Debian 11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [zm]> select Value from Config WHERE Name = 'ZM_SHOW_PRIVACY';
+-------+
| Value |
+-------+
| 0     |
+-------+
1 row in set (0.001 sec)

MariaDB [zm]> UPDATE Config SET Value = '0' WHERE Name = 'ZM_SHOW_PRIVACY';
Query OK, 0 rows affected (0.001 sec)
Rows matched: 1  Changed: 0  Warnings: 0

MariaDB [zm]> \q
Bye
root@live:~# 
I also noticed some messages during boot time - see attachment pic.
After each reboot, I have to start zoneminder manually. And it works.

Code: Select all

service zoneminder start
boot-err2.jpg
boot-err2.jpg (122.6 KiB) Viewed 220 times
dcung
Posts: 8
Joined: Wed Oct 06, 2021 8:23 pm

Re: Privacy page - re appearing each time console opens

Post by dcung »

I also did this. Made no difference.

Code: Select all

root@live:~# mysql -u zmuser -p zm
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 42
Server version: 10.5.19-MariaDB-0+deb11u2 Debian 11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [zm]> UPDATE Config SET Value = '0' WHERE Name = 'ZM_TELEMETRY_DATA';
Query OK, 1 row affected (0.003 sec)
Rows matched: 1  Changed: 1  Warnings: 0

MariaDB [zm]> \q
Bye
root@live:~# 
Post Reply