sacretagent

Members
  • Posts

    943
  • Joined

  • Last visited

Posts posted by sacretagent

  1. Seems to be working fine here on a new install (installed it about an hour or so ago, and have started/stopped it a few times since).

     

    Has anybody looked at running their own docker'ed musicbrainz server?  There's one on the docker repo, I have it installed, just not sure what I need to edit to make a correct DBDefs.pm file for it in a docker configuration..

     

    **EDIT** Looks like I spoke too soon, now I'm seeing the same problems the other guy has.  My run line was:

     

    <code>docker run -d --net="host" --name="headphones" -v /mnt/docker/data/headphones:/config -v /mnt/user:/media -v /etc/localtime:/etc/localtime:ro -e EDGE=1 -p 8181:8181 sacretagent/needo-headphones</code>

     

    Not sure how to get back to a running system from here.  I didn't have it on it set up to run automatically, so not sure WHY it would affect the system after a restart.

     

    I'm going to try manually removing the docker container, and do a forced restart, but I see a parity check in my future...

     

    mm wonder if it is not the cookie thing

    how you access your headphones ? aka <ip>:8181 or <hostname>:8181 ?

    if you use <hostname>:8181

    then try accessing your unraid GUI by <ip>

    or vice versa

     

  2. all i can say it is working fine for me and a bunch of other people

     

    it would be nice to know though what your docker run line is...

    just a wild guess but you probably messed up ports .....

     

    just a FYI

    i just got the little popup asking me to update in headphones (33 commits behind)

    clicked update and everything updated fine and no issues with any of the gui....

    only thing i can think of really in your case is that or you are using this port 8181 already for something else

    or you made a mistake in the docker run port assignment

  3. not really....

    what i do is download the zip from the github page from needo

    uzip it into a folder on the cache drive

    make the changes to the edge file

    make sure you cd into the folder where you unzipped the files

    and then do a

    docker build -t needo/plexconnect .

    don't forget the Dot at the end

    this will build the image on your unraid machine

    and so you can use the above start line as it will find the needo/plexconnect image on the machine locally

     

    i do this for a lot of programs as i can see the progress the docker is making and can see where he hangs if needed .....

  4. i just checked and i am using a different edge file as needo too

     

    this is needo's

    #!/bin/bash
    
    # Does the user want the latest version
    if [ -z "$EDGE" ]; then
      echo "Bleeding edge not requested"
    else
      apt-get install -qy git
      mv /opt/plexconnect/assets/certificates/trailers* /tmp/
      rm -rf /opt/plexconnect
      git clone https://github.com/iBaa/PlexConnect.git /opt/plexconnect
      mv /tmp/trailers* /opt/plexconnect/assets/certificates/
    fi
    
    # Generate SSL certificates if they don't exist
    if [ -f /opt/plexconnect/assets/certificates/trailers.pem ] ; then
      echo "SSL certs exist"
    else
      openssl req -new -nodes -newkey rsa:2048 -out /opt/plexconnect/assets/certificates/trailers.pem -keyout /opt/plexconnect/assets/certificates/trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"
      openssl x509 -in /opt/plexconnect/assets/certificates/trailers.pem -outform der -out /opt/plexconnect/assets/certificates/trailers.cer && cat /opt/plexconnect/assets/certificates/trailers.key >> /opt/plexconnect/assets/certificates/trailers.pem
    fi

     

    this is mine

     

    #!/bin/bash
    
    # Does the user want the latest version
    if [ -z "$EDGE" ]; then
      echo "Bleeding edge not requested"
    else
      apt-get install -qy git
      cd /tmp
      git clone https://github.com/iBaa/PlexConnect.git
      cp -Rfu /tmp/PlexConnect/* $INSTALLDIR
      rm -Rf /tmp/PlexConnect
    fi
    
    # Generate SSL certificates if they don't exist
    if [ -f /opt/plexconnect/assets/certificates/trailers.pem ] ; then
      echo "SSL certs exist"
    else
      openssl req -new -nodes -newkey rsa:2048 -out /opt/plexconnect/assets/certificates/trailers.pem -keyout /opt/plexconnect/assets/certificates/trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"
      openssl x509 -in /opt/plexconnect/assets/certificates/trailers.pem -outform der -out /opt/plexconnect/assets/certificates/trailers.cer && cat /opt/plexconnect/assets/certificates/trailers.key >> /opt/plexconnect/assets/certificates/trailers.pem
    fi
    

    the difference is that if you have an issue connecting to git and downloading the newest version that needo's already deleted your existing setup and so you end up with the error that you have

    mine keeps the existing setup and overwrites the files once git has downloaded the newest version

     

    i prefer it this way

     

  5. from the main website

     

    To install the Registration Key, simply copy the key data file to the config directory of your Flash and reboot your server.

     

    i recently changed usb drive and had the same issue by putting the key in the main /flash dir

    it has to be in /flash/config (if you look at it from a network machine

    or /boot/config if you look at it from unraid (winscp or something like that)

  6.  

    Certainly any performance hit for dual parity will not bother me personally,  I only ever write to cache.

     

    I am also very interested in the ability to run multiple arrays with their own parity in the same box with user shares spanning them.

     

    I would also be interested in like a master unraid to access the filesystems of all slave unraids ... in or out of the same box

    aka one user share for all boxes...

  7. HI

     

    this happened to me too after my first usb key gave up after 5 years of duty :)

    just send Tom an email with a copy of the old license and the uuid of the new key and you will have a new license in a couple of hours...

    if you still have the invoice of your payment that might also help speeding things up....

     

    I added for good measure the error message from the syslog about the key .. not sure if it is required .... anyway make a backup of your key already .... and send tom the email ...  lime-tech has always been good about replacing these licenses....

     

  8. well i can tell you the problem is there

    it was there when we had the normal plugins in unraid and it is still there with docker

    but with docker i don't have these nasty crashes any more (at least till now)

     

    biggest offenders are

     

    rsync eating up all i/o cycles

    have crashplan then running a scan

    and plex also doing a transcode then cpu gets a serious workout and swapfile is also getting bigger and bigger

     

    but like i said so far no crashes ... not even a docker that quits...

    i think unraid itself is getting the resources it needs but in my case i think it is the cache drive that is killing itself....

    as swapfile / dockers / download are all going to the cache drive ........

    so the extra app/docker drive might be a good choice to add to the standard unraid setup

     

    thing is that choosing what should have how much resources is a difficult thing to choose i guess....

    i would not know where to even begin at that ...

    so if you make this option available then i would at least provide some insight how people should choose wisely the settings for each app

     

  9. markyboy

     

    just start the docker again and once you did do a docker logs -f <apname>

    it will open a rotating log file and watch for any git error .....

    it happens sometimes to me too due to git being swamped or my internet connection not being able to reach git for some reason

    once it gives an error do a ctrl-c to stop the log from rotating and copy paste the error here .....

    but chances are when you try a second or third time that it will install ......

     

    what you are seeing is the problem with needo's edge system ... it deletes the install dir and does do a git clone .....

    gfjardim proposed a workaround for this a few posts up...

    to first check if there is a .git file .... if there is to do a git pull instead of a git clone .....

    this would save bandwidth and in the case that github is not reachable you will still have the older version to work with ....

    with gfjardims workaround you would only once have to delete that install directory the first time you decide to use edge=1

     

     

  10. Needo's plexconnect works fine

    i use it every day as i have an apple tv 2 in my bedroom

    so in the evening i watch series with that

     

    Please be aware that if you have plexconnect running already from my plugin that you first before installing needo's docker as a best practise make a backup of your ssl keys/certs which are in the folder <your patch to plexconnect>/assets/certificates

    i had the docker overwrite mine but since then needo updated the docker already with my advice ..... normally should not happen again ... but better be safe....

    just would hate you to have to hack your apple tv again to add the new certs ....

     

  11. Just updated to b6 and I noticed that the CPU temperature sensors no longer report the temperature. Not sure if this is an unRAID issue or an unMENU issue but thought I would post here. They worked in b5a.

     

    Jul 8 17:24:13 unmenu[3086]: No sensors found!

    Jul 8 17:24:13 unmenu[3086]: Make sure you loaded all the kernel drivers you need.

    Jul 8 17:24:13 unmenu[3086]: Try sensors-detect to find out which these are.

     

    if you just copied over the 6 beta 6 files to your unraid 5 stick than i would start disabling all packages you installed with unmenu as most of them are x86 packages

    for your temperature you can try typing sensors in the terminal and see if that gives you an output

    and then i guess a good soul will need to adapt that package in unmenu for x64 ;)

     

    my output from the sensors command

     

    movieraid

    root@P8H67:~# sensors

    No sensors found!

    Make sure you loaded all the kernel drivers you need.

    Try sensors-detect to find out which these are.

     

    TVraid

    root@R2D2:~# sensors

    atk0110-acpi-0

    Adapter: ACPI interface

    Vcore Voltage:      +1.08 V  (min =  +0.80 V, max =  +1.60 V)

    +3.3 Voltage:      +3.36 V  (min =  +2.97 V, max =  +3.63 V)

    +5 Voltage:        +5.04 V  (min =  +4.50 V, max =  +5.50 V)

    +12 Voltage:      +12.32 V  (min = +10.20 V, max = +13.80 V)

    CPU FAN Speed:      2109 RPM  (min =  600 RPM, max = 7200 RPM)

    CHASSIS1 FAN Speed:    0 RPM  (min =  600 RPM, max = 7200 RPM)

    CHASSIS2 FAN Speed:  839 RPM  (min =  600 RPM, max = 7200 RPM)

    POWER FAN Speed:    1068 RPM  (min =  600 RPM, max = 7200 RPM)

    CPU Temperature:    +61.0 C  (high = +60.0 C, crit = +95.0 C)

    MB Temperature:      +41.0 C  (high = +45.0 C, crit = +75.0 C)

     

    you will probably be needing some package ...

  12. any way of seeing the progress of the docker build/pull ?

    trying to install crashplan with this new gui.... but i am waiting and waiting and drink a beer and waiting and waiting ........... and drinking

     

    30 minutes so far nothing moves ...

    /var/log/docker.log shows me this

    2014/07/08 21:17:05 POST /v1.12/containers/create?name=CrashPlan

    [71c3592f] +job create(CrashPlan)

    No such image: gfjardim/crashplan (tag: latest)

    [71c3592f] -job create(CrashPlan) = ERR (1)

    [error] server.go:1025 Error: No such image: gfjardim/crashplan (tag: latest)

    [error] server.go:90 HTTP Error: statusCode=404 No such image: gfjardim/crashplan (tag: latest)

    2014/07/08 21:17:05 POST /images/create?fromImage=gfjardim%2Fcrashplan&tag=latest

    [71c3592f] +job pull(gfjardim/crashplan, latest)

     

    seems he is pulling....

     

    also in my other server i can't seem to set needo/plex to autostart

    i tick it ... the page refreshes and it is unticked again ...

     

  13. Elan over at Plex gets the whole communication / Road Maps / Investing in the company (Tom is 10 years late) / Branding / Marketing / Customer Experience / Customer Service / Going the extra mile (instead of the half baked shit Tom does) / etc. He took XBMC and put all of the following above around it (showed it some love too) and made over $100 Mill in the last 2 years. I will email Elan and tell him he is doing it wrong and conduct his business like Tom. His revenues, word of mouth, subscriptions, reputation, etc. will soar I'm sure.

     

    PSSSSTTT barkley manages everything at plex ;)

     

    ;D  ;D  ;D

  14. yep as simple as that ...

    I did mysql plugin to mariadb plugin and now back to a mysql docker LOL

    all without losing anything .... just be sure that your mysql folder has everything all mysql/mysql permissions

    and everything will be fine

     

    So your back to using MySQL over mariadb?

     

    Yeah just because at the time i changed the mariadb docker was not out yet .... so i am using tutum/mysql:5.5

    long story short i was messing with tutum lamp to get newznab running... and saw the mysql docker also...

    i might change .... not sure yet... i think crashplan is still running on the ubuntu image so no need to change... the moment crashplan changes to use the phusion baseimage then i might change to eliminate the ubuntu 14.04 image

     

  15. Docker for Headphones -> https://github.com/rembo10/headphones/wiki

     

    Currently maintained by Rembo10

     

    Completely based on needo's couchpotato docker so all credit goes to him...

     

    This will install by default the last stable release

     

    https://registry.hub.docker.com/u/sacretagent/needo-headphones/

     

    This is a Dockerfile setup for headphones -

     

    By default this Docker installs the latest stable version of headphones:

     

    docker run -d --net="host" --name="headphones" -v /path/to/headphones/data:/config -v /path/to/downloads:/downloads -v /path/to/music:/music -v /etc/localtime:/etc/localtime:ro -p 8181:8181 sacretagent/needo-headphones

     

    Edge

    ----

    If you would like to run the latest updates from the master branch as well as enable in-app updates run:

     

    docker run -d --net="host" --name="headphones" -v /path/to/headphones/data:/config -v /path/to/downloads:/downloads -v /path/to/music:/music -v /etc/localtime:/etc/localtime:ro -e EDGE=1 -p 8181:8181 sacretagent/needo-headphones