Dockerization of some popular applications.


Recommended Posts

Hi,

 

I have updated plexmediaserver docker, after update, the plex media server not work! when I connect to 32400 port, I receive the error in attachment! This is my config

 

any ideas?

needo hasn't been on the forum for 2 months. Maybe switch to another. Linuxserver.io is well supported.
Link to comment
  • 6 months later...

I have been running the docker sickrage from needo/sickrage, without any issues for months.  Today I noticed the docker was not running and it will not start with a manual commend.  The last few lines in the syslog shows this:

 

Jul 27 19:46:58 Tower kernel: veth984f710: renamed from eth0
Jul 27 19:46:58 Tower kernel: docker0: port 2(veth271e320) entered disabled state
Jul 27 19:46:59 Tower kernel: docker0: port 2(veth271e320) entered disabled state
Jul 27 19:46:59 Tower kernel: device veth271e320 left promiscuous mode
Jul 27 19:46:59 Tower kernel: docker0: port 2(veth271e320) entered disabled state

 

None of my other dockers have isseues and server is running fine.  Any ideas?

 

Link to comment
3 hours ago, Squid said:

Odds on because of the DMCA currently in place against Sickrage by an angry contributor to the project.   Better off switching to the lsio or binhex versions of this app 

 

Ah, thanks for that information, I was not aware.  That sucks, as now I have reconfigure all that crap again.

 

Link to comment

I didn't find isio version.  I did find linuxserver

 

Looks like most selected that one.  Do you still recommend the binhex version over the linuxserver one?

 

Setting up the initial docker settings is easy, but is there a way to keep the sickrage settings?  Perhaps there is a config file I can copy so I don't have to configure all over again?  I cannot get into my existing sickrage because it won't start, so I can't even  take screen shots of my settings.  I set this up a while back so don't recall all the settings I used.  

 

If I install the new one in the same directories, will it use the existing config files?

 

Thanks!

Edited by Switchblade
Link to comment
23 minutes ago, Switchblade said:

I didn't find isio version.  I did find linuxserver

 

Looks like most selected that one.  Do you still recommend the binhex version over the linuxserver one?

 

Setting up the initial docker settings is easy, but is there a way to keep the sickrage settings?  Perhaps there is a config file I can copy so I don't have to configure all over again?  I cannot get into my existing sickrage because it won't start, so I can't even  take screen shots of my settings.  I set this up a while back so don't recall all the settings I used.  

 

If I install the new one in the same directories, will it use the existing config files?

 

Thanks!

lsio is linuxserver ;)

Link to comment

ok, I guess I have more issues.  I can install and it says it was sucessful, however it does not write any files into my app/sickarage folder and I get several errors saying files does not exist.  I then removed SR altogether.

 

My sys log shows this,

 

Jul 28 12:59:46 Tower root: Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 146
Jul 28 12:59:46 Tower root: 
Jul 28 12:59:46 Tower root: Warning: file_get_contents(https://microsoft/windowsservercore): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 146
Jul 28 12:59:50 Tower root: Updating info... Done.
Jul 28 12:59:50 Tower emhttp: shcmd (102): set -o pipefail ; /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 |& logger
Jul 28 12:59:50 Tower kernel: BTRFS: device fsid 42e33d3a-393f-44fa-8bb1-738501d22b22 devid 1 transid 255 /dev/loop1
Jul 28 12:59:50 Tower kernel: BTRFS info (device loop1): disk space caching is enabled
Jul 28 12:59:50 Tower kernel: BTRFS info (device loop1): has skinny extents
Jul 28 12:59:50 Tower root: Resize '/etc/libvirt' of 'max'
Jul 28 12:59:50 Tower kernel: BTRFS info (device loop1): new size for /dev/loop1 is 1073741824
Jul 28 12:59:50 Tower emhttp: shcmd (105): /etc/rc.d/rc.libvirt start |& logger
Jul 28 12:59:50 Tower root: Starting virtlockd...
Jul 28 12:59:50 Tower root: Starting virtlogd...
Jul 28 12:59:50 Tower root: sed: can't read /etc/libvirt/qemu/*.xml: No such file or directory
Jul 28 12:59:50 Tower root: sed: can't read /etc/libvirt/qemu/*.xml: No such file or directory
Jul 28 12:59:50 Tower root: Starting libvirtd...
Jul 28 12:59:50 Tower kernel: tun: Universal TUN/TAP device driver, 1.6
Jul 28 12:59:50 Tower kernel: tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Jul 28 12:59:50 Tower emhttp: nothing to sync
Jul 28 12:59:51 Tower kernel: Ebtables v2.0 registered
Jul 28 12:59:51 Tower kernel: virbr0: port 1(virbr0-nic) entered blocking state
Jul 28 12:59:51 Tower kernel: virbr0: port 1(virbr0-nic) entered disabled state
Jul 28 12:59:51 Tower kernel: device virbr0-nic entered promiscuous mode
Jul 28 12:59:51 Tower avahi-daemon[14723]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Jul 28 12:59:51 Tower avahi-daemon[14723]: New relevant interface virbr0.IPv4 for mDNS.
Jul 28 12:59:51 Tower avahi-daemon[14723]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
Jul 28 12:59:51 Tower kernel: virbr0: port 1(virbr0-nic) entered blocking state
Jul 28 12:59:51 Tower kernel: virbr0: port 1(virbr0-nic) entered listening state
Jul 28 12:59:51 Tower dnsmasq[16275]: started, version 2.76 cachesize 150
Jul 28 12:59:51 Tower dnsmasq[16275]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
Jul 28 12:59:51 Tower dnsmasq-dhcp[16275]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
Jul 28 12:59:51 Tower dnsmasq-dhcp[16275]: DHCP, sockets bound exclusively to interface virbr0
Jul 28 12:59:51 Tower dnsmasq[16275]: reading /etc/resolv.conf
Jul 28 12:59:51 Tower dnsmasq[16275]: using nameserver 10.11.79.190#53
Jul 28 12:59:51 Tower dnsmasq[16275]: read /etc/hosts - 2 addresses
Jul 28 12:59:51 Tower dnsmasq[16275]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Jul 28 12:59:51 Tower dnsmasq-dhcp[16275]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Jul 28 12:59:51 Tower kernel: virbr0: port 1(virbr0-nic) entered disabled state

 

I removed sickrage completely and rebooted server.  I did a new sickrage install again and I get the follow errors in my sickrage log, in addition to the above errors in my sys log.  

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/app/sickrage'...
fatal: could not read Username for 'https://github.com': No such device or address
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory
python: can't open file '/app/sickrage/SickBeard.py': [Errno 2] No such file or directory

 

Sickrage was working fine for a year and there have been no changes and no other issues with other Dockers.

 

Some of these errors may be related to VM, as I was playing with that a few weeks ago.   That said, sickrage was working as of last week, so not sure this is related at all.  I have now disabled VM completely.

 

Any ideas?

Edited by Switchblade
Link to comment

Update:  the sickrage docker install from linuxserver is broken.  The errors have something to do with the source of the downloads.

 

 

CHECKVERSION :: Unable to contact github, can't check for update: GithubException()

 

I tried the binhex one and it installed just fine, no errors at all.  I then copied over my config.ini and the  sickbeard.db and sickbeard.db.v0, v43, and v44 files from my previous sickrage backup.   Restarted docker and sickrage came right up with all my previous settings.  Seems to be ok now.

 

I would like to know what happened. WTF?

Edited by Switchblade
Link to comment
  • 2 months later...

Hello everyone - I have both dockers up and running now, sabnzbd and sickrage (binhex-sickrage).  I have installed the nzbtomedia script and configured it from scratch - really started over.  Now everything is working again, except that I get a script error in sabnzbd, which means it shows the download as failed.  However, the download has not failed and sickrage finds files and even moves them into my main show directory.   The other thing I noticed is that the downloads that actually fail, are never added to Sickrage Manage Failed Downloads section.  

 

Here is a nzbtomedia log file for a download that worked just fine, and the show has been fully added without any issues.  However, sabnzb shows it as a failed download on the main screen.

 

[14:29:19] [INFO]::MAIN: Loading config from [/nzbToMedia/autoProcessMedia.cfg]
[14:29:19] [INFO]::MAIN: Checking database structure...
[14:29:19] [INFO]::MAIN: Checking if source needs an update
[14:29:19] [ERROR]::MAIN: Unknown current version number, don't know if we should update or not
[14:29:19] [INFO]::MAIN: nzbToMedia Version:11.03 Branch:master (Linux 4.9.30-unRAID)
[14:29:19] [INFO]::MAIN: #########################################################
[14:29:19] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ##
[14:29:19] [INFO]::MAIN: #########################################################
[14:29:19] [INFO]::MAIN: Script triggered from SABnzbd
[14:29:19] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[14:29:19] [INFO]::MAIN: Calling SickBeard:tv to post-process:Outlander.S03E03.All.Debts.Paid.1080p.AMZN.WEBRip.DDP5.1.x264-NTb-postbot.nzb
[14:29:19] [INFO]::MAIN: SickBeard:tv fork set to sickrage
[14:29:19] [INFO]::MAIN: FLATTEN: Flattening directory: /downloads/complete/tv/Outlander.S03E03.All.Debts.Paid.1080p.AMZN.WEBRip.DDP5.1.x264-NTb-postbot
[14:29:20] [INFO]::TRANSCODER: Checking [Outlander.S03E03.All.Debts.Paid.1080p.AMZN.WEBRip.DDP5.1.x264-NTb-postbot.mkv] for corruption, please stand by ...
[14:29:20] [INFO]::TRANSCODER: SUCCESS: [Outlander.S03E03.All.Debts.Paid.1080p.AMZN.WEBRip.DDP5.1.x264-NTb-postbot.mkv] has no corruption.
[14:29:20] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[14:29:22] [POSTPROCESS]::SICKBEARD: Unable to figure out what folder to process. If your downloader and SickRage aren't on the same PC make sure you fill out your TV download dir in the config.
[14:29:22] [ERROR]::MAIN: A problem was reported in the /nzbToMedia/nzbToSickBeard.py script.
SickBeard: Failed to post-process - Returned log from SickBeard was not as expected.!

 

I don't know what the error code means, or why I'm now getting the message about Unable to figure out......   Both Dockers are on the same box and I have configured Categories in sabnzbd.  I'm running the latest version and I have Unraid 6.3.5

 

Is this the best thread to get support for this issue?  Or should I be looking for a nzbtomedia support thread?

Edited by Switchblade
Link to comment
  • 4 months later...
  • 10 months later...

OK, I've made some progress (with the help of others) on resolving issues on my server, and now I call upon your assistance once more....

 

Can anyone offer any guidance on a Couch Potato problem that I have?

 

I was using CP happily for a while, then it stopped working, I get a "This site can't be reached" message along with a "err_connection_refused" description.

 

Screenshot of the run command attached.

 

Thanks in advance.

Screenshot 2018-12-27 at 08.56.39.png

Link to comment
3 hours ago, troymeredith said:

OK, I've made some progress (with the help of others) on resolving issues on my server, and now I call upon your assistance once more....

 

Can anyone offer any guidance on a Couch Potato problem that I have?

 

I was using CP happily for a while, then it stopped working, I get a "This site can't be reached" message along with a "err_connection_refused" description.

 

Screenshot of the run command attached.

 

Thanks in advance.

Screenshot 2018-12-27 at 08.56.39.png

On 1/9/2017 at 7:17 PM, trurl said:

needo hasn't been on the forum for 2 months. Maybe switch to another. Linuxserver.io is well supported.

Needo hasn't been on the forum for about 1.5 years now.

Link to comment

I'm trying to run a MS SQL docker on my server but am running into nothing but issues.  Can't find an official thread on it, and in fact when I search 'sql' on the forum, there are 0 results.  

 

The docker is from https://hub.docker.com/r/microsoft/mssql-server and I have listed my log below.  This is not my 1st docker to run on my server, but the others are well documented and supported here.  This one is just giving me fits.  It will stop within a few seconds of starting it.  It is referencing a /var/opt path in the log, but I have no opt folder in /var and even if I create one, nothing gets populated.  Can anyone tell me what I'm missing?

 

Log:

This program has encountered a fatal error and cannot continue running.
The following diagnostic information is available:

Reason: 0x00000003
Message: result
Stacktrace: 000055f17a081962 000055f17a014427
Thread: 11 (application thread 0x1000)
Instance Id: 241440d4-aad3-4cd2-bbaf-50e357d8ebef
Crash Id: 69b82135-a8b6-487f-af1f-cd76529dd599
Build stamp: 1dc223c2c297541dfebf5ce3265c3e74bbe289d287259e15dd32bd77f11bc1bd

Capturing core dump and information...
No journal files were found.
No journal files were found.
Attempting to capture a dump with paldumper
WARNING: Capture attempt failure detected
Attempting to capture a filtered dump with paldumper
WARNING: Attempt to capture dump failed. Reference /var/opt/mssql/log/core.sqlservr.7.temp/log/paldumper-debug.log for details
Attempting to capture a dump with gdb
WARNING: Unable to capture crash dump with GDB. You may need to
allow ptrace debugging, enable the CAP_SYS_PTRACE capability, or
run as root.

Link to comment
38 minutes ago, Mr. Anderson said:

It is referencing a /var/opt path in the log, but I have no opt folder in /var and even if I create one, nothing gets populated.  Can anyone tell me what I'm missing?

That path would be within the container, not in the Unraid OS.

Link to comment
2 hours ago, Mr. Anderson said:

I think that might be what I have to do.  I just wanted to try here just in case anyone was successfully running SQL on their unRAID server.

Seems to be an issue with the ms linux image requiring overlay2 fs instead of btrfs as the storage driver in docker.

I've used the same run command (that crashes in unraid) in docker on windows environment that does use overlay2 and it works fine.

 

An unfortunate compatibility issue, not sure if there is a feasible solution to the problem.

 

 

Link to comment

If this thread is locked, then in my opinion there needs to be some general thread for a containers that don't already have their own thread.  That's why I posted in this thread in the first place.  It seemed to be a general thread, and since threads can't be created in this section, it seemed the only way to post an obscure issue for a barely used container.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.