Dockerization of some popular applications.


Recommended Posts

Does anyone else have a problem with the pop up messages on the NZBDrone GUI getting "stuck"?  For example if I search an automatic search, the bubble pops up to say it's starting the search, but it never updates or goes away after that.  Not a big deal, just kind of annoying.

 

Doug

Link to comment

Does anyone else have a problem with the pop up messages on the NZBDrone GUI getting "stuck"?  For example if I search an automatic search, the bubble pops up to say it's starting the search, but it never updates or goes away after that.  Not a big deal, just kind of annoying.

 

Doug

 

I have that too

Link to comment

Does anyone else have a problem with the pop up messages on the NZBDrone GUI getting "stuck"?  For example if I search an automatic search, the bubble pops up to say it's starting the search, but it never updates or goes away after that.  Not a big deal, just kind of annoying.

 

I have that as well. I have not yet figured out what causes it.

Link to comment

I just installed deluge with...

 

docker run -d --name="deluge" -v /mnt/cache/appdata/deluge:/config -v /mnt/user:/mnt/user -v /etc/localtime:/etc/localtime:ro -p 9912:8112 -p 58846:58846 needo/deluge

 

and it seemed to instal fine, and it appears to be running, but I cannot connect to it.

 

I've tried

 

media:9912

http://media:9912

192.168.20.150:9912

media:58846

192.168.20.150:58846

 

none connect

 

ideas?

Link to comment

try a

docker logs deluge

see what it says ....

 

haha, here is just the end of the output...

 

OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluge-web')()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 629, in __init__
    self.top_level = TopLevel()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 488, in __init__
    self.putChild("tracker", Tracker())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py", line 197, in __init__
    self.tracker_icons = TrackerIcons()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 159, in __init__
    os.makedirs(self.dir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/config/icons'
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.6', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 184, in start_daemon
    deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
  File "/usr/lib/python2.7/dist-packages/deluge/log.py", line 65, in setupLogger
    filemode=filemode
  File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/config/deluged.log'

 

permission errors it seems.  is this a user error, or container issue?

Link to comment

root@media:~# ls -lsa /mnt/cache/appdata/deluge
total 0
0 drwxr-xr-x 1 root   root   0 Jul  1 22:29 ./
0 drwxrwxrwx 1 nobody users 98 Jul  1 22:29 ../

 

That's the problem. Run:

 

chown -R nobody:users /mnt/cache/appdata/deluge
chmod 777 /mnt/cache/appdata/deluge

Link to comment

that did it.  Is that something that I (we) need to do when installing any docker, or is that something that can be done by the docker?

 

Also, since you seem to be right here, right now, what's the password? :)

 

That is something that needs to be done when creating the appdata directory. The default password is deluge

Link to comment

I've had the appdata directory for a while now, but this /deluge is a new addition to that directory.  I'll try to remember to fix permissions upon installation of any new docker.  I assume this isn't something that can be automated?

 

thanks for the prompt help, and for all the dockers you've provided us!!

Link to comment

I've had the appdata directory for a while now, but this /deluge is a new addition to that directory.  I'll try to remember to fix permissions upon installation of any new docker.  I assume this isn't something that can be automated?

 

thanks for the prompt help, and for all the dockers you've provided us!!

 

You're welcome. I will have to see if it can be automated as part of the Dockerfile.

Link to comment

I got deluge fixed.

 

I installed sickrage with...

 

docker run -d --name="sickrage" -v /mnt/cache/appdata/sickrage:/config -v /mnt/user:/mnt/user -v /etc/localtime:/etc/localtime:ro -e EDGE=1 -p 9991:8081 needo/sickrage

 

but I can't connect.  I had actually installed it without the -e EDGE=1, and it said I was a few commits behind, which reminded me you have an option for allowing in app updating, so i remove that container, then re-ran with the command above.  I tried chmod and chown on the sickrage folder, but it still won't let me connect.

Link to comment

Can you check this out for NZBDrone?  I'm having problems recognizing files with accent marks in the name and I just noticed this in the logs:

 

FindNextFile: Bad encoding for '/tv/shows/The X-Files/Season 2/metadata/S02E19.D?d Kalm.xml'
Consider using MONO_EXTERNAL_ENCODINGS

 

This is what the filename actually looks like:  S02E19.Død Kalm.avi

 

But drone can't recognize it.  And yes, I realized I posted an error for an XML file and gave an example of an AVI file.  Both are named the same way with the accent marks.

 

Doug

Link to comment

for nzbget you can set the path for post processing scripts in the config file. for example /downloads/ppscripts or /config/ppscripts

 

but it would be nice to add ffdshow to the container, so nzbtomedia postprocessing scripts could check the video files... (i'm currently thinking about forking the github-repo to include this myself...)

Link to comment

When I got up this morning, SickRage was working fine.  I have no idea what the problem was, but it seems to have resolved itself.

 

I noticed NzbDrone has the ability to update within the program, but there doesn't seem to be an optional -e EDGE=1 run command shown for this program.  is it 'okay' to update inside this program, or does the docker need to be updated to keep this from causing problems?

Link to comment

When I got up this morning, SickRage was working fine.  I have no idea what the problem was, but it seems to have resolved itself.

 

I noticed NzbDrone has the ability to update within the program, but there doesn't seem to be an optional -e EDGE=1 run command shown for this program.  is it 'okay' to update inside this program, or does the docker need to be updated to keep this from causing problems?

 

It should be okay to update within the program. However there has not been a newer release of nzbdrone since I wrote the Docker so I have not fully tested this yet.

Link to comment

for nzbget you can set the path for post processing scripts in the config file. for example /downloads/ppscripts or /config/ppscripts

 

but it would be nice to add ffdshow to the container, so nzbtomedia postprocessing scripts could check the video files... (i'm currently thinking about forking the github-repo to include this myself...)

 

I can take a look at this. Seems like a pretty simple addition.

Link to comment

When I got up this morning, SickRage was working fine.  I have no idea what the problem was, but it seems to have resolved itself.

 

I noticed NzbDrone has the ability to update within the program, but there doesn't seem to be an optional -e EDGE=1 run command shown for this program.  is it 'okay' to update inside this program, or does the docker need to be updated to keep this from causing problems?

 

It should be okay to update within the program. However there has not been a newer release of nzbdrone since I wrote the Docker so I have not fully tested this yet.

 

The update is dated today.  I clicked on it, and it showed a window saying the update was starting, but the window doesn't go away, and it doesn't seem to actually update.  Oh well.  Keep us posted if we need to change something for this to work properly.

 

thanks again for everything.

Link to comment

The update is dated today.  I clicked on it, and it showed a window saying the update was starting, but the window doesn't go away, and it doesn't seem to actually update.  Oh well.  Keep us posted if we need to change something for this to work properly.

 

In app upgrades of nzbdrone do not currently work. I am chatting with the Developers about it. Linux auto-updates are still pretty iffy is the impression I am getting. I have rebuilt the nzbdrone dock so it is now up to date.

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.