Jump to content

aptalca

Community Developer
  • Posts

    3,064
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by aptalca

  1.  

     

    Hi all,

     

    I have Zoneminder version 1.28.1 installed and working great.  I am trying to upgrade Zoneminder to version 1.29 (first version with API) so I can use the iOS app zmNinja remotely.  Through the Zoneminder console it says I am on the most current version.  I have been doing some research but cannot figure out how to update it with my limited skills.  Can anyone point me in the right direction or have any suggestions?

     

    Thanks in advance.

     

    1.29 stable is not yet released. It is still a release candidate.

     

    You can exec into the container and change the ppa to the master branch which will update it to the rc, but you also have to update a bunch of other things because they changed a lot between those versions.

     

    To be honest, I wasn't successful at updating my copy but I didn't try that hard.

  2. Greetings all.

     

    Trying to set up plexRequests. I throw up the docker and everything installed no issue. When i try to access the webgui or webgui admin. I am not presented with the web page. its like its not open. The log says:

    Updating repository

    HEAD is now at 8c1dfd1 Update versions

    Already up-to-date.

    Using the master branch

    Your branch is up-to-date with 'origin/master'.

     

    Any ideas?

    How long did you wait? At start, it updates meteor and it might take a few minutes if their server is slow.

  3. Ya that's what i had found as well on google but it didn't seem right necessarily given the situation, I've got 10GB allocated as a docker 8GB used so I would assume 2GB was enough.

     

    As an aside, what's the best way to 'clean' a docker image?  I don't believe the containers I have installed should take up 8GB but I have added/removed some over the course of time.

     

    Current:

    CouchPotato

    NZBGet

    OpenVPN-AS

    PlexMediaServer

    PlexPy

    PlexRequest

    Sonaar

     

    I'll try to start fresh, see what happens, and report back, thanks!

     

    The only thing I could find about that error seems to be that i can occur when disk is full.

     

    Hows the space of your docker.img?

     

    Other then that all I can sugest is to remove the image and config and see if that helps.

    See the first post on this thread, it might help: http://lime-technology.com/forum/index.php?topic=45249.0

     

  4. With CA do you need to add each docker repository manually still?

     

    Ive just installed a cache drive and created "appdata" share on cache only. Docker.img is set to cache.

     

    When i click "add" on a docker application, the popup takes me to the add container page and asking me to select a template.

    I though this was done automatically in the past?

     

    Running latest version of unraid, and have removed all things docker and CA plugin and tried again...but still the same

     

    Any clues?

    No need for repositories. If you click Add from CA then it fills in the page for you. Selecting a template is only for when you want to get the page filled in from one you have already saved.

     

    Thats what i thought. Tho when i click add, it comes up to essentially a blank page with no template loaded

    Not sure if the attached clear - but that what i see after clicking 'add'

     

    EDIT - Attachment didnt work, will try again

    CA is now in a new tab called Apps

  5. A Google search for your camera revealed this thread though and there are more: https://forums.zoneminder.com/viewtopic.php?t=23416

    Sorry I can't be of help with camera setup. Zoneminder forums is your best bet.

    Good luck

     

     

     

     

     

     

    Hi mate,

    Can you please comment on the question  at the bottom about FFMPEG? Your container says it contains that but when I try and find the folder that i'm pointing to as a path, it's not there? The Cambozola item is there, not the FFMPEG item, it seems this might be what it's trying to point to in my logs? Isn't that more of a docker issue rather than a Zoneminder issue? I've googled for hours with no results unfortunately..

     

    Also had a look on the Zoneminder forums and only item under Zoneminder says "It's not a good idea to run Zoneminder on Unraid"...which is pretty unhelpful

     

    This container uses avconv, the ffmpeg alternative present in ubuntu 14.04

    It's in the docker description: https://hub.docker.com/r/aptalca/docker-zoneminder/

    Follow the steps under tips and setup instructions

     

    avconv is under /usr/bin inside the docker container, not in the config folder. You would have to exec into the container to see it.

  6. Hi all,

    First post here so be gentle.

    Running Zoneminder V1.28.1 on UNRAID 6

    I have a few Dockers such as Plex, Sonarr and Sabnzb running well already, but this one has thrown me a bit

    I have a Hikvision 2032 camera, which I can use the following URL to successfully watch a video stream over my network through VLC:

    rtsp://username[emoji14]assword@IP address:554//Streaming/Channels/1

     

    But when I enter the same into Zoneminder and then view the Live Preview..I get a blank white screen, but at the bottom it shows the correct FPS reading, which is 25

     

    General settings

    Name -    1

    Source Type  - FFMPEG

    Function -    Monitor

    Enabled  - YES

    Linked Monitors -    1

    Maximum FPS -    25.00

    Alarm Maximum FPS - 

    Reference Image Blend - 6.25% Indoor 

    Alarm Reference Image Blend  - 6.25% 

    Triggers -    None available

     

     

     

    Source settings

    Source Path  -  rtsp://admin:[email protected]:554//Streaming/Channels/1

    Remote Method  - RTP/RTSP

    Options (?) -   

    Target Colorspace  - 24 bit colours

    Capture Width (pixels)  - 1920

    Capture Height (pixels) - 1080

    Preserve Aspect Ratio  - OFF

    Orientation  - Normal

    Deinterlacing  - Disabled

     

    I’ve also done the below, as recommended in the Docker container thread ;

    Tips and Setup Instructions:

    This container includes mysql, no need for a separate mysql/mariadb container

    All settings and library files are stored outside of the container and they are preserved when this docker is updated or re-installed (change the variable "/path/to/config" in the run command to a location of your choice)

    This container includes avconv (ffmpeg variant) and cambozola but they need to be enabled in the settings. In the WebUI, click on Options in the top right corner and go to the Images tab

    Click on the box next to OPT_Cambozola to enable

    Click on the box next OPT_FFMPEG to enable ffmpeg

    Enter the following for ffmpeg path: /usr/bin/avconv

    Enter the following for ffmpeg "output" options: -r 30 -vcodec libx264 -threads 2 -b 2000k -minrate 800k -maxrate 5000k (you can change these options to your liking)

    Next to ffmpeg_formats, add mp4 (you can also add a star after mp4 and remove the star after avi to make mp4 the default format)

    Hit save

    Now you should be able to add your cams and record in mp4 x264 format

    Here's a copy of my recent log entries when I have the Live View open:

    http://i.imgur.com/OpEUfE8.jpg

     

    Then it repeats in this pattern.

     

    These are my port settings on the camera….

     

    HTTP Port  - 80

    RTSP Port  - 554

    HTTPS Port  - 443

    Server Port - 8988

     

    Apologies if this isn't the right place to post, if it isn't, can you please point me in the right direction?

    Any help would be greatly appreciated guys...i’m stumped.

    Cheers

     

    edit1: When I do a search on my zoneminder folder for "ffmpeg" it comes up with no files, does that mean I do not have the ffmpeg file and no wonder it's saying the directory is incorrect? I thought this was built into the container?

    Sorry I can't be of help with camera setup. Zoneminder forums is your best bet.

     

     

    A Google search for your camera revealed this thread though and there are more: https://forums.zoneminder.com/viewtopic.php?t=23416

     

    Good luck

  7. Let me guess, you are using a user share for the config folder.

     

    Don't use /mnt/user/blah instead use /mnt/cache/blah (if it's a cache only share)

     

    If you don't have a cache drive, use a location like /mnt/disk1/blah

     

    Yes, I've got an appdata usershare that is sitting as 'cache only' that houses my plex/couchpotato/sonarr/nzbget/plexply.  Would running plexrequest on just cache change anything?

     

    Thanks for the prompt response!

    The share is cache only so both addresses really point to the same folder. It's just that for some strange unknown reason, some docker containers don't work when they try to use the user share address.

     

    Select /mnt/cache/appdata as the location and it should work

  8. Hi aptalca,

     

    I have got Zoneminder up and running on my unraid with out a problem, i have 3 IPCC-B15N-w wireless IP CAMs and im trying to configure them. After changing the settings all i can get is a video window with the date and time and the rest is a blue screen. I have come to the following 2 conclusions, 1. i dont know what im doing and im configuring it in correctly or that the Camera isnt supported by Zoneminder.

    Thanks in advance

     

    Bob

    I'm afraid I can't be of much help when it comes to specific camera setups in zm. Google searches or zoneminder forums are your best bet.

  9. Hi, i would like to make a request regarding your JDownloader docker:

     

    I've read in this thread, that it is possible to change the umask of the docker container:

    http://lime-technology.com/forum/index.php?topic=33922.45

     

    The Problem i have is, i want to move or rename or handle files after they are downloaded with another user via smb share. This is forbidden, as i am not user "nobody".

    Do you know, if there is a setting to tell jDownloader to actually use another umask while extracting files.

     

    Sorry, I just saw this.

     

    The problem is not really the umask, but the fact that jdownloader sets the permissions as read only for the group.

     

    In unraid, the files are supposed to belong to nobody:users and all smb users also belong to the same users group. As long as the files have write permission for the group, all smb users should be able to modify them.

     

    The issue with JDownloader is that it gives write permission to only the main user, and not the group. That's why smb users cannot move or delete.

     

    I just realized this and I'm looking into it.

     

    Haha, I'm an idiot.

     

    The problem was the umask. I was under the impression that Hurricane's baseimage set the umask and that jdownloader was ignoring it. Turns out the baseimage never sets the umask. I just pushed a new version with the correct umask so all downloaded files should conform to the unraid standard with full rw access for all.

     

    Make sure you update in the gui after you update the docker container because the container will install an 8 month old version.

  10. Hi bb12489,

     

    You should look into using hurricane hernandez's docker gui baseimage so this can be run in the web browser without the need for external vnc.

     

    His docker is here: https://hub.docker.com/r/hurricane/dockergui/

     

    A few of my containers like rdp-calibre and digikam use that and it works great.

     

    EDIT: Oops just realized that you're not the original dev. Well, if you're interested in forking and modifying it, I would suggest looking at the docker gui baseimage.

  11.  

     

    aptalca: I was doing some tests on the server and noticed duckdns hasn't been updating my domain for a while. I checked the ID and restarted the docker to make sure and am unable to ping krone6.duckdns.org from my phone off of Vrizon's service. I don't see much I can actually do to troubleshoot and am wondering if there's some tips you can give me to figure this out.

     

    Thanks.

    P.S. Here's the log file as of today

     

    Retrieving subdomain and token from the environment variables

    Fixing permissions

    Dec 31 21:22:22 7576eb174b9b syslog-ng[33]: syslog-ng starting up; version='3.5.3'

    Dec 31 21:25:01 7576eb174b9b /USR/SBIN/CRON[41]: (root) CMD (/root/duckdns/duck.sh >/config/duck.log 2>&1)

     

    In your configuration folder there is a file called duck.log what does that file say?

     

    This is all I get. By the way why does the conf file say duck.new.conf? It used to just say duck.conf

    Your IP was updated at Fri Jan 1 01:10:07 EST 2016

    If the log says that, then duckdns should have updated your ip. You can confirm that by going to duckdns.org and logging into your account. It will tell you what ip they have for you and you can compare it to your ip. You must be having another issue with connecting to your server.

     

    Perhaps the app or the port you are connecting to is not responding. Or maybe your router is blocking the request.

     

    Regarding the new conf, that is just a file the docker auto creates. I changed things a while back, where you no longer have to edit files manually. Now you can enter your domain and api key in the container settings during first install and it saves them in that new conf file.

     

    If you don't enter them in the settings, it will fall back to the old method and will look for the duck.conf file which requires manual editing. If you updated your container from the older version, you might not have seen those options in the edit page because unraid doesn't update the xmls unless you reinstall from scratch.

  12.  

     

    aptalca: I was doing some tests on the server and noticed duckdns hasn't been updating my domain for a while. I checked the ID and restarted the docker to make sure and am unable to ping krone6.duckdns.org from my phone off of Vrizon's service. I don't see much I can actually do to troubleshoot and am wondering if there's some tips you can give me to figure this out.

     

    Thanks.

    P.S. Here's the log file as of today

     

    Retrieving subdomain and token from the environment variables

    Fixing permissions

    Dec 31 21:22:22 7576eb174b9b syslog-ng[33]: syslog-ng starting up; version='3.5.3'

    Dec 31 21:25:01 7576eb174b9b /USR/SBIN/CRON[41]: (root) CMD (/root/duckdns/duck.sh >/config/duck.log 2>&1)

     

    In your configuration folder there is a file called duck.log what does that file say?

  13. However there is one issue with it.  It doesn't change the link for the Plex Requests hyperlink in the upper left hand corner of the home page.  So when you click on that, it tries to redirect to http://UNRAIDIP:3000/ which brings up an unknown path.

     

    Jim been thinking about this, only things I could come up with are

     

    • Are you using the dev branch
    • Assuming you are using the dev branch I think it must be an Apache issue - Have you got a defined web root?

     

    Not sure what you mean by a defined web root in apache.  Below is my PlexRequests docker config.

     

    Post up your default.conf and I'll take a look... (Edit out your domain name and replace it with server.com)

     

    aptalca, apologies, I'm not sure whether this discussion is best conducted here or in the Apache thread...  ???

    It's fine, no worries. It is plexrequests related I guess [emoji3]

  14. Re: Zoneminder

    For an example -

    * The configuration settings for your Docker containers are typically stored in an appdata folder, and the appdata folder is typically stored on the Cache drive.

    * Create the appdata folder on your Cache drive or pool.

    * Go to the Shares tab for the appdata folder and change the Use Cache setting to Only.

    * Now whenever you configure a Docker container path for the /config folder, set it to /mnt/cache/appdata/APP_NAME (e.g. /mnt/cache/appdata/plex and /mnt/cache/appdata/couchpotato).  On first use, those folders will be automatically created for you, and WILL NOT move from the Cache drive.

     

    How do I get the essential data(history) i.e events etc moved to the array and keep the app(zoneminder) on the cache.With  /config mount  all the data and is moved by the mover?

    You can either manually archive the contents of that folder to another share that is transferred to the array, or you can create a new share in unraid (cache drive enabled), map that share to the docker container and within the container symlink the current events folder to a folder in the new share

  15. How do I check the logs? Oh and another thing. It keeps stopping itself even though I start it and have autostart set to "on"

    In the unraid gui dashboard, click on the container's icon and select logs

     

    I even tried removing the container and the data and reinstalling. still didn't work.

     

    Log

    apache.conf already exists
    zm.conf already exists
    using existing mysql database
    using existing data directory
    using existing perl data directory
    creating symbolink links
    setting the correct local time
    increasing shared memory
    starting services
    * Starting MySQL database server mysqld
    ...done.
    * Checking for tables which need an upgrade, are corrupt or were 
    not closed cleanly.
    * Starting web server apache2
    * 
    Starting ZoneMinder: failure
    
    

     

    Hmm that log doesn't really show anything. But a start failure suggests something is indeed broken with the current install. The fact that a reinstall didn't fix it suggests an issue with the files in the config folder or an issue with the mysql database. I'm afraid I can't troubleshoot it remotely.

     

    I would suggest a fresh install in a new config folder (keep the existing folder as a backup of your data).

     

    After that, once the new container is installed and is accessible, you can try and transfer some of the setting files or the mysql stuff into that new folder to retrieve some of your old data (if you really want to, but it could get complicated).

  16. On my UnRaid box, I have a USB camera setup at: /dev/bus/usb/002/005

     

    (lsusb shows Bus 002 Device 005: ID 046d:09c1 Logitech, Inc. QuickCam Deluxe for Notebooks)

     

    I want to use this camera with this docker. Do I have to pass the hardware through? In the docker advanced settings, I added "--device=/dev/bus/usb/002/005:/dev/bus/usb/002/005" under Extra Parameters and the docker loads. However, I'm not having any luck identifying the camera.

     

    In the ZM settings, I setup a local cam and point it to: /dev/bus/usb/002/005 but I get permission denied errors in the log.

     

    Thanks for any help.

    I believe docker can pass devices through as long as drivers are loaded on the host OS. Unfortunately unraid lacks drivers for webcams.

     

    I talked to jonp about it and he doesn't think it makes sense to include those drivers in the unraid kernel (I also agree).

    You might wanna consider using a vm and passing through the usb port/bus if your hardware allows it

  17. I had Zoneminder installed for quite some time and it worked.  But today I was trying to open the webui and I got the error message: "You don't have permission to access /zm on this server."

     

    I tried restarting the docker to no avail.  any help would be appreciated.  thanks.

    Edit the container, don't change anything and hit save. It will recreate the container and see if that works

     

    I did just that, but it still does not work. The connection is refused.

     

    when I click the docker the browser opens the address: UnraidIPaddress:2424/zm/

     

    that's the connection that gets refused.  So I tried removing the "/zm/" from the Url and it takes me to the page:

    Ubuntu Logo Apache2 Ubuntu Default Page

     

    It works!

     

    This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

    If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.

    What do the logs show?

  18. I had Zoneminder installed for quite some time and it worked.  But today I was trying to open the webui and I got the error message: "You don't have permission to access /zm on this server."

     

    I tried restarting the docker to no avail.  any help would be appreciated.  thanks.

    Edit the container, don't change anything and hit save. It will recreate the container and see if that works

  19. Hi,

     

    I too am stuck on beta1. It never updates for me. I have had this running for a month and I started/stopped just about every other day as I have been using this as an on demand backup.

     

    Here's my log:

    Dec 9 20:34:12 aa4ad93732b5 syslog-ng[47]: syslog-ng starting up; version='3.5.3'
    
    -----------------------------------
    GID/UID
    -----------------------------------
    User uid: 99
    User gid: 100
    -----------------------------------
    
    Hit http://ppa.launchpad.net trusty InRelease
    Ign http://mirrordenver.fdcservers.net/ubuntu/ trusty InRelease
    Hit http://ppa.launchpad.net trusty/main amd64 Packages
    Get:1 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security InRelease [64.4 kB]
    Get:2 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates InRelease [64.4 kB]
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty Release.gpg
    Get:3 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/main Sources [127 kB]
    Get:4 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/restricted Sources [3,920 B]
    Get:5 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/universe Sources [36.5 kB]
    Get:6 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/multiverse Sources [2,165 B]
    Get:7 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/main amd64 Packages [477 kB]
    Get:8 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/restricted amd64 Packages [20.2 kB]
    Get:9 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/universe amd64 Packages [156 kB]
    Get:10 http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/multiverse amd64 Packages [4,645 B]
    Get:11 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/main Sources [311 kB]
    Get:12 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/restricted Sources [5,219 B]
    Get:13 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/universe Sources [183 kB]
    Get:14 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/multiverse Sources [5,116 B]
    Get:15 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/main amd64 Packages [836 kB]
    Get:16 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/restricted amd64 Packages [23.4 kB]
    Get:17 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/universe amd64 Packages [431 kB]
    Get:18 http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates/multiverse amd64 Packages [14.1 kB]
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty Release
    Dec 14 14:32:36 aa4ad93732b5 syslog-ng[49]: syslog-ng starting up; version='3.5.3'

     

    When I docker exec in and do apt-get update, I get the following:

     

    root@aa4ad93732b5:/etc/my_init.d# apt-get update
    Hit http://ppa.launchpad.net trusty InRelease
    Ign http://mirrordenver.fdcservers.net/ubuntu/ trusty InRelease
    Hit http://ppa.launchpad.net trusty/main amd64 Packages
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty-security InRelease
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty-updates InRelease
    Get:1 http://mirrordenver.fdcservers.net/ubuntu/ trusty Release.gpg [933 B]
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/main Sources
    Hit http://mirrordenver.fdcservers.net/ubuntu/ trusty-security/restricted Sources
    E: Method gave invalid 103 Redirect message
    

     

    I get the same result when I use the command that linuxserver team's baseimage has:

    apt-get update && apt-get --only-upgrade install -yqq $APTLIST

     

    I believe that is why it fails to update sab. I don't have this issue with any other containers.

     

    I tested duckdns, another phusion based container and there are no issues with apt-get update there.

     

    I then did apt-get upgrade in sab and it went ahead and updated to beta 3. It still fails on apt-get update.

     

    Do you think there might be an issue with the sources.list provided in the baseimage?

     

    Thanks

  20. Zoneminder is up again.I removed the cpuset option and the reason for the mover running was the cameras were set at 10 fps and I changed it to 5 fps (cameras  x 5) were also set at 1920x1080 and I reduced it to 640x480.How do I check the health of the tables in the mysql db.Access(login details).

     

    Telnet or go to console and do

    docker exec -it Zoneminder bash

    to enter the container

    The type

    mysql

    no user/password needed and you can fix what needs to be fixed

  21. I have the mover running and tried to speed up things by setting the --cpuset=0-1 option now I have corruption in my zoneminder mysql db according to the zoneminder log and I cannot see the webgui.How do I login get in to repair the tables?

    Thanks.

    Does the container remain running? Or does it stop right away?

     

    If it's running, then try docker exec into it and you can try and fix the mysql issue.

     

×
×
  • Create New...