Author Topic: (Support) Aptalca's docker templates  (Read 86801 times)

Offline aptalca

  • Community Developer
  • Hero Member
  • *****
  • Posts: 1376
Re: (Support) Aptalca's docker templates
« Reply #930 on: January 08, 2017, 09:36:49 PM »


Are you going to create a Zoneminder 1.30 separate docker or just update the 1.29?
Probably neither. Zoneminder changes so much between versions that updating in place is near impossible. I'm not willing to create a new container every time they have an update. That's too much to support. Especially when I'm not even using it myself

Thanks for your excellent work on this.  I understand why you'd not want to maintain it since you aren't using it.  I am looking to create an updated version of this for 1.30, and was wondering if you could point me in the right direction.

One thing especially - I'm not that familiar with docker or ubuntu repos and I noticed that your 1.29 dockerfile uses

Code: [Select]
add-apt-repository -y ppa:iconnor/zoneminder
When I look at that repo it seems to contain a 1.30.0-xenial version.  How would the apt-get install command change to install this version instead?

I realise there will probably be other stuff that has to change to make it work, but this would be a good start!

Thanks again

If you pull from that repo as is, it will get the latest version. But when I created the image on docker hub, 1.29 was the latest and that's what's in the image.

So, if you build the image from that same dockerfile today, you'll get the 1.30 version.

Offline jammin

  • Member
  • **
  • Posts: 3
Re: (Support) Aptalca's docker templates
« Reply #931 on: January 08, 2017, 10:29:59 PM »
If you pull from that repo as is, it will get the latest version. But when I created the image on docker hub, 1.29 was the latest and that's what's in the image.

So, if you build the image from that same dockerfile today, you'll get the 1.30 version.

Ahhh thanks.  That cleared up some fundamental misconceptions that I had about how docker images work  ;D


Offline evocraigst

  • Member
  • **
  • Posts: 68
Re: (Support) Aptalca's docker templates
« Reply #932 on: January 11, 2017, 07:51:54 AM »
hope sumone can help mes with zoneminder 1.29 issue

i started having issues where cams would freeze and nothink would record disk says 98% yet i have 26tb left ?

i have manually removed all events and well its super fast but disk in web ui still reads 98%?

is there a way to fix this so incress the space it uses ?

thanks craig

update , altho it now records after 10 seconds it deletes the new events due to full disk ? after reinstalling fresh it still at 98%
« Last Edit: January 11, 2017, 09:25:47 AM by evocraigst »

Offline aptalca

  • Community Developer
  • Hero Member
  • *****
  • Posts: 1376
Re: (Support) Aptalca's docker templates
« Reply #933 on: January 11, 2017, 09:34:30 AM »
hope sumone can help mes with zoneminder 1.29 issue

i started having issues where cams would freeze and nothink would record disk says 98% yet i have 26tb left ?

i have manually removed all events and well its super fast but disk in web ui still reads 98%?

is there a way to fix this so incress the space it uses ?

thanks craig

update , altho it now records after 10 seconds it deletes the new events due to full disk ? after reinstalling fresh it still at 98%
Post a screenshot of your container settings

Offline evocraigst

  • Member
  • **
  • Posts: 68
Re: (Support) Aptalca's docker templates
« Reply #934 on: January 11, 2017, 09:49:14 AM »
hope sumone can help mes with zoneminder 1.29 issue

i started having issues where cams would freeze and nothink would record disk says 98% yet i have 26tb left ?

i have manually removed all events and well its super fast but disk in web ui still reads 98%?

is there a way to fix this so incress the space it uses ?

thanks craig

update , altho it now records after 10 seconds it deletes the new events due to full disk ? after reinstalling fresh it still at 98%
Post a screenshot of your container settings

just this sec fixed it , turned out my appdata share was cache only with filled up to fast am now using normal drives and looks good now :)

Offline jammin

  • Member
  • **
  • Posts: 3
Re: (Support) Aptalca's docker templates
« Reply #935 on: January 11, 2017, 04:43:16 PM »
just this sec fixed it , turned out my appdata share was cache only with filled up to fast am now using normal drives and looks good now :)

Would be really helpful if you could outline the details of the fix as I'm sure I will come across it soon :)

Thanks.

Offline evocraigst

  • Member
  • **
  • Posts: 68
Re: (Support) Aptalca's docker templates
« Reply #936 on: January 12, 2017, 03:02:57 AM »
just this sec fixed it , turned out my appdata share was cache only with filled up to fast am now using normal drives and looks good now :)

Would be really helpful if you could outline the details of the fix as I'm sure I will come across it soon :)

Thanks.


sure it bugged me

well issue was events would dissapear for no reason and even restarting and trying to delete all recordings witch kept coming back

after looking about i saw sumink with was purge when full witch i looked up and well 90% + means all events will delete as it was at 98% but unraid server has 26tb left , turns out my app data uses cache only ! and well zoneminder stores all its files in appdata so changing location in docker editing would of fixed it all i did tho was change app data to use all raid drive not just 240gb cache so now 40% used

so now got to sort my cache and move all the stored files to free it up now hope this helps

Online trurl

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10132
  • Constructor
Re: (Support) Aptalca's docker templates
« Reply #937 on: January 12, 2017, 05:39:53 AM »
just this sec fixed it , turned out my appdata share was cache only with filled up to fast am now using normal drives and looks good now :)

Would be really helpful if you could outline the details of the fix as I'm sure I will come across it soon :)

Thanks.


sure it bugged me

well issue was events would dissapear for no reason and even restarting and trying to delete all recordings witch kept coming back

after looking about i saw sumink with was purge when full witch i looked up and well 90% + means all events will delete as it was at 98% but unraid server has 26tb left , turns out my app data uses cache only ! and well zoneminder stores all its files in appdata so changing location in docker editing would of fixed it all i did tho was change app data to use all raid drive not just 240gb cache so now 40% used

so now got to sort my cache and move all the stored files to free it up now hope this helps
I don't use this but if you have other dockers it would probably make more sense to make another share for zoneminder to put its appdata in and let the other dockers continue to use a cache-only share.
How to Search the Forum (no, it's not obvious)     Need help? Read me first!     Upgrading to UnRAID v6

unSERVER 24TB unRAID 6.3.2 Pro PC-Q25:H87-I:i5-4570S:16GB:SX500-LG:RC-218:AVRG900U
Dockers LogitechMS:NZBGet:PlexMS:RDP-BOINC:Transmission

unBACKUP 15TB unRAID 6.3.2 Pro Node 304:P8H61-I:i3-3220:8GB:ST45SF-G:1430SA

Offline evocraigst

  • Member
  • **
  • Posts: 68
Re: (Support) Aptalca's docker templates
« Reply #938 on: January 13, 2017, 03:51:07 AM »
just this sec fixed it , turned out my appdata share was cache only with filled up to fast am now using normal drives and looks good now :)

Would be really helpful if you could outline the details of the fix as I'm sure I will come across it soon :)

Thanks.

yea i did think that all down to incorrect set up by me

sure it bugged me

well issue was events would dissapear for no reason and even restarting and trying to delete all recordings witch kept coming back

after looking about i saw sumink with was purge when full witch i looked up and well 90% + means all events will delete as it was at 98% but unraid server has 26tb left , turns out my app data uses cache only ! and well zoneminder stores all its files in appdata so changing location in docker editing would of fixed it all i did tho was change app data to use all raid drive not just 240gb cache so now 40% used

so now got to sort my cache and move all the stored files to free it up now hope this helps
I don't use this but if you have other dockers it would probably make more sense to make another share for zoneminder to put its appdata in and let the other dockers continue to use a cache-only share.

Offline evocraigst

  • Member
  • **
  • Posts: 68
Re: (Support) Aptalca's docker templates
« Reply #939 on: January 16, 2017, 11:41:51 PM »
i did a stupid thing i changed events and images path to /mnt/user/CCTV and well now i cant use zone minder no more

error:
Cannot write to content dirs('/mnt/user/CCTV/events','/mnt/user/CCTV/images'). Check that these exist and are owned by the web account user
Jan 17 07:44:53 365a4ff40221 zma[2440]: ERR [Can't make /mnt/user/CCTV/events/1: No such file or directory]
Jan 17 07:44:53 365a4ff40221 zma[2440]: FAT [Can't change directory to '/mnt/user/CCTV/events': No such file or directory]

any way to edit a config files to delete the path i entered ?

thanks craig
« Last Edit: January 16, 2017, 11:45:32 PM by evocraigst »

Offline ars92

  • Full Member
  • ***
  • Posts: 198
Re: (Support) Aptalca's docker templates
« Reply #940 on: January 18, 2017, 07:45:53 AM »
I stopped my jdownloader2 docker, and clicked edit and save. It then pulled a few updates, and now when i start it,after clicking ok on the xrdp, its spewing out some java errors

I even deleted container and image and redownload from my existing templates, but even then the same error happens.



Sent from my LG-H990 using Tapatalk


Offline aptalca

  • Community Developer
  • Hero Member
  • *****
  • Posts: 1376
Re: (Support) Aptalca's docker templates
« Reply #941 on: January 18, 2017, 03:21:10 PM »
I stopped my jdownloader2 docker, and clicked edit and save. It then pulled a few updates, and now when i start it,after clicking ok on the xrdp, its spewing out some java errors

I even deleted container and image and redownload from my existing templates, but even then the same error happens.



Sent from my LG-H990 using Tapatalk
Not sure what caused it, but I updated mine to the latest and it works fine.

I'd recommend starting with a fresh config folder

Offline johngc

  • Member
  • **
  • Posts: 13
Re: (Support) Aptalca's docker templates
« Reply #942 on: January 19, 2017, 06:42:21 AM »
I might have missed something very obvious here, but is there a default password for the Zoneminder docker?

I have installed it previously and managed to get it working but decided on using a VM at the time. I would now like to give it another go but despite doing a fresh docker install it keeps prompting me for a password. I have tried every password I might have used but no luck

I have also tried removing the docker and deleting the folder in my app data and reinstalling but still.

If there isn't, how can I make sure all remnants of the old install are removed?

Offline aptalca

  • Community Developer
  • Hero Member
  • *****
  • Posts: 1376
Re: (Support) Aptalca's docker templates
« Reply #943 on: January 19, 2017, 07:48:07 AM »


I might have missed something very obvious here, but is there a default password for the Zoneminder docker?

I have installed it previously and managed to get it working but decided on using a VM at the time. I would now like to give it another go but despite doing a fresh docker install it keeps prompting me for a password. I have tried every password I might have used but no luck

I have also tried removing the docker and deleting the folder in my app data and reinstalling but still.

If there isn't, how can I make sure all remnants of the old install are removed?

There is no password. Maybe browser cache?

Offline johngc

  • Member
  • **
  • Posts: 13
Re: (Support) Aptalca's docker templates
« Reply #944 on: January 19, 2017, 07:57:47 AM »
Ok, thanks.

I ended up changing the default port for the time being and that seemed to fix it. Must have been something else using port 80 but no idea what.. bit more digging tonight!