Jump to content
linuxserver.io

[Support] Linuxserver.io - CouchPotato

403 posts in this topic Last Reply

Recommended Posts

I see there was an update to the container, it's grabbing packages but it dies after "reading package list"

 

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

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

finding fastest mirror
1. ubuntu.mirror.rafal.ca
Latency: 16 ms
Org: None
Status: Up to date
Speed: 10 Mbps
2. archive.ubuntu.mirror.rafal.ca (current)
Latency: 16 ms
Org: Rafa? Rzeczkowski
Status: Up to date
Speed: 1 Gbps
3. mirror.csclub.uwaterloo.ca
Latency: 30 ms
Org: University of Waterloo Computer Science Club
Status: Up to date
Speed: 1 Gbps
New config file saved to /defaults/sources.list
We are now refreshing packages from apt repositories, this *may* take a while
Ign http://ubuntu.mirror.rafal.ca trusty InRelease
Get:1 http://ubuntu.mirror.rafal.ca trusty-updates InRelease [64.4 kB]
Get:2 http://ubuntu.mirror.rafal.ca trusty-security InRelease [64.4 kB]
Get:3 http://ubuntu.mirror.rafal.ca trusty Release.gpg [933 B]
Get:4 http://ubuntu.mirror.rafal.ca trusty Release [58.5 kB]
Get:5 http://ubuntu.mirror.rafal.ca trusty-updates/main Sources [313 kB]
Hit http://ppa.launchpad.net trusty InRelease
Get:6 http://ubuntu.mirror.rafal.ca trusty-updates/restricted Sources [5,219 B]
Get:7 http://ubuntu.mirror.rafal.ca trusty-updates/universe Sources [186 kB]
Get:8 http://ubuntu.mirror.rafal.ca trusty-updates/multiverse Sources [5,113 B]
Get:9 http://ubuntu.mirror.rafal.ca trusty-updates/main amd64 Packages [875 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:10 http://ubuntu.mirror.rafal.ca trusty-updates/restricted amd64 Packages [23.4 kB]
Get:11 http://ubuntu.mirror.rafal.ca trusty-updates/universe amd64 Packages [436 kB]
Get:12 http://ubuntu.mirror.rafal.ca trusty-updates/multiverse amd64 Packages [14.1 kB]
Get:13 http://ubuntu.mirror.rafal.ca trusty-security/main Sources [129 kB]
Get:14 http://ubuntu.mirror.rafal.ca trusty-security/restricted Sources [3,920 B]
Get:15 http://ubuntu.mirror.rafal.ca trusty-security/universe Sources [37.9 kB]
Get:16 http://ubuntu.mirror.rafal.ca trusty-security/multiverse Sources [2,164 B]
Get:17 http://ubuntu.mirror.rafal.ca trusty-security/main amd64 Packages [517 kB]
Get:18 http://ubuntu.mirror.rafal.ca trusty-security/restricted amd64 Packages [20.2 kB]
Get:19 http://ubuntu.mirror.rafal.ca trusty-security/universe amd64 Packages [160 kB]
Get:20 http://ubuntu.mirror.rafal.ca trusty-security/multiverse amd64 Packages [4,643 B]
Get:21 http://ubuntu.mirror.rafal.ca trusty/main Sources [1,335 kB]
Get:22 http://ubuntu.mirror.rafal.ca trusty/restricted Sources [5,335 B]
Get:23 http://ubuntu.mirror.rafal.ca trusty/universe Sources [7,926 kB]
Get:24 http://ubuntu.mirror.rafal.ca trusty/multiverse Sources [211 kB]
Get:25 http://ubuntu.mirror.rafal.ca trusty/main amd64 Packages [1,743 kB]
Get:26 http://ubuntu.mirror.rafal.ca trusty/restricted amd64 Packages [16.0 kB]
Get:27 http://ubuntu.mirror.rafal.ca trusty/universe amd64 Packages [7,589 kB]
Get:28 http://ubuntu.mirror.rafal.ca trusty/multiverse amd64 Packages [169 kB]
Fetched 21.9 MB in 3s (7,128 kB/s)
Reading package lists...

 

So if I delete the container and the image, couchpotato will boot up.  BUT if I stop/restart the container the same shit happens with it dying after updating the repos.

Share this post


Link to post

I see there was an update to the container, it's grabbing packages but it dies after "reading package list"

 

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

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

finding fastest mirror
1. ubuntu.mirror.rafal.ca
Latency: 16 ms
Org: None
Status: Up to date
Speed: 10 Mbps
2. archive.ubuntu.mirror.rafal.ca (current)
Latency: 16 ms
Org: Rafa? Rzeczkowski
Status: Up to date
Speed: 1 Gbps
3. mirror.csclub.uwaterloo.ca
Latency: 30 ms
Org: University of Waterloo Computer Science Club
Status: Up to date
Speed: 1 Gbps
New config file saved to /defaults/sources.list
We are now refreshing packages from apt repositories, this *may* take a while
Ign http://ubuntu.mirror.rafal.ca trusty InRelease
Get:1 http://ubuntu.mirror.rafal.ca trusty-updates InRelease [64.4 kB]
Get:2 http://ubuntu.mirror.rafal.ca trusty-security InRelease [64.4 kB]
Get:3 http://ubuntu.mirror.rafal.ca trusty Release.gpg [933 B]
Get:4 http://ubuntu.mirror.rafal.ca trusty Release [58.5 kB]
Get:5 http://ubuntu.mirror.rafal.ca trusty-updates/main Sources [313 kB]
Hit http://ppa.launchpad.net trusty InRelease
Get:6 http://ubuntu.mirror.rafal.ca trusty-updates/restricted Sources [5,219 B]
Get:7 http://ubuntu.mirror.rafal.ca trusty-updates/universe Sources [186 kB]
Get:8 http://ubuntu.mirror.rafal.ca trusty-updates/multiverse Sources [5,113 B]
Get:9 http://ubuntu.mirror.rafal.ca trusty-updates/main amd64 Packages [875 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:10 http://ubuntu.mirror.rafal.ca trusty-updates/restricted amd64 Packages [23.4 kB]
Get:11 http://ubuntu.mirror.rafal.ca trusty-updates/universe amd64 Packages [436 kB]
Get:12 http://ubuntu.mirror.rafal.ca trusty-updates/multiverse amd64 Packages [14.1 kB]
Get:13 http://ubuntu.mirror.rafal.ca trusty-security/main Sources [129 kB]
Get:14 http://ubuntu.mirror.rafal.ca trusty-security/restricted Sources [3,920 B]
Get:15 http://ubuntu.mirror.rafal.ca trusty-security/universe Sources [37.9 kB]
Get:16 http://ubuntu.mirror.rafal.ca trusty-security/multiverse Sources [2,164 B]
Get:17 http://ubuntu.mirror.rafal.ca trusty-security/main amd64 Packages [517 kB]
Get:18 http://ubuntu.mirror.rafal.ca trusty-security/restricted amd64 Packages [20.2 kB]
Get:19 http://ubuntu.mirror.rafal.ca trusty-security/universe amd64 Packages [160 kB]
Get:20 http://ubuntu.mirror.rafal.ca trusty-security/multiverse amd64 Packages [4,643 B]
Get:21 http://ubuntu.mirror.rafal.ca trusty/main Sources [1,335 kB]
Get:22 http://ubuntu.mirror.rafal.ca trusty/restricted Sources [5,335 B]
Get:23 http://ubuntu.mirror.rafal.ca trusty/universe Sources [7,926 kB]
Get:24 http://ubuntu.mirror.rafal.ca trusty/multiverse Sources [211 kB]
Get:25 http://ubuntu.mirror.rafal.ca trusty/main amd64 Packages [1,743 kB]
Get:26 http://ubuntu.mirror.rafal.ca trusty/restricted amd64 Packages [16.0 kB]
Get:27 http://ubuntu.mirror.rafal.ca trusty/universe amd64 Packages [7,589 kB]
Get:28 http://ubuntu.mirror.rafal.ca trusty/multiverse amd64 Packages [169 kB]
Fetched 21.9 MB in 3s (7,128 kB/s)
Reading package lists...

 

So if I delete the container and the image, couchpotato will boot up.  BUT if I stop/restart the container the same shit happens with it dying after updating the repos.

 

From talking to Sparklyballs about this he's aware of a problem with pip and is looking at a possible fix, bear with us....

Share this post


Link to post

So if I delete the container and the image, couchpotato will boot up.  BUT if I stop/restart the container the same shit happens with it dying after updating the repos.

 

New Couchpotato build should be up to fix this now.. :)

Share this post


Link to post

General question... What should we do about apps like couchpotato that have their own internal updating mechanism... What happens when couchpotato updates itself, then there is a container update? Should we force couchpotato (and others like sickrage, etc.) to not automatically update themselves?

Share this post


Link to post

General question... What should we do about apps like couchpotato that have their own internal updating mechanism... What happens when couchpotato updates itself, then there is a container update? Should we force couchpotato (and others like sickrage, etc.) to not automatically update themselves?

 

Correct, you do not want the App auto-updating itself. If CP announces to you there's an update, just restart the docker. This ensures the docker container is shutdown correctly during the restart process.

Share this post


Link to post

My guess is that this is a CP bug that it must be a non-zero number.

 

That seems like a fair guess. Hopefully it'll be fixed at some point, but i can live with kinda-working.

 

Thanks to both of you, mr-hexen and CHBMB!

Share this post


Link to post

New Couchpotato build should be up to fix this now.. :)

 

confirmed working, thanks.

Share this post


Link to post

I just encountered an issue where my Docker Utilization was way up. I followed the instructions on this post:

 

http://lime-technology.com/forum/index.php?topic=45249.msg439980#msg439980

 

And listed that I had 2 entries from CP docker that were 18GB. I deleted the log file per the post. After roughly 90 minutes, I checked again and I see that the CP log file is already up to 323MB.

 

Is there a way to "fix" this other than running the log deletion script? Is anyone elses log files for CP that big?

 

I do have roughly 152 in my wanted movies list and 8 NZB indexers set up in CP. I do not use torrents w/ CP. Could it be that this is unusually high?

 

Thanks,

 

H.

Share this post


Link to post

I just encountered an issue where my Docker Utilization was way up. I followed the instructions on this post:

 

http://lime-technology.com/forum/index.php?topic=45249.msg439980#msg439980

 

And listed that I had 2 entries from CP docker that were 18GB. I deleted the log file per the post. After roughly 90 minutes, I checked again and I see that the CP log file is already up to 323MB.

 

Is there a way to "fix" this other than running the log deletion script? Is anyone elses log files for CP that big?

 

I do have roughly 152 in my wanted movies list and 8 NZB indexers set up in CP. I do not use torrents w/ CP. Could it be that this is unusually high?

 

Thanks,

 

H.

 

Do you have debugging turned on in the CP Settings??

Share this post


Link to post

I just encountered an issue where my Docker Utilization was way up. I followed the instructions on this post:

 

http://lime-technology.com/forum/index.php?topic=45249.msg439980#msg439980

 

And listed that I had 2 entries from CP docker that were 18GB. I deleted the log file per the post. After roughly 90 minutes, I checked again and I see that the CP log file is already up to 323MB.

 

Is there a way to "fix" this other than running the log deletion script? Is anyone elses log files for CP that big?

 

I do have roughly 152 in my wanted movies list and 8 NZB indexers set up in CP. I do not use torrents w/ CP. Could it be that this is unusually high?

 

Thanks,

 

H.

 

Do you have debugging turned on in the CP Settings??

 

Debuggig and Development are both unchecked.

Share this post


Link to post

how would I migrate from needo's couchpotato to this one? Can I simply create the new container and move the files over from my cache drive?

Share this post


Link to post

how would I migrate from needo's couchpotato to this one? Can I simply create the new container and move the files over from my cache drive?

 

I would COPY the needo files in case there are some differences. In fact, you could run both versions at the same time, provided you are pointing to different different /conf folders and have diferent external ports.

 

For example.... if you files are currently in /mnt/cache/appdata/couchpotato

 

Copy that folder so you have something like /mnt/cache/appdata/couchpotato2

 

POint the needo /config to /mnt/cache/appdata/couchpotato

Point the linuxserver /config to /mnt/cache/appdata/couchpotato2

 

Remember to give them different external ports. This way, you can even copy the setting of one to the other in case the old files dont work with the new ones.

 

 

Share this post


Link to post

I had a problem with the logs growing like crazy, but it was because I left auto-update enabled. This was causing it download an update, and try to run the daemon for the new version. It could not launch because 5050 was still in use by the last process. So it just kept try to re-launch the updated version over and over constantly. I disabled the auto-update and restarted the docker and all looks good now.

 

EDIT: Looks like this may not have had to do with auto-update, but rather restarting CPS from the WebUI. Instead, restart the docker.

Share this post


Link to post

I'm having a problem with CouchPotato passing the movie category to NZBGet so my movies aren't flagged as movies. This is causing all downloads that CouchPotato sends to NZBGet to save to the /mnt/cache/Download instead of /mnt/cache/Download/completed/Movies.

 

However if i move the files from /mnt/cache/Download to /mnt/cache/download/Dompleted/Movies CouchPotato will post process them correctly.

 

Here's my config for CouchPotato

[nzbget]
username = nzbget
category = Movies
delete_failed = True
manual = 0
enabled = 1
priority = 0
ssl = 0
host = http://10.10.10.10:8001/
password = 

 

Here's the config in NZBGet:

Category1.Name=Movies
Category1.DestDir=${MainDir}/completed/Movies
Category1.Unpack=yes
Category1.PostScript=
Category1.Aliases=movies

 

Screenshot of docker mapping attached.

 

Headphones and Sonarr are sending categories properly.. Any thoughts?

Screen_Shot_2016-02-17_at_5_12.01_PM.png.64e9340f2ae323b2f349399ddabd6774.png

Share this post


Link to post

Dunno if the trailing slash will make any difference in the CP docker download mappings other than that no.  It does work, so it must be something you've misconfigured.

Share this post


Link to post

 

Corrected the / but i'm still running into the issue.. Everything works, the nzb files are sent to NZBGet and download properly, they just default to no category and aren't sorted... never had this issue with sab which i've been running for 6 years.. I might have to go back

Share this post


Link to post

 

Corrected the / but i'm still running into the issue.. Everything works, the nzb files are sent to NZBGet and download properly, they just default to no category and aren't sorted... never had this issue with sab which i've been running for 6 years.. I might have to go back

It does work with NZBGet and Couch, so it has to be the way you've set it up.  I'm working at the moment, so can't really offer much more at the moment I'm afraid.

Share this post


Link to post

 

Corrected the / but i'm still running into the issue.. Everything works, the nzb files are sent to NZBGet and download properly, they just default to no category and aren't sorted... never had this issue with sab which i've been running for 6 years.. I might have to go back

Based upon your config files, it should be working (assuming ${MainDir} is set correctly).  I know that it works no problems whatsoever if you don't give it a full path for the destination, and just rather set nzbget to automatically append the category to {DestDir}

Share this post


Link to post

Sorry, I've been busy with work.

 

So the issue seems to have resolved itself...I turned off NZBGet, turned the SAB switch on, had a few SAB downloads fail cause I don't have it installed. Turned off SAB and reenabled NZBGet.. definitely a glitch in the matrix.. confuses the hell out of me but it work! NZBGet downloads are now being flagged as Movies :) i'm a happy camper. thanks guys

Share this post


Link to post

Turn it on and off again...... :D

 

but then it'd be off.

Nobody likes a smart arse....

 

You're clearly feeling better then. :D

Share this post


Link to post

When I checked out my Unraid server today I noticed CouchPotato was not running. I stopped/started, deleted/re-downloaded and deleted config folder. Any suggestions on what could be causing this?

 

Docker Logs:

 

root@Tower:~# docker logs CouchPotato
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/10_add_user_abc.sh...

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

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

*** Running /etc/my_init.d/20_apt_update.sh...
finding fastest mirror
Getting list of mirrors...done.
Testing 73 mirror(s)
[60/73] 82%
connection to ftp.unina.it: [Errno 111] Connection refused
[73/73] 100%
Getting list of launchpad URLs...done.
Looking up 3 status(es)
[3/3] 100%
1. cosmos.cites.illinois.edu
    Latency: 32 ms
    Org:     University of Illinois
    Status:  Up to date
    Speed:   100 Mbps
2. mirrors.usinternet.com
    Latency: 36 ms
    Org:     US Internet
    Status:  Up to date
    Speed:   1 Gbps
3. mirror.umd.edu
    Latency: 40 ms
    Org:     University of Maryland
    Status:  Up to date
    Speed:   1 Gbps
New config file saved to /defaults/sources.list
We are now refreshing packages from apt repositories, this *may* take a while
Ign http://cosmos.cites.illinois.edu trusty InRelease
Get:1 http://cosmos.cites.illinois.edu trusty-updates InRelease [65.9 kB]
Get:2 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:3 http://cosmos.cites.illinois.edu trusty-security InRelease [65.9 kB]
Get:4 http://cosmos.cites.illinois.edu trusty Release.gpg [933 B]
Get:5 http://cosmos.cites.illinois.edu trusty-updates/main Sources [325 kB]
Get:6 http://ppa.launchpad.net trusty/main amd64 Packages [2,942 B]
Get:7 http://cosmos.cites.illinois.edu trusty-updates/restricted Sources [5,217                                                                                                                                                      B]
Get:8 http://cosmos.cites.illinois.edu trusty-updates/universe Sources [189 kB]
Get:9 http://cosmos.cites.illinois.edu trusty-updates/multiverse Sources [5,498                                                                                                                                                      B]
Get:10 http://cosmos.cites.illinois.edu trusty-updates/main amd64 Packages [897                                                                                                                                                      kB]
Get:11 http://cosmos.cites.illinois.edu trusty-updates/restricted amd64 Packages                                                                                                                                                      [23.5 kB]
Get:12 http://cosmos.cites.illinois.edu trusty-updates/universe amd64 Packages [                                                                                                                                                     438 kB]
Get:13 http://cosmos.cites.illinois.edu trusty-updates/multiverse amd64 Packages                                                                                                                                                      [14.3 kB]
Get:14 http://cosmos.cites.illinois.edu trusty Release [58.5 kB]
Get:15 http://cosmos.cites.illinois.edu trusty-security/main Sources [132 kB]
Get:16 http://cosmos.cites.illinois.edu trusty-security/restricted Sources [3,92                                                                                                                                                     0 B]
Get:17 http://cosmos.cites.illinois.edu trusty-security/universe Sources [37.9 k                                                                                                                                                     B]
Get:18 http://cosmos.cites.illinois.edu trusty-security/multiverse Sources [2,54                                                                                                                                                     8 B]
Get:19 http://cosmos.cites.illinois.edu trusty-security/main amd64 Packages [530                                                                                                                                                      kB]
Get:20 http://cosmos.cites.illinois.edu trusty-security/restricted amd64 Package                                                                                                                                                     s [20.2 kB]
Get:21 http://cosmos.cites.illinois.edu trusty-security/universe amd64 Packages                                                                                                                                                      [161 kB]
Get:22 http://cosmos.cites.illinois.edu trusty-security/multiverse amd64 Package                                                                                                                                                     s [4,852 B]
Get:23 http://cosmos.cites.illinois.edu trusty/main Sources [1,335 kB]
Get:24 http://cosmos.cites.illinois.edu trusty/restricted Sources [5,335 B]
Get:25 http://cosmos.cites.illinois.edu trusty/universe Sources [7,926 kB]
Get:26 http://cosmos.cites.illinois.edu trusty/multiverse Sources [211 kB]
Get:27 http://cosmos.cites.illinois.edu trusty/main amd64 Packages [1,743 kB]
Get:28 http://cosmos.cites.illinois.edu trusty/restricted amd64 Packages [16.0 k                                                                                                                                                     B]
Get:29 http://cosmos.cites.illinois.edu trusty/universe amd64 Packages [7,589 kB                                                                                                                                                     ]
Get:30 http://cosmos.cites.illinois.edu trusty/multiverse amd64 Packages [169 kB                                                                                                                                                     ]
Fetched 22.0 MB in 7s (3,113 kB/s)
Reading package lists...
Preconfiguring packages ...
(Reading database ... 23181 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.17_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.17) over (1.0.1f-1ubuntu2.16) ...
Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu2.17_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu2.17) over (1.0.1f-1ubuntu2.16) ...
Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu2.17) ...
Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.17) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
*** Running /etc/my_init.d/30_update.sh...
Cloning into '/app/couchpotato'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
/etc/my_init.d/30_update.sh: line 7: cd: /app/couchpotato: No such file or direc                                                                                                                                                     tory
fatal: Not a git repository (or any of the parent directories): .git
*** /etc/my_init.d/30_update.sh failed with status 128

*** Killing all processes...

Share this post


Link to post

long time sickbeard/sonarr/sabnzbd/bittorrent/torguard user on a win10 pc.  first time CP user on any platform/OS.  for giggles, i installed CP and SAB dockers today.  i have the two apps configured but not certain i have CP set to use my acct with toguard when using torrents from KAT or TPB.  did not see where to enter torguard userid/password in CP.  really need to get the (torrent, not HTTP) proxy dialed in and soon.  appreciate any advice.  thanks. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now