Jump to content

Pducharme

Community Developer
  • Posts

    1,011
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Pducharme

  1. How Could I cleanup the Images and Containers of that docker, to make sure i'm not starting with a bad images/container ?
  2. strange, I just connect to your plexconnect repo and this is the default behavior for me... all your other docker works really well.
  3. Not with the current version of the Docker. I can look into making that change. What are you looking to modify? For me, it never worked If I don't connect a path, it start PlexConnect.py, but doesn't work. If I connect a Path, it always give an error that the PlexConnect.py is not found (needo, you can see details in the Thread I created yesterday).
  4. Ok. I might give a try, but ultimately, I still think that needo could/should incorporate a fix (or your suggested Edge.sh file). "As Is", the plexConnect Docker that is created/maintained by needo doesn't work, at least on my Unraid.
  5. Ok, do you have a own plexconnect Repo so I can use yours instead and try with that?
  6. Doesn't work for me ! Processing triggers for ureadahead (0.100.0-16) ... mv: cannot stat '/opt/plexconnect/assets/certificates/trailers*': No such file or directory rm: cannot remove '/opt/plexconnect/assets/certificates': Device or resource busy fatal: destination path '/opt/plexconnect' already exists and is not an empty directory. mv: cannot stat '/tmp/trailers*': No such file or directory Generating a 2048 bit RSA private key ...................................................+++ .................................+++ writing new private key to '/opt/plexconnect/assets/certificates/trailers.key' ----- *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 208 /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory
  7. I see you run it in host Mode. I tried in Bridge (I also added 443 and 53 ports) and get the same. I'll try in host mode to see.
  8. Please note that without the Path not connected, plexConnect starts, but I don't have access to the certificates. Also, I think that the config file should be put outside of the docker too! It would be useful in case we need to change settings.
  9. This is the Run command (generated from the Extended Docker Manager) : root@localhost:# /usr/bin/docker run -d --name="PlexConnect" --net="bridge" -e EDGE="1" -p 80:80/tcp -v "/mnt/btrfs/appdata/plexconnect/":"/opt/plexconnect/assets/certificates":rw -v "/etc/localtime":"/etc/localtime":ro needo/plexconnect If I DO NOT put any path, I can see that PlexConnect starts... so there is something strange! Command: root@localhost:# /usr/bin/docker logs PlexConnect *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/edge.sh... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: git-man liberror-perl patch rsync Suggested packages: gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn ed diffutils-doc The following NEW packages will be installed: git git-man liberror-perl patch rsync 0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded. Need to get 3642 kB of archives. After this operation, 22.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main rsync amd64 3.1.0-2ubuntu0.1 [283 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main git-man all 1:1.9.1-1 [698 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main git amd64 1:1.9.1-1 [2555 kB] Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu1 [84.4 kB] Fetched 3642 kB in 14s (243 kB/s) Selecting previously unselected package rsync. (Reading database ... 16116 files and directories currently installed.) Preparing to unpack .../rsync_3.1.0-2ubuntu0.1_amd64.deb ... Unpacking rsync (3.1.0-2ubuntu0.1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ... Unpacking liberror-perl (0.17-1.1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a1.9.1-1_all.deb ... Unpacking git-man (1:1.9.1-1) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a1.9.1-1_amd64.deb ... Unpacking git (1:1.9.1-1) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.1-4ubuntu1_amd64.deb ... Unpacking patch (2.7.1-4ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up rsync (3.1.0-2ubuntu0.1) ... Removing any system startup links for /etc/init.d/rsync ... update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none) Adding system startup for /etc/init.d/rsync ... /etc/rc0.d/K20rsync -> ../init.d/rsync /etc/rc1.d/K20rsync -> ../init.d/rsync /etc/rc6.d/K20rsync -> ../init.d/rsync /etc/rc2.d/S20rsync -> ../init.d/rsync /etc/rc3.d/S20rsync -> ../init.d/rsync /etc/rc4.d/S20rsync -> ../init.d/rsync /etc/rc5.d/S20rsync -> ../init.d/rsync invoke-rc.d: policy-rc.d denied execution of restart. Setting up liberror-perl (0.17-1.1) ... Setting up git-man (1:1.9.1-1) ... Setting up git (1:1.9.1-1) ... Setting up patch (2.7.1-4ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... mv: cannot stat '/opt/plexconnect/assets/certificates/trailers*': No such file or directory Cloning into '/opt/plexconnect'... mv: cannot stat '/tmp/trailers*': No such file or directory Generating a 2048 bit RSA private key .........................+++ ...+++ writing new private key to '/opt/plexconnect/assets/certificates/trailers.key' ----- *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 219 22:34:06 PlexConnect: *** 22:34:06 PlexConnect: PlexConnect 22:34:06 PlexConnect: Press CTRL-C to shut down. 22:34:06 PlexConnect: *** 22:34:06 Settings: add setting enable_plexgdm=True 22:34:06 Settings: add setting ip_pms=192.168.178.10 22:34:06 Settings: add setting port_pms=32400 22:34:06 Settings: add setting enable_dnsserver=True 22:34:06 Settings: add setting port_dnsserver=53 22:34:06 Settings: add setting ip_dnsmaster=8.8.8.8 22:34:06 Settings: add setting prevent_atv_update=True 22:34:06 Settings: add setting enable_plexconnect_autodetect=True 22:34:06 Settings: add setting ip_plexconnect=0.0.0.0 22:34:06 Settings: add setting hosttointercept=trailers.apple.com 22:34:06 Settings: add setting port_webserver=80 22:34:06 Settings: add setting enable_webserver_ssl=True 22:34:06 Settings: add setting port_ssl=443 22:34:06 Settings: add setting certfile=./assets/certificates/trailers.pem 22:34:06 Settings: add setting loglevel=Normal 22:34:06 Settings: add setting logpath=. 22:34:06 PlexConnect: started: 22:34:06 22:34:06 PlexConnect: Version: 0.4 22:34:06 PlexConnect: Python: 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] 22:34:06 PlexConnect: Host OS: linux2 22:34:06 PlexConnect: IP_self: 172.17.0.19
  10. gfjardim: Hi, is there a reason that the Extended Docker Config doesn't have a template for PlexConnect by needo ? I still used the Extended page for creating it, but I manually filled in the template.
  11. Nice guys! i'm running the Testing 14.0 verison, installed well, didn't try yet a download, but pretty confident it will work well !
  12. Hi Needo (or anyone else that knows about that docker), I followed the instruction on the GitHub regarding the PlexConnect docker you create. What is strange is that, when I do NOT put a path to connect, the PlexConnect run, I see it in the output of the Docker Extended Manager. Whenever I create the Path, I see it create the Certificates (the 3 files), but I have this at the output. I even tried removing the Container + Image and still always get that same behavior : Command: root@localhost:# /usr/bin/docker logs PlexConnect *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/edge.sh... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: git-man liberror-perl patch rsync Suggested packages: gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn ed diffutils-doc The following NEW packages will be installed: git git-man liberror-perl patch rsync 0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded. Need to get 3642 kB of archives. After this operation, 22.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main rsync amd64 3.1.0-2ubuntu0.1 [283 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main git-man all 1:1.9.1-1 [698 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main git amd64 1:1.9.1-1 [2555 kB] Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu1 [84.4 kB] Fetched 3642 kB in 1s (1932 kB/s) Selecting previously unselected package rsync. (Reading database ... 16116 files and directories currently installed.) Preparing to unpack .../rsync_3.1.0-2ubuntu0.1_amd64.deb ... Unpacking rsync (3.1.0-2ubuntu0.1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ... Unpacking liberror-perl (0.17-1.1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a1.9.1-1_all.deb ... Unpacking git-man (1:1.9.1-1) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a1.9.1-1_amd64.deb ... Unpacking git (1:1.9.1-1) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.1-4ubuntu1_amd64.deb ... Unpacking patch (2.7.1-4ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up rsync (3.1.0-2ubuntu0.1) ... Removing any system startup links for /etc/init.d/rsync ... update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none) Adding system startup for /etc/init.d/rsync ... /etc/rc0.d/K20rsync -> ../init.d/rsync /etc/rc1.d/K20rsync -> ../init.d/rsync /etc/rc6.d/K20rsync -> ../init.d/rsync /etc/rc2.d/S20rsync -> ../init.d/rsync /etc/rc3.d/S20rsync -> ../init.d/rsync /etc/rc4.d/S20rsync -> ../init.d/rsync /etc/rc5.d/S20rsync -> ../init.d/rsync invoke-rc.d: policy-rc.d denied execution of restart. Setting up liberror-perl (0.17-1.1) ... Setting up git-man (1:1.9.1-1) ... Setting up git (1:1.9.1-1) ... Setting up patch (2.7.1-4ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... rm: cannot remove '/opt/plexconnect/assets/certificates': Device or resource busy fatal: destination path '/opt/plexconnect' already exists and is not an empty directory. SSL certs exist *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 205 /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory /usr/bin/python: can't open file '/opt/plexconnect/PlexConnect.py': [Errno 2] No such file or directory
  13. gfjardim : Does this mean that the Settings I change (Post-Processing Script) will now be retain and all errors regarding values not in config won't appear ?
  14. Hi, In my goal of DOCKERize all my services on my Unraid server, I would like to run PlexConnect (at least until Apple finally allow App Store and real PLEX on Apple TV!) on my Unraid, but that requires ports 80 & 443). I know I can relocalize the Unraid Management Console (like needo suggest : https://registry.hub.docker.com/u/needo/plexconnect/), but I would prefer to run a 2nd IP Address (I have a 2nd NIC port if required) or a bridge with a 2nd IP on the 1st NIC (If Docker can do that?)... If that works, I can even run all my dockers from that 2nd IP address !
  15. I could see something that look for a specific XML file on the appdata folder with a value like: BleedingEdgeAllowed = True or False. The XML can also contains other useful value. If the XML is not present, the only thing available could be the "stable" available build.
  16. Ok Ok guys Keep peace I tend to agree with neilt0 - If us, the users, want to test a "testing" version, it's on us. It can help the development of NZBGet and that's good. neilt0 just want a docker that you can choose, by using a variable, what you want to run. I understand that pkgs.org doesn't have yet a new "stable" of version 13. Someone else (can't remember who) did fork the NZBGet and made that work. For me, it doesn't work because I can't save the Config change for my Post Processing script, but it's just a Config file issue, I guess it can be fixed easily. I think the NZBget "official" docker should be the new one, it's not the "standard" one that Install Pkgs.org apt-get package, but in the case of NZBGet, those packages are not create fast enough to be a good idea. What do you think ?
  17. gfjardim : special Thank you for you. With all your excellent explanations, I have all Un-priviledged Dockers running in Bridge Mode. This is excellent. Now, just need that UniFi Controller docker and I can stop Using XEN VM and move back to default Boot (instead of Xen compat. bootable choice!). Unraid is really a nice solution, a lot slower than my previous QNAP NAS, but It's more versatile.
  18. Unlimited storage ? (Limited by the space you gave to it...).
  19. This is great! But will take long to happen because docker use the Ubuntu packages only I tried the other docker with NZBGet 13, but had issue with my Post-Processing Script. Everything was working thought.
  20. In case some charitable person (needo? anyone else?) want to work on a UniFi Controller Docker, there is already 3-4 Dockers that does it, but they do not use phusion Image. UniFi has 3 Branches, I guess that could be controlled by the EDGE variable with value like "stable", "rapid" and "beta". Can someone Dockerize that ? Reference : https://registry.hub.docker.com/u/jasonrm/unifi/
  21. @needo : I tried your MariaDB docker. It start and probably work. But, what is the default DB, User and Pass ? I'm trying to use the MariaDB on a Cache SSD drive (for the DB) to work as the backend of Owncloud Docker. Currently, the owncloud connect to Sqlite DB. MariaDB should make it faster How can I create a new DB for owncloud ? Is there any admin tools to do that? or command Line ? Any help appreciate! Thanks!
  22. The line is correct. Take a look: https://docs.docker.com/reference/run/#runtime-privilege-and-lxc-configuration The --privileged option gives an unrestricted access to all your devices from a container, so it's best to avoid it unless necessary. It doesn't work. Here is my full docker.cfg : # Generated settings: DOCKER_HOME="/mnt/btrfs/docker" DOCKER_OPTS="--storage-driver=btrfs --ip=192.168.2.6" DOCKER_CONTAINERS="nzbdrone2,nzbget,ownCloud,PlexMediaServer,PlexWatch" I removed a container of Owncloud (port 8000). Then, I re-add a Owncloud that use the "my-owncloud" template, but I just changed the Net=Host to Net=Bridge, and I leaved it on 8000 because there wasn't anything using that port (PyLoad wasn't start). Do I need something special with the bridge created for Xen too ? EDIT - FORGET IT, it works... It was just slow to start owncloud... Strange!
  23. Mmm Ok. Priviledged is not good then, except when needed. I guess it would be nice to have, with the Docker List (or the Info in the Extended Manager), the recommended setting for the Privileged setting for each of the specific dockers.
×
×
  • Create New...