smdion's Docker Template Repository - Directions and Help Here


Recommended Posts

  • Replies 507
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Sorry guys.  Beets usage is not my strength.  I just put the Docker together so people can use it.

 

How are you editing the config file?  It could be a permission issue or if you are using a "normal" word processor is can throw in other things that will break it.

 

I was using the winscp editor before.  tonight I used nano via an ssh session and the same thing happened.  In order to test, I made a super minor change, I simply changed the directory path.  I added a extra folder so I can move my files on import, something I was doing with your container outside of unraid just fine.  However, beets will not start afterwards, so I changed it back to the original and again, nothing, beets fails to start.  So I looked at the log and was not quite sure what part would make things fail.  If you need more, please let me know.

 

*** Killing all processes...
*** Running /etc/my_init.d/edge.sh...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cannot uninstall requirement beets, not installed
Storing debug log for failure in /root/.pip/pip.log
yes: standard output: Broken pipe
yes: write error
fatal: destination path 'beets' already exists and is not an empty directory.
*** /etc/my_init.d/edge.sh failed with status 128

 

Link to comment

RE: Maraschino Docker

 

I installed this Maraschino Docker a few months back and it installed fine. I decided to switch to HTPC-Manager. Tonight I realised I liked Maraschino better to tried to install it again.

 

Unfortunately it seems to be installing the PLEX version by default. Which is unexpected because by default the PLEX switch is 0.

 

I tried to turn the switch to 1 and then turn it back to 0 and still no change.

 

Always Plex version by default.

 

Has anyone else experienced this. Can we only install the PLEX version via this Docker now?

 

[me=danioj]is a Kodi fan and hates Plex![/me]

Link to comment

 

RE: Maraschino Docker

 

I installed this Maraschino Docker a few months back and it installed fine. I decided to switch to HTPC-Manager. Tonight I realised I liked Maraschino better to tried to install it again.

 

Unfortunately it seems to be installing the PLEX version by default. Which is unexpected because by default the PLEX switch is 0.

 

I tried to turn the switch to 1 and then turn it back to 0 and still no change.

 

Always Plex version by default.

 

Has anyone else experienced this. Can we only install the PLEX version via this Docker now?

 

[me=danioj]is a Kodi fan and hates Plex![/me]

 

Any features you felt was missing from htpc manager or was it design that made you switch back?

Link to comment

 

RE: Maraschino Docker

 

I installed this Maraschino Docker a few months back and it installed fine. I decided to switch to HTPC-Manager. Tonight I realised I liked Maraschino better to tried to install it again.

 

Unfortunately it seems to be installing the PLEX version by default. Which is unexpected because by default the PLEX switch is 0.

 

I tried to turn the switch to 1 and then turn it back to 0 and still no change.

 

Always Plex version by default.

 

Has anyone else experienced this. Can we only install the PLEX version via this Docker now?

 

[me=danioj]is a Kodi fan and hates Plex![/me]

 

Any features you felt was missing from htpc manager or was it design that made you switch back?

 

Purely design. I am not a fan of tabbed designs. I like the big dashboard design of Maraschino - everything in one spot on one page with links to the actual apps if I "really" need them.

 

Once I learned how to replace that dodgy grass background with my own, it was a no brain decision!

 

Just need to fix this Plex version issue now!

Link to comment

doh the headphones docker broke. :(

 

After this operation, 22.5 MB of additional disk space will be used.
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2
404 Not Found [iP: 91.189.92.201 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.7.1-4ubuntu2_amd64.deb 404 Not Found [iP: 91.189.92.201 80]

 

 

looks like they changed the dir structure on archive

Link to comment

RE: Maraschino Docker

 

I installed this Maraschino Docker a few months back and it installed fine. I decided to switch to HTPC-Manager. Tonight I realised I liked Maraschino better to tried to install it again.

 

Unfortunately it seems to be installing the PLEX version by default. Which is unexpected because by default the PLEX switch is 0.

 

I tried to turn the switch to 1 and then turn it back to 0 and still no change.

 

Always Plex version by default.

 

Has anyone else experienced this. Can we only install the PLEX version via this Docker now?

 

[me=danioj]is a Kodi fan and hates Plex![/me]

 

Hasn't anyone come across this at all?

 

I just tried it again. I thought perhaps this was an issue with a recent update or something. Does the same thing. No matter whether you have PLEX set to 0 or not, it installs the PLEX version. So can't add KODI server!??

Link to comment

regarding polipo docker

 

can i do manual volume mapping for  /usr/share/polipo/www/ to my other share?

found it missing together with /forbidden folder when i was trying for add some annoying ads address

 

to answer my own question.

in case someone need the same information.

 

i manually mapped 1 folder.

/etc/polipo > /mnt/user/polipo

 

from polipo documentation, blank line, "/", "*" and "\" will be ignored.

so, i get a list from pgl.yoyo.org - nonhtml list and save it into forbidden.

 

editted polipo.conf with

#forbidden file/folder location
forbiddenFile = "/etc/polipo/forbidden"

#forbiddenUrl
forbiddenUrl = "http://webserveripaddress:port/Blank.gif"

#uncacheable file/folder location
uncachableFile = "/etc/polipo/uncachable"

 

might need cron to get latest updated daily

 

edit: misunderstanding about volume mapping in docker, u need to map only 1 volume there

Link to comment

Getting the following when installing headphones

 

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** 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 70 not upgraded.
Need to get 3,713 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-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.1 [2,627 kB]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2
404 Not Found [iP: 91.189.92.200 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.7.1-4ubuntu2_amd64.deb 404 Not Found [iP: 91.189.92.200 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 3,629 kB in 5s (635 kB/s)
/etc/my_init.d/edge.sh: line 9: git: command not found
chown: cannot access ‘/opt/headphones/’: No such file or directory
*** /etc/my_init.d/edge.sh failed with status 1

*** Killing all processes...

Link to comment

Hello Techn0mancer,

 

You are receiving that error because you are correctly using "EDGE=1" per the docker instructions, so that you don't get the version error. Unfortunately there appears to be a bug in the docker that causes it not to start when "EDGE=1" is set. Just remove the variable and Headphones will start working.

 

Smdion could you look into this issue, I am having the same problem.

 

Thanks!

Link to comment

Hello Techn0mancer,

 

I suspect that the issue is less likely to do with the docker itself, but outside influences. You can see in your log that it failed to find items, it's most likely that files it was looking for on a webserver were moved, and the docker needs to be updated to resolve the problem.

 

This is just a guess of mine, I could be totally wrong though :-)

Link to comment

Does anyone have a post processing script to call Beets from NZBGET by chance? I'm tired of doing it via. command line (docker exec with Interactive flag on) and am comfortable enough with the config to turn on post processing but I'll be damned if I can find anyting for NZBGET.

Link to comment

Unfortunately you can't add ffmpeg to the docker as its been depreciated and libav has taken its place now.

 

There are two methods, neither is 'easy' for those not familiar with linux. But hopefully with the below steps people will be able to get it done.

 

 

Method 1:

To add libav on a PER START basis (meaning every time you restart the docker or the server you need to repeat this process, follow the below.

 

1) Open a commandline/ssh connection to your server.

2) As root, type "docker ps" and hit return.

You should get something like below.

 

CONTAINER ID        IMAGE                            COMMAND                CREATED            STATUS              PORTS                              NAMES

12fdc06e17e4        smdion/docker-headphones:latest  "/sbin/my_init"        20 minutes ago      Up 20 minutes      0.0.0.0:8086->8181/tcp            Headphones

060eaea63685        gfjardim/dropbox:latest          "/sbin/my_init"        47 hours ago        Up 47 hours                                            Dropbox

 

3) Take the container ID of your headphones docker and enter the following command and hit return

docker exec -i -t <container id> bash

 

This will give you a command prompt within the docker.

 

4) Enter the below command and hit return

 

apt-get install libav-tools -y

 

This will download ~45mb of files to add libav to the current docker run.

Once this has completed type 'exit' to disconnect from the docker.

 

5) In Headphones settings (the cog to the right of Logs) go to the Advanced Settings tab. Change ffmpeg to libav and enabled reencoding as required.

 

Remember you need to do this everytime the docker starts up

 

 

Method 2:

1) Open a commandline to the server as above.

 

2) As root, type "docker ps" and hit return.

You should get something like below.

 

CONTAINER ID        IMAGE                            COMMAND                CREATED            STATUS              PORTS                              NAMES

12fdc06e17e4        smdion/docker-headphones:latest  "/sbin/my_init"        20 minutes ago      Up 20 minutes      0.0.0.0:8086->8181/tcp            Headphones

060eaea63685        gfjardim/dropbox:latest          "/sbin/my_init"        47 hours ago        Up 47 hours                                            Dropbox

 

3) Take the container ID of your headphones docker and enter the following command and hit return

docker exec -i -t <container id> bash

 

4) Enter the below command and press enter:

vi /etc/my_init.d/libav.sh

 

5) Hit 'i' on the keyboard to enter edit mode and then enter the following

#!/bin/bash

apt-get install libav-tools -y

 

6) Hit 'esc' then ':' then enter wq and hit return. This will save the file.

 

7) Enter the following and hit enter

chmod +x /etc/my_init.d/libav.sh

 

8) Type 'exit' to leave the command window.

 

9) In Headphones settings (the cog to the right of Logs) go to the Advanced Settings tab. Change ffmpeg to libav and enabled reencoding as required.

 

This will install libav on start of the docker. This will remain present until the docker it updated, at which point you will need to redo the above steps.

 

 

Enjoy libav :)

Link to comment

Has anyone actually been able to get UpStatusBoard working?

 

If so could you please post a working config.js (with IP's/API's/passwords removed).

 

I've tried for an hour or so but am getting nowhere. The log is less than helpful"

 

[TypeError: Cannot read property 'username' of undefined] (is repeated over and over)

 

 

or:

 

 

2015-07-17 15:18:182 INFO    MAIN_APP :: Starting up app in unknown environment.

2015-07-17 15:18:215 INFO    REQUIREMENTS :: All requirement checks have passed!

2015-07-17 15:18:217 INFO    CONFIG :: Validated general configuration

2015-07-17 15:18:219 INFO    CONFIG :: Validated memory servers configuration.

2015-07-17 15:18:219 INFO    CONFIG :: Validated configuration for your drives.

2015-07-17 15:18:220 INFO    CONFIG :: Validated bandwidth servers configuration.

2015-07-17 15:18:220 INFO    CONFIG :: Validated monitoring services configuration

2015-07-17 15:18:244 INFO    CONFIG :: Validated SABnzbd configuration

2015-07-17 15:18:254 INFO    CONFIG :: Validated Sick Beard configuration

2015-07-17 15:18:260 ERROR    MAIN_APP :: Cannot read property 'username' of undefined

 

 

 

It really doesnt help... My username is set in the config and password is salted so I'm very confused

 

 

 

 

EDIT: I got it working... well sort of. Cant get network or disk drives to work.

Nor can do sickbeard / couchpotato work.

http://i.imgur.com/RUJCduI.png

 

 

Will give HTPC Manager a go.. seems less troublesome.

Link to comment

Getting the following when installing headphones

 

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** 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 70 not upgraded.
Need to get 3,713 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-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.1 [2,627 kB]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2
404 Not Found [iP: 91.189.92.200 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.7.1-4ubuntu2_amd64.deb 404 Not Found [iP: 91.189.92.200 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 3,629 kB in 5s (635 kB/s)
/etc/my_init.d/edge.sh: line 9: git: command not found
chown: cannot access ‘/opt/headphones/’: No such file or directory
*** /etc/my_init.d/edge.sh failed with status 1

*** Killing all processes...

 

I am getting the same thing. The file http://archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.7.1-4ubuntu2_amd64.deb doesn't exist and I can't fetch it manually. I don't have an EDGE variable set and don't see a way I could add one, there are only paths and ports to edit. Headphones had been working fine until I tried to update. Please help.

Link to comment
Guest
This topic is now closed to further replies.