Console Showing 0.00B Across All Events

Support for the docker image maintained by dlandon
Post Reply
FroZar
Posts: 1
Joined: Thu Feb 10, 2022 1:31 am

Console Showing 0.00B Across All Events

Post by FroZar »

Install details:
* Docker Image
* Using rockylinux:8.5 since Centos is deprecated
* Traefik as a reverse proxy
* Zoneminder version 1.36.12
* External Maria DB 10.7.1

I've seen this issue in the forums. I checked the timezone and it is set correctly in the GUI and on the server.

I turned debug on, but nothing is really standing out.

All other features are working.

What am I missing?
Screenshot 2022-02-10 105757.png
Screenshot 2022-02-10 105757.png (44.4 KiB) Viewed 9418 times
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Console Showing 0.00B Across All Events

Post by iconnor »

Do you u have an Update DIsk Space filter running?
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

I'm also having this issue. Running https://github.com/zoneminder-container ... inder-base zm 1.36.18 on MariaDB 10.8.3 also with Traefik. No Update Disk Space filter running. I can click on any of the 0's at the bottom of the page, or 0's on the zones and see the events and zones, but no summary totals on the console page.

Any ideas?
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Console Showing 0.00B Across All Events

Post by iconnor »

You should enable the update disk filter then.
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

iconnor wrote: Sat Feb 12, 2022 12:09 am Do you u have an Update DIsk Space filter running?
My apologies, I misunderstood what you were suggesting here.

I also realized I do seem to have an Update Diskspace filter enabled by default I assume, however manually executing it doesn't update the totals on Console. Are these the default config options for the filter?
ss.png
ss.png (52.25 KiB) Viewed 9122 times
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Console Showing 0.00B Across All Events

Post by dougmccrary »

I dunno - maybe Limit to first 0 results is "short-circuiting" it? That used to default to 100.
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

Upping the limit to 100 doesn't seem to change anything. Showing the matches with the default query doesn't return anything, though getting rid of the Event Disk Space clause returns all events. However, when I execute this, it still doesn't update the counts.
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Console Showing 0.00B Across All Events

Post by dougmccrary »

Are you using the default disk drive for storage?
If not you may need to specify the drive. I have two drives and need to specify two updates to get them.
Also, there seem to be (or were) two "default" drives = null or = 0, depending on if you assign it in the monitors.
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

Yes, I only have a single drive attached to zm, and it's marked as default.

I'm going to set up a fresh container and fill it with some cameras to see if the problem persists there, and work backward to see what I might have done if a new install from this container works.
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

So my issues must have stemmed from my db setup.

I reused this db between testing different ZM versions, and perhaps that is what caused it, I'm uncertain. However, I made a new db and repopulated it with only the essential table data for me, which was Monitors, Config, Users, and Zones. Console page has been working smoothly since then.

Thanks for the assistance, hopefully this helps in the future.
Stephen304
Posts: 3
Joined: Mon Sep 20, 2021 11:21 pm

Re: Console Showing 0.00B Across All Events

Post by Stephen304 »

Was it determined what the cause was? I'm having this same issue in docker on 1.36.4, updating disk space doesn't help, timezone is set, I ran zmupdate.pl -f as suggested in another thread. This is a fresh setup with external mysql container (mysql:8.0, I only did external since the official docker container doesn't support user: "uid:gid" for storing the DB on an nfs share mounted with mapall uid / maproot uid). All my events, logs, and images though are stored on my boot drive and there are no permissions issues.
kaeomc
Posts: 6
Joined: Wed Jun 15, 2022 4:37 pm

Re: Console Showing 0.00B Across All Events

Post by kaeomc »

I'm uncertain what problems my previous DB caused, but that was definitely my issue. You can give https://github.com/zoneminder-container ... inder-base a try, run it with a bare mariadb, plug in a single cam and see if the console page updates to start crossing things off the list.
qmann
Posts: 1
Joined: Thu Nov 02, 2023 10:05 am

Re: Console Showing 0.00B Across All Events

Post by qmann »

FroZar wrote: Thu Feb 10, 2022 3:59 pm Install details:
* Docker Image
* Using rockylinux:8.5 since Centos is deprecated
* Traefik as a reverse proxy
* Zoneminder version 1.36.12
* External Maria DB 10.7.1

I've seen this issue in the forums. I checked the timezone and it is set correctly in the GUI and on the server.

I turned debug on, but nothing is really standing out.

All other features are working.

What am I missing?
Screenshot 2022-02-10 105757.pngbasketball stars unblocked
The image you sent shows that Zoneminder is not able to connect to the MariaDB database. This is likely the reason why you are not seeing any events.

There are a few things you can check to troubleshoot this issue:

Make sure that the MariaDB server is running.
Make sure that the Zoneminder user has access to the MariaDB database.
Make sure that the Zoneminder configuration file is correct.
To check if the MariaDB server is running, you can use the following command:

systemctl status mariadb
This should output the status of the MariaDB service. If the service is not running, you can start it with the following command:

systemctl start mariadb
To check if the Zoneminder user has access to the MariaDB database, you can use the following command:

mysql -u zoneminder -p
You will be prompted to enter the password for the Zoneminder user. If the password is correct, you will be logged into the MariaDB database. You can then run the following query to check if the Zoneminder database exists
Post Reply