1.29.x with docker under Ubuntu 12.04

Forum for questions and support relating to the 1.29.x releases only.
Locked
Schuhkasten
Posts: 48
Joined: Thu Jun 03, 2010 6:43 am

1.29.x with docker under Ubuntu 12.04

Post by Schuhkasten »

Hello,

Iam using 12.04 due to other items I cannot upgrade ubuntu.

Can I install 1.29.x under docker also?

Tried 1.28.x under docker following:
https://wiki.zoneminder.com/Ubuntu_Any_ ... _commands)

Problem is only that after some weeks sometimes all setting and cameras are gone & I have to start from zero...
Schuhkasten
Posts: 48
Joined: Thu Jun 03, 2010 6:43 am

Re: 1.29.x with docker under Ubuntu 12.04

Post by Schuhkasten »

anyhow is there a change? I removed both images zoneminder & mysql & reinstalled, but this time no zoneminder appears...
edit: from log -> same ip error I good when it did not work anymore...

logs zoneminder:

*** Killing all processes...
*** Running /etc/my_init.d/startup.sh...
already configured
ERROR 1045 (28000): Access denied for user 'root'@'172.17.0.3' (using password: YES)
*** /etc/my_init.d/startup.sh failed with status 1

logs mysql:
Version: '5.7.11' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
2016-02-21T18:50:37.018070Z 2 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:37.810242Z 3 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:38.682107Z 4 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:39.786304Z 5 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:41.253380Z 6 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:43.514973Z 7 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:47.302607Z 8 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:50:54.293853Z 9 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:51:07.714705Z 10 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:51:33.940380Z 11 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:52:25.729809Z 12 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
2016-02-21T18:54:08.741342Z 13 [Note] Access denied for user 'root'@'172.17.0.3' (using password: YES)
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: 1.29.x with docker under Ubuntu 12.04

Post by bbunge »

There is a ZM 1.29.0 version on the PPA for Ubuntu 12.04. Not too sure of the install instructions ( I have not gone back to 12.04 to do one). You could use the WIKI instructions for 14.04 as a guide but I can't guarantee they will work. You will have to create the database manually like all the other Ubuntu installs.

Or you can wait for one of the Docker guys to chime in...

Sorry...

BB
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: 1.29.x with docker under Ubuntu 12.04

Post by bbunge »

Good news and bad news..

Good news is I was able to take the time to install a test 12.04 and work through some errors to add the PPA.

Bad news is the Precise builds on the PPA are showing errors and will not install. I was able to install 1.25... but I'm sure no one wants that.

You may want to go back to 1.28.1 using Docker: https://wiki.zoneminder.com/Ubuntu_Any_ ... ommands%29
Schuhkasten
Posts: 48
Joined: Thu Jun 03, 2010 6:43 am

Re: 1.29.x with docker under Ubuntu 12.04

Post by Schuhkasten »

Hello,

as long as there is not proper install of 1.28 or higher under 12.04, I would like to stay with docker not to destroy my installation...

For docker I removed both images install again but error from abouve came:

Code: Select all

sudo docker run -d --restart=always --name=mysql -v /var/local/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=uberpass -e MYSQL_DATABASE=zm -e MYSQL_USER=zm -e MYSQL_PASSWORD=uberpass mysql

sudo docker run -d --restart=always --name=zoneminder -v /var/local/zm/images:/usr/share/zoneminder/images -v /var/local/zm/events:/usr/share/zoneminder/events --link=mysql:mysql -p 443:443 --privileged=true hrwebasst/docker-zoneminder
Did I miss something. Did last time while ago...
Locked