Ubuntu 19.04 Disco to 19.10 Eoan (mysql DB)

Forum for questions and support relating to 1.33.x development only.
Locked
rip
Posts: 38
Joined: Sun Sep 02, 2012 8:59 pm

Ubuntu 19.04 Disco to 19.10 Eoan (mysql DB)

Post by rip »

This is not strictly necessary steps or a how to, just a snippet of my history on fixing
Zoneminder 1.33.14 (1.33.14~20190930144403-disco) on mysql after I blindly updated to
Eoan 19.10 on Ubuntu without thinking that through.

I also removed iConnor's PPA (was on StorageAreas) and put it on master per his recommendation,
but not using any newer version at this time.

Posting this for anyone else similarly situated.
This is also probably not final, still monitoring logs and looking for lingering weirdness.
For instance, minor buffer over runs afte rthe update haven't been fixed in yet, were not there in 19.04

Thanks to Issac for putting up with my PMs, lol.

Code: Select all

sudo service apache2 reload
sudo service zoneminder restart
sudo apt install libmysqlclient20
sudo service mysql start
sudo service mysql status
sudo a2enmod php7.3
sudo systemctl restart apache2
cd /etc/php/7.3/apache2/
cat php.ini |grep date.time
sudo nano php.ini
sudo systemctl enable mysql
sudo systemctl enable apache2
sudo reboot
I'm running AMD 3700x, pcie 4.0 SSD boot and sql, 20TB storage for ZM,
4TB backups for other devices, some other minor thngs on that box.
Running 6 of 9 cameras on that box currently. Mostly 4mp Dahua/Hikvision,
some Arecont(2 and 3mp) and one GW(5mp)
rip
Posts: 38
Joined: Sun Sep 02, 2012 8:59 pm

Re: Ubuntu 19.04 Disco to 19.10 Eoan (mysql DB)

Post by rip »

todo:

Haven't researched these yet anyway, just thinking out loud again.

Fix Montage Review

Live works, history slider shows events, slider results in no data in all cases.

Code: Select all

2019-11-05 16:20:28	web_js		4508	ERR	Uncaught TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Value is not of type 'long'.	zm/cache/skins_classic_views_js_montagereview-classic-1569869043.js

Code: Select all

2019-11-05 16:40:36	web_php		4474	WAR	Unknown function call Object->DefaultScale from Array( [0] => Array ( [file] => /usr/share/zoneminder/www/skins/classic/views/frame.php [line] => 107 [function] => __call [class] => ZM\ZM_Object [object] => ZM\Event Object ( [defaults:protected] => Array ( [Id] => [Name] => [MonitorId] => [StorageId] => [SecondaryStorageId] => [Cause] => [StartTime] => [EndTime] => [Width] => [Height] => [Length] => [Frames] => [AlarmFrames] => [DefaultVideo] => [SaveJPEGs] => 0 [TotScore] => 0 [AvgScore] => 0 [MaxScore] => 0 [Archived] => 0 [Videoed] => 0 [Uploaded] => 0 [Emailed] => 0 [Messaged] => 0 [Executed] => 0 [Notes] => [StateId] => 0 [Orientation] => 0 [DiskSpace] => [Scheme] => 0 [Locked] => 0 ) [Id] => 94621 [MonitorId] => 1 [StorageId] => 1 [SecondaryStorageId] => 0 [Name] => Event- 94621 [Cause] => Continuous [StartTime] => 2019-11-05 16:36:22 [EndTime] => 2019-11-05 16:41:22 [Width] => 2048 [Height] => 1536 [Length] => 299.81 [Frames] => 851 [AlarmFrames] => 5 [DefaultVideo] => 94621-video.mp4 [SaveJPEGs] => 1 [TotScore] => 17 [AvgScore] => 3 [MaxScore] => 4 [Archived] => 0 [Videoed] => 0 [Uploaded] => 0 [Emailed] => 0 [Messaged] => 0 [Executed] => 0 [Notes] => Motion: All [StateId] => 1 [Orientation] => 0 [DiskSpace] => 335044846 [Scheme] => Medium [Locked] => 0 [Storage] => ZM\Storage Object ( [defaults:protected] => Array ( [Id] => [Path] => [Name] => [Type] => local [Url] => [DiskSpace] => [Scheme] => Medium [ServerId] => 0 [DoDelete] => 1 ) [Id] => 1 [Path] => /mnt/md0/zoneminder/events [Name] => Default [Type] => local [Url] => [DiskSpace] => 17370716947823 [Scheme] => Medium [ServerId] => 0 [DoDelete] => 1 ) [Time] => 1573000582 ) [type] => -> [args] => Array ( [0] => DefaultScale [1] => Array ( ) ) ) [1] => Array ( [file] => /usr/share/zoneminder/www/index.php [line] => 272 [args] => Array ( [0] => /usr/share/zoneminder/www/skins/classic/views/frame.php ) [function] => require_once ))	/usr/share/zoneminder/www/includes/Object.php	58
rip
Posts: 38
Joined: Sun Sep 02, 2012 8:59 pm

Re: Ubuntu 19.04 Disco to 19.10 Eoan (mysql DB)

Post by rip »

Well, the slider fixed itself. Guess maybe zmaudit got things back in sync.

Rare case when something fixed itself, yay!
Locked