Multiserver

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Multiserver

Post by Cramac1 »

Приветствую. Проблема с мультисервером осталась.
Есть несколько серверов. Камеры работают нормально, но проблема с отображением размера хранилища осталась.

есть два сервера, в каждом свое локальное хранилище.
в итоге, в настройках в серверах данные нормально отображаются о статусе сервера, а вот в разделе хранилищ, данные диска не обновляются.


----

Hi. The problem with the multiserver remained.
There are several servers. Cameras work fine, but the problem with displaying the size of the storage remains.

There are two servers, each with its own local storage.
as a result, in the settings in the servers, the data is normally displayed on the status of the server, but in the storage section, the disk data is not updated.
Attachments
Снимок экрана 2018-10-28 в 13.23.51.png
Снимок экрана 2018-10-28 в 13.23.51.png (188.16 KiB) Viewed 2278 times
Снимок экрана 2018-10-28 в 13.23.54.png
Снимок экрана 2018-10-28 в 13.23.54.png (172.18 KiB) Viewed 2278 times
User avatar
iconnor
Posts: 2903
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Multiserver

Post by iconnor »

I suspect that your database has not been properly upgraded.

Try:

mysql -u zmuser -p zm < /usr/share/zoneminder/db/triggers.sql

Then you can do

UPDATE Storage SET DiskSpace=(SELECT SUM(COALESCE(DiskSpace,0)) FROM Events WHERE StorageId=Storage.Id);

in a mysql session
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Re: Multiserver

Post by Cramac1 »

странно что не обновилось, и забыл указать, версия 1.32.2
выполнил рекомендации, пока ничего не изменилось.


strange that has not been updated, and forgot to specify version 1.32.2
complied with the recommendations, while nothing has changed.
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Re: Multiserver

Post by Cramac1 »

Сегодня предложило обновится, вот так:
Настраивается пакет zoneminder (1.32.2~20181031115934-bionic) …
Detected db service is mysql.service
Updating permissions

Database already at version 1.32.2, update aborted.


Freshening configuration in database
Loading config from DB 223 entries
Saving config to DB 223 entries
Done Updating; starting ZoneMinder.

Но, с отображением размера диска ничего не изменилось.
Cramac1
Posts: 111
Joined: Wed Aug 29, 2018 11:29 am

Re: Multiserver

Post by Cramac1 »

Настраивается пакет zoneminder (1.32.2~20181102121441-bionic) …
Detected db service is mysql.service
Updating permissions

Database already at version 1.32.2, update aborted.


Freshening configuration in database
Loading config from DB 223 entries
Saving config to DB 223 entries
Done Updating; starting ZoneMinder.


проблема осталась.... Данные о storage не корректно отображаются.
Post Reply