linuxserver / docker-jackett

GNU General Public License v3.0
394 stars 95 forks source link

After a couple of days, jackett keeps restarting #20

Closed hansbogert closed 7 years ago

hansbogert commented 7 years ago

linuxserver.io

Debian 8

 uname -a
Linux xxx.com 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

Docker log:

02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/trancetraffic.yml 
02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/uhdbits.yml 
02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/ultrahdclub.yml 
02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/utorrents.yml 
02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/worldofp2p.yml 
02-28 12:19:35 Info Loading Cardigann definition /app/Jackett/Definitions/xtremezone.yml 
02-28 12:19:35 Info LibCurl init Ok 
02-28 12:19:35 Info LibCurl version libcurl/7.52.1 LibreSSL/2.4.4 zlib/1.2.8 libssh2/1.7.0 
02-28 12:19:35 Info Starting web server at http://*:9117/ 
02-28 12:19:36 Info set HttpListener.IgnoreWriteExceptions = true 
02-28 12:19:36 Error Address already in use: Most likely Jackett is already running. 
02-28 12:19:40 Info App config/log directory: /config/Jackett 
02-28 12:19:40 Info Starting Jackett 0.7.1090.0 
02-28 12:19:40 Info Environment version: 4.0.30319.42000 (/usr/lib/mono/4.5) 
02-28 12:19:40 Info OS version: Unix 3.16.0.4 (64bit OS) (64bit process) 
02-28 12:19:40 Info ThreadPool MaxThreads: 400 workerThreads, 400 completionPortThreads 
02-28 12:19:40 Info issue: Welcome to Alpine Linux 3.5 
02-28 12:19:40 Info mono version: 4.6.1 (Stable 4.6.1.5/ef43c15 Thu Oct 27 15:59:40 GMT 2016) 
02-28 12:19:40 Info Using HTTP Client: UnixLibCurlWebClient 
02-28 12:19:41 Info Loading Cardigann definitions from: /config/cardigann/definitions/ 
02-28 12:19:41 Info Loading Cardigann definitions from: /etc/xdg/cardigan/definitions/ 
02-28 12:19:41 Info Loading Cardigann definitions from: /app/Jackett/Definitions 
02-28 12:19:41 Info Loading Cardigann definition /app/Jackett/Definitions/2fast4you.yml 
02-28 12:19:42 Info Loading Cardigann definition /app/Jackett/Definitions/acidlounge.yml 

Just to note again, I see the issue of the port being used, but it makes no sense. Is supervisord just restarting after a couple of days for the sake of it? Stopping the container and restart it, makes it work for the next couple of days (I don't know the exact number of days or hours.)

Not using symlinks afaik

sparklyballs commented 7 years ago

sounds like it could be the autoupdate feature of jackett picking up a release.

hansbogert commented 7 years ago

seems likely. Maybe this config should be made default for Docker deploys? I'll test by disabling auto-update and will re-open the issue if needed.