Code Monkey home page Code Monkey logo

docker-sickchill's Introduction

linuxserver.io

Blog Discord Discourse Fleet GitHub Open Collective

The LinuxServer.io team brings you another container release featuring:

  • regular and timely application updates
  • easy user mappings (PGID, PUID)
  • custom base image with s6 overlay
  • weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
  • regular security updates

Find us at:

  • Blog - all the things you can do with our containers including How-To guides, opinions and much more!
  • Discord - realtime support / chat with the community and the team.
  • Discourse - post on our community forum.
  • Fleet - an online web interface which displays all of our maintained images.
  • GitHub - view the source for all of our repositories.
  • Open Collective - please consider helping us by either donating or contributing to our budget

Scarf.io pulls GitHub Stars GitHub Release GitHub Package Repository GitLab Container Registry Quay.io Docker Pulls Docker Stars Jenkins Build LSIO CI

Sickchill is an Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.

sickchill

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/sickchill:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

Architecture Available Tag
x86-64 amd64-<version tag>
arm64 arm64v8-<version tag>
armhf

Application Setup

Web interface is at <your ip>:8081 , set paths for downloads, tv-shows to match docker mappings via the webui.

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

docker-compose (recommended, click here for more info)

---
services:
  sickchill:
    image: lscr.io/linuxserver/sickchill:latest
    container_name: sickchill
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/sickchill/config:/config
      - /path/to/data:/downloads
      - /path/to/data:/tv
    ports:
      - 8081:8081
    restart: unless-stopped
docker run -d \
  --name=sickchill \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -p 8081:8081 \
  -v /path/to/sickchill/config:/config \
  -v /path/to/data:/downloads \
  -v /path/to/data:/tv \
  --restart unless-stopped \
  lscr.io/linuxserver/sickchill:latest

Parameters

Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

Parameter Function
-p 8081 will map the container's port 8081 to port 8081 on the host
-e PUID=1000 for UserID - see below for explanation
-e PGID=1000 for GroupID - see below for explanation
-e TZ=Etc/UTC specify a timezone to use, see this list.
-v /config Persistent config files
-v /downloads this will store any downloaded data on the docker host
-v /tv this will allow sickchill to view what you already have

Environment variables from files (Docker secrets)

You can set any environment variable from a file by using a special prepend FILE__.

As an example:

-e FILE__MYVAR=/run/secrets/mysecretvariable

Will set the environment variable MYVAR based on the contents of the /run/secrets/mysecretvariable file.

Umask for running applications

For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.

User / Group Identifiers

When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id your_user as below:

id your_user

Example output:

uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)

Docker Mods

Docker Mods Docker Universal Mods

We publish various Docker Mods to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.

Support Info

  • Shell access whilst the container is running:

    docker exec -it sickchill /bin/bash
  • To monitor the logs of the container in realtime:

    docker logs -f sickchill
  • Container version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' sickchill
  • Image version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/sickchill:latest

Updating Info

Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the Application Setup section above to see if it is recommended for the image.

Below are the instructions for updating containers:

Via Docker Compose

  • Update images:

    • All images:

      docker-compose pull
    • Single image:

      docker-compose pull sickchill
  • Update containers:

    • All containers:

      docker-compose up -d
    • Single container:

      docker-compose up -d sickchill
  • You can also remove the old dangling images:

    docker image prune

Via Docker Run

  • Update the image:

    docker pull lscr.io/linuxserver/sickchill:latest
  • Stop the running container:

    docker stop sickchill
  • Delete the container:

    docker rm sickchill
  • Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your /config folder and settings will be preserved)

  • You can also remove the old dangling images:

    docker image prune

Image Update Notifications - Diun (Docker Image Update Notifier)

tip: We recommend Diun for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/linuxserver/docker-sickchill.git
cd docker-sickchill
docker build \
  --no-cache \
  --pull \
  -t lscr.io/linuxserver/sickchill:latest .

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

docker run --rm --privileged multiarch/qemu-user-static:register --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 13.02.24: - Rebase to Alpine 3.19.
  • 07.10.23: - Install unrar from linuxserver repo.
  • 10.08.23: - Bump unrar to 6.2.10.
  • 12.07.23: - Rebase to alpine 3.18.
  • 06.07.23: - Deprecate armhf. As announced here
  • 17.02.22: - Rebase to alpine 3.17.
  • 17.02.22: - Rebase to alpine 3.15.
  • 20.11.21: - Modify binary usage from SickChill.py to SickChill.
  • 14.05.21: - Add linuxserver wheel index.
  • 12.02.21: - Rebasing to alpine 3.13. Add python certifi.
  • 17.09.20: - Update dependencies.
  • 06.09.20: - Switch to python3, install pip package.
  • 22.04.20: - Switch to git clone and using git tags for versioning.
  • 09.01.20: - Remove creating data volumes, fix build args for armhf and aarch64.
  • 19.12.19: - Rebasing to alpine 3.11.
  • 28.06.19: - Rebasing to alpine 3.10.
  • 17.04.19: - Adding Nodejs dependancy.
  • 31.03.19: - Switching to new Base images, shift to arm32v7 tag.
  • 10.10.18: - Initial Release.

docker-sickchill's People

Contributors

aptalca avatar chbmb avatar homerr avatar j0nnymoe avatar nemchik avatar rasmusbe avatar roxedus avatar thelamer avatar thespad avatar tobbenb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-sickchill's Issues

Timezone issue

It seems the timezone now needs to be set as:
TZ=AEST-10AEDT-11,M10.5.0/02:00:00,M3.5.0/03:00:00

The following no longer works, at least on my install, I instead get UTC
TZ=Australia/Sydney

install unrar for post-processing archive unpacking

Since unrar is not installed, one cannot enable the post-processing archive unpack setting


Expected Behavior

  • unrar package should be installed
  • Sickchill should pass the unrar package check in post processing settings page
  • rar archives should be unpacked by unrar if post processing unpack setting is selected

Current Behavior

image

sickchill    | 2020-09-17 09:28:48 WARNING :: WEBSERVER-CONFIGPOSTPROCESSING_0 :: Looks like unrar is not installed, check failed

Steps to Reproduce

  1. settings -> post processing settings -> unpack settings
  2. change unpack dropdown to "unpack" option
  3. note above error messages

Environment

OS: Debian
CPU architecture: x86_64
How docker service was installed: official Docker repo

Command used to create docker container (run/create/compose/screenshot)

docker-compose.yml

version: '3.0'
services:
  sickchill:
    # use this image until https://github.com/linuxserver/docker-sickchill/issues/25 is fixed upstream
    image: linuxserver/sickchill:2020.9.11.post3-ls42
    restart: always
    container_name: sickchill
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data:/config
 ...
    env_file:
      - sickchill.env
    ports:
      - "8081:8081"
...
...

Docker logs

Attaching to sickchill
sickchill    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
sickchill    | [s6-init] ensuring user provided files have correct perms...exited 0.
sickchill    | [fix-attrs.d] applying ownership & permissions fixes...
sickchill    | [fix-attrs.d] done.
sickchill    | [cont-init.d] executing container initialization scripts...
sickchill    | [cont-init.d] 01-envfile: executing... 
sickchill    | [cont-init.d] 01-envfile: exited 0.
sickchill    | [cont-init.d] 10-adduser: executing... 
sickchill    | 
sickchill    | -------------------------------------
sickchill    |           _         ()
sickchill    |          | |  ___   _    __
sickchill    |          | | / __| | |  /  \ 
sickchill    |          | | \__ \ | | | () |
sickchill    |          |_| |___/ |_|  \__/
sickchill    | 
sickchill    | 
sickchill    | Brought to you by linuxserver.io
sickchill    | -------------------------------------
sickchill    | 
sickchill    | To support the app dev(s) visit:
sickchill    | SickChill: https://www.patreon.com/SickChill
sickchill    | 
sickchill    | To support LSIO projects visit:
sickchill    | https://www.linuxserver.io/donate/
sickchill    | -------------------------------------
sickchill    | GID/UID
sickchill    | -------------------------------------
sickchill    | 
sickchill    | User uid:    1000
sickchill    | User gid:    1000
sickchill    | -------------------------------------
sickchill    | 
sickchill    | [cont-init.d] 10-adduser: exited 0.
sickchill    | [cont-init.d] 30-config: executing... 
sickchill    | Setting permissions
sickchill    | [cont-init.d] 30-config: exited 0.
sickchill    | [cont-init.d] 99-custom-files: executing... 
sickchill    | [custom-init] no custom files found exiting...
sickchill    | [cont-init.d] 99-custom-files: exited 0.
sickchill    | [cont-init.d] done.
sickchill    | [services.d] starting services
sickchill    | [services.d] done.
sickchill    | 2020-09-17 09:28:38 INFO :: MAIN :: Starting SickChill [pip] using '/config/config.ini'
sickchill    | 2020-09-17 09:28:38 INFO :: WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
sickchill    | 2020-09-17 09:28:38 INFO :: CHECKVERSION :: Checking for updates using PIP
sickchill    | 2020-09-17 09:28:48 WARNING :: WEBSERVER-CONFIGPOSTPROCESSING_0 :: Looks like unrar is not installed, check failed
sickchill    | 2020-09-17 09:29:19 WARNING :: WEBSERVER-CONFIGPOSTPROCESSING_0 :: Looks like unrar is not installed, check failed
sickchill    | 2020-09-17 09:29:19 WARNING :: WEBSERVER-CONFIGPOSTPROCESSING_0 :: Unpacking Not Supported, disabling unpack setting

Sickchill broken after update

Hello,

After an update sickschill doenst work anymore.
when i start sickchil i can login but get this error.

Unable to setup GitHub properly. GitHub will not be available. Error: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /orgs/SickChill (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Try again'))

also when i want to add a show from imdb. i get this error
{'errcode': None, 'errmsg': 'None', 'url': 'https://www.imdb.com/chart/tvmeter', 'proxy': '', 'exception type': 'IOError', 'original exception': URLError(gaierror(-3, 'Try again'))}

Latest docker running on unraid No such file or directory SickBeard.py

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.


Expected Behavior

Upon starting the docker container, SickChill webpage will render.

This is the last version that worked properly for me.
linuxserver/sickchill:v2020.08.07-1-ls41

Current Behavior

No page renders, errors spam every second to the log.

Steps to Reproduce

  1. Update docker container to latest
  2. Start Docker Container

Environment

OS: Unraid 6.8.3
CPU architecture: x86_64 x86_64/arm32/arm64
How docker service was installed:
Using the menu that comes with the Unraid management UI

Command used to create docker container (run/create/compose/screenshot)

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='sickchill' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PGID'='100' -e 'PUID'='99' -p '8083:8081/tcp' -v '/mnt/user/downloads/':'/downloads':'rw' -v '/mnt/user/tv/':'/tv':'rw' -v '/mnt/user/backup/':'/backup':'rw' -v '/mnt/user/appdata/sickchill':'/config':'rw' 'linuxserver/sickchill'

32304360431aa788283dbf612cca8b23287e4d13937508724bdd07ee3f62d9bc

Looking inside the container, that file does not exist.

Docker logs

[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] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

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


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Setting permissions
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory
...
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting

Sickchill becoming unresponsive after a few minutes

linuxserver.io


Expected Behavior

Sickchill should respond rapidly as it has always done for me

Current Behavior

Loading pages becomes very slow (up to a minute). when loggin in the container through portainer, and type top, it shows a process consuming 100% cpu. the first few minutes this process is below 10%. Restarting the container does not solve the issue as it happens again. The 100% cpu happens the second this shows up in the log:

2022-08-16 15:13:46 INFO :: POSTPROCESSOR :: Auto post processing task for /files/complete was added to the queue
2022-08-16 15:13:47 INFO :: POSTPROCESSOR-AUTO :: Beginning auto post processing task: /files/complete
2022-08-16 15:13:47 INFO :: POSTPROCESSOR-AUTO :: Processing /files/complete

There also seems to be high network usage

This seems to have happened since upgrading to 22.04.1 from 20.04.4

Screenshot 2022-08-16 at 16 11 42
Screenshot 2022-08-16 at 18 42 23

Steps to Reproduce

Environment

OS:
Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-46-generic x86_64)
Docker version 20.10.17, build 100c701
docker-ce:
Installed: 5:20.10.173-0ubuntu-jammy

CPU architecture: x86_64/arm32/arm64
How docker service was installed:

Official repository

sudo apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt install docker-ce

sudo usermod -aG docker ${USER}

Command used to create docker container (run/create/compose/screenshot)

docker-compose

version: '3'
services:
  vpn:
    image: dperson/openvpn-client
    container_name: vpn
    cap_add:
      - NET_ADMIN
    environment:
      - TZ=EUROPE/AMSTERDAM
    dns:
      - 104.223.91.210
      - 104.223.91.194
      - 91.121.113.58
      - 91.121.113.7
    devices:
      - "/dev/net/tun"
    volumes:
      - ./vpn:/vpn
    restart: unless-stopped  
  sickchill:
    image: linuxserver/sickchill
   container_name: sickchill
    depends_on:
      - vpn
    network_mode: "service:vpn"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=EUROPE/AMSTERDAM
    volumes:
      - ./sickchillconfig:/config
      - ./files:/files
    restart: unless-stopped
 

Docker logs

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
[migrations] started
[migrations] no migrations found
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/02-tamper-check
cont-init: info: /etc/cont-init.d/02-tamper-check exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
SickChill: https://www.patreon.com/SickChill
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1000
User gid:    1000
-------------------------------------
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/30-config
Setting permissions
cont-init: info: /etc/cont-init.d/30-config exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
[custom-init] no custom files found exiting...
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sickchill (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
s6-rc: info: service 99-ci-service-check successfully started
/usr/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.7) or chardet (5.0.0)/charset_normalizer (2.0.7) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
sickchill installed: True
2022-08-16 15:08:50 INFO :: MAIN :: 409142: Unable to find IMDb show info in the database
2022-08-16 15:08:50 INFO :: MAIN :: Starting SickChill [pip] using '/config/config.ini'
2022-08-16 15:08:50 INFO :: WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
2022-08-16 15:08:50 INFO :: CHECKVERSION :: Checking for updates using PIP
2022-08-16 15:13:46 INFO :: POSTPROCESSOR :: Auto post processing task for /files/complete was added to the queue
2022-08-16 15:13:47 INFO :: POSTPROCESSOR-AUTO :: Beginning auto post processing task: /files/complete
2022-08-16 15:13:47 INFO :: POSTPROCESSOR-AUTO :: Processing /files/complete
2022-08-16 15:18:46 INFO :: FINDSUBTITLES :: Checking for missed subtitles
2022-08-16 15:18:46 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 15:18:54 INFO :: FINDSUBTITLES :: Finished checking for missed subtitles
2022-08-16 15:19:02 INFO :: DAILYSEARCHER :: No new released episodes found ...
2022-08-16 15:19:09 INFO :: SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
2022-08-16 15:23:46 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 15:33:54 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 15:33:54 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 15:34:59 INFO :: DAILYSEARCHER :: No new released episodes found ...
2022-08-16 15:43:55 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 15:48:54 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 15:48:54 INFO :: DAILYSEARCHER :: No new released episodes found ...
2022-08-16 15:53:53 INFO :: FINDPROPERS :: Beginning the search for new propers
2022-08-16 15:53:55 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 15:53:55 INFO :: FINDPROPERS :: [Rarbg] :: Searching for any new PROPER releases from Rarbg
2022-08-16 15:56:19 INFO :: FINDPROPERS :: Completed the search for new propers, next check in approx. 42m, 33s
2022-08-16 16:04:07 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 16:04:07 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 16:04:30 INFO :: DAILYSEARCHER :: No new released episodes found ...
2022-08-16 16:09:08 INFO :: CHECKVERSION :: Checking for updates using PIP
2022-08-16 16:14:07 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 16:18:59 INFO :: FINDSUBTITLES :: Checking for missed subtitles
2022-08-16 16:19:24 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 16:20:49 INFO :: DAILYSEARCHER :: No new released episodes found ...
2022-08-16 16:21:15 INFO :: FINDSUBTITLES :: Finished checking for missed subtitles
2022-08-16 16:24:16 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 16:34:42 INFO :: DAILYSEARCHER :: Searching for new released episodes ...
2022-08-16 16:34:42 INFO :: POSTPROCESSOR :: /files/complete is already being processed right now, please wait until it completes before trying again
2022-08-16 16:38:53 INFO :: FINDPROPERS :: Beginning the search for new propers
2022-08-16 16:38:53 INFO :: FINDPROPERS :: [Rarbg] :: Searching for any new PROPER releases from Rarbg
2022-08-16 16:39:24 INFO :: DAILYSEARCHER :: No new released episodes found ...

Newest container fails to start

Expected Behavior

Container starts and runs successfully.

Current Behavior

Container repeatedly logs the following line:

python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory

Web server never becomes healthy.

Steps to Reproduce

  1. Deploy: (command below)
  2. Run: docker run sickchill
  3. Observe: docker logs sickchill shows errors
  4. Observe: curl -v localhost:8081 is unsuccessful

Environment

OS: Ubuntu 20.04
CPU architecture: x86_64

How docker service was installed:
apt

Command used to create docker container (run/create/compose/screenshot)

I repro'd with defaults and empty directories to make sure it wasn't my config doing anything:

docker create \
  --name=sickchill \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -p 8081:8081 \
  -v /tmp/data:/config \
  -v /tmp/data:/downloads \
  -v /tmp/data:/tv \
  --restart unless-stopped \
  linuxserver/sickchill

Also worth noting, the same command using tag :v2020.08.07-1-ls41 succeeds, so I believe this issue is due to a recent change.

Docker logs

Click to expand
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,
[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] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
usermod: no changes,
,
-------------------------------------,
          _         (),
         | |  ___   _    __,
         | | / __| | |  /  \ ,
         | | \__ \ | | | () |,
         |_| |___/ |_|  \__/,
,
,
Brought to you by linuxserver.io,
We gratefully accept donations at:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    1000,
User gid:    1000,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 30-config: executing... ,
Setting permissions,
[cont-init.d] 30-config: exited 0.,
[cont-init.d] 99-custom-files: executing... ,
[custom-init] no custom files found exiting...,
[cont-init.d] 99-custom-files: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
[services.d] done.,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,
python: can't open file '/app/sickchill/SickBeard.py': [Errno 2] No such file or directory,

ModuleNotFoundError: No module named 'imdb'

Expected Behavior

Sickchill should start up

Current Behavior

Sickchill does not start up:

/usr/lib/python3.8/site-packages/sickchill/locale
/usr/lib/python3.8/site-packages/sickchill/locale
Traceback (most recent call last):
File "/usr/bin/SickChill.py", line 14, in <module>
import sickchill.start
File "/usr/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
from sickchill.tv import Show, TVEpisode
File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 15, in <module>
import imdb
ModuleNotFoundError: No module named 'imdb'

Steps to Reproduce

docker pull linuxserver/sickchill:latest (which is linuxserver/sickchill:amd64-2020.9.16.post2-ls43 I believe)

Fixed by reverting to
linuxserver/sickchill:amd64-2020.9.13.post1-ls42

Environment

OS: Unraid 6.8.3
CPU architecture: x86_64

Command used to create docker container (run/create/compose/screenshot)

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d \
  --name='sickchill' \
  --net='bridge'  \
  -e TZ="America/Denver" \
  -e HOST_OS="Unraid" \
  -e 'PGID'='100' -e 'PUID'='99' \
  -p '8081:8081/tcp' \
  -v <volume mounts> \
  'linuxserver/sickchill:latest' 

Sickchill on rasberry pi 3 doesn't show the tv shows

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.


Expected Behavior

Show should be shown in the SickChill Dashboard

Current Behavior

Show doesn't shown in the SickChill Dashboard

Steps to Reproduce

  1. Click shows and then click add shows
  2. Search for a show and select it
  3. Click add show button

Environment

OS: Raspbian
CPU architecture: arm32
How docker service was installed:

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sh get-docker.sh

Command used to create docker container (run/create/compose/screenshot)

sickrage:
    image: linuxserver/sickchill
    container_name: sickchill
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Madrid
    volumes:
    - /media/usb/sickrage/data:/config
    - /media/usb/transmission/downloads:/downloads
    - /media/usb/transmission/watch:/watch
    - /media/usb/tv:/tv
    ports:
      - 8081:8081
    restart: unless-stopped

Docker logs

 19:46:55 ERROR::SHOWQUEUE-ADD :: Error with theTVDB, not creating episode list: Unknown error while authentica   │
│   ting. Check your api key or your user/userkey                                                                    │
│   Traceback (most recent call last):                                                                               │
│     File "/app/sickchill/sickbeard/show_queue.py", line 491, in run                                                │
│       self.show.loadEpisodesFromIndexer()                                                                          │
│     File "/app/sickchill/sickbeard/tv.py", line 542, in loadEpisodesFromIndexer                                    │
│       show_episode.loadFromIndexer(*season_episode)                                                                │
│     File "/app/sickchill/sickbeard/tv.py", line 1565, in loadFromIndexer                                           │
│       myEp = self.idxr.episode(self.show, season or self.season, episode or self.episode)                          │
│     File "/app/sickchill/sickchill/show/indexers/wrappers.py", line 44, in wrapper                                 │
│       result = target(*args, **kwargs)                                                                             │
│     File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 110, in episode                                    │
│       result = self.series_episodes(show.indexerid, airedSeason=season, airedEpisode=episode, language=show.lang   │
│   , **kwargs).all()[0]                                                                                             │
│     File "/app/sickchill/lib/tvdbsimple/series.py", line 222, in all                                               │
│       for i in range (1, self.pages()+1):                                                                          │
│     File "/app/sickchill/lib/tvdbsimple/series.py", line 201, in pages                                             │
│       self.page(1)                                                                                                 │
│     File "/app/sickchill/lib/tvdbsimple/series.py", line 244, in page                                              │
│       response = self._GET(path, params=filters, cleanJson=False)                                                  │
│     File "/app/sickchill/lib/tvdbsimple/base.py", line 149, in _GET                                                │
│       return self._request('GET', path, params=params, cleanJson=cleanJson)                                        │
│     File "/app/sickchill/lib/tvdbsimple/base.py", line 142, in _request                                            │
│       return self._request(method=method, path=path, params=params, payload=payload, forceNewToken=True)           │
│     File "/app/sickchill/lib/tvdbsimple/base.py", line 126, in _request                                            │
│       self._set_token_header(forceNewToken)                                                                        │
│     File "/app/sickchill/lib/tvdbsimple/base.py", line 91, in _set_token_header                                    │
│       self._headers['Authorization'] = 'Bearer ' + self.get_token(forceNew)                                        │
│     File "/app/sickchill/lib/tvdbsimple/base.py", line 122, in get_token                                           │
│       raise AuthenticationError(error)                                                                             │
│   AuthenticationError: Unknown error while authenticating. Check your api key or your user/userkey

fix for sickchill git errors

This is a fix for the issue described in #18 and #19

Fresh container of sickchill produces the following errors:

2020-05-13 14:50:42 DEBUG    CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /app/sickchill
2020-05-13 14:50:42 ERROR    CHECKVERSION :: [ebcb4d6] git symbolic-ref -q HEAD returned :
None
2020-05-13 14:50:42 DEBUG    CHECKVERSION :: Executing git rev-parse HEAD with your shell in /app/sickchill
2020-05-13 14:50:42 DEBUG    CHECKVERSION :: git rev-parse HEAD : returned successful
2020-05-13 14:50:42 DEBUG    CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in
/app/sickchill
2020-05-13 14:50:42 ERROR    CHECKVERSION :: [7df68f1] git config remote.origin.url https://github.com/SickChill/SickChill.git returned code 255,
treating as error : error: could not lock config file .git/config: Permission denied
None
2020-05-13 14:50:42 DEBUG    CHECKVERSION :: Executing git fetch origin --prune with your shell in /app/sickchill
2020-05-13 14:50:42 ERROR    CHECKVERSION :: [7df68f1] git fetch origin --prune returned code 255, treating as error : error: cannot open .git/FET
CH_HEAD: Permission denied
2020-05-13 14:50:42 WARNING  CHECKVERSION :: Unable to contact github, can't check for update
2020-05-13 14:52:02 ERROR    WEBSERVER-CONFIG :: [7df68f1] git symbolic-ref -q HEAD returned :
None
2020-05-13 14:52:03 WARNING  WEBSERVER-CONFIG :: git rev-parse --verify --quiet "@{upstream}" returned : (128) fatal: HEAD does not point to a branch

Previous feedback has been to ignore these errors. However, the problems with these log lines are:

  1. These errors and warnings are logged in the WebUI and add unnecessary noise. They need to be manually cleared. They will reoccur every time the container is started.
  2. The user is not able to be notified of new versions that are released without manually comparing the git commit version in the UI with the source github project.

The fix is to give the sickchill docker user ownership of the /app/sickchill/.git* files and re-linking to the master branch:

Log into the docker container:

docker exec -t -i sickchill /bin/bash

Make the necessary changes to file ownership and git:

chown -R abc:abc /app/sickchill/.git*
git remote set-head origin -a
git checkout master

After the changes are made and the container is restarted, no errors are produced and a version check is successful:

2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Starting new thread: CHECKVERSION
2020-05-13 14:55:06 INFO     CHECKVERSION :: Checking for updates using GIT
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /app/sickchill
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Executing git rev-parse HEAD with your shell in /app/sickchill
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: git rev-parse HEAD : returned successful
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in
/app/sickchill
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Executing git fetch origin --prune with your shell in /app/sickchill
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: git fetch origin --prune : returned successful
2020-05-13 14:55:06 DEBUG    CHECKVERSION :: Executing git branch --set-upstream-to origin/master with your shell in /app/sickchill
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: git branch --set-upstream-to origin/master : returned successful
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /app/sickchill
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /app/sickchill
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-05-13 14:55:07 DEBUG    CHECKVERSION :: cur_commit = 7df68f18c147ec8d72244b404b59dd8eeac976a1, newest_commit = 7df68f18c147ec8d72244b404b59dd
8eeac976a1, num_commits_behind = 0, num_commits_ahead = 0

It would be great if these changes can be incorporated into the default container. Thanks!

[BUG] Not able to add exisitng show 'Cannot create directory'

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

An error thrown when attempting to add an existing show, Sick chill cannot create a directory, though no directory should be created by this action

Expected Behavior

when adding an 'existing show' where the directory exists, no attempt to should be needed to create a directory, so permissions should not be an issue.

Steps To Reproduce

  1. shows> add show
  2. Add existing shows
  3. Select the show folder (folder and season 1 within it exist, season 2 lacking)
  4. identify the matching series from tvdb
  5. leave remaining settings unchanged (past episodes skipped, future episodes wanted)
  6. click 'add show' to finalise
  7. popup error in bottom right 'unable to create the folder /tv/blah, can't add the show'

Environment

- OS:Armbian 22.02.1  with Linux 5.15.25-rockchip64
- docker running from docker compose file

CPU architecture

arm64

Docker creation

---
version: '3.3'
services:
  sickchill:
    container_name: sickchill
#    image: ghcr.io/linuxserver/sickchill
    image: lscr.io/linuxserver/sickchill:latest
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /media/nfsGen/sickcfg:/config
      - /media/nfsDL:/data
      - /media/nfsTV:/tv
    network_mode: host
    restart: unless-stopped

Container logs

2024-02-11 21:29:21 ERROR :: WEBSERVER-ADDSHOWS_0 :: Unable to create the folder /tv/Invincible, can't add the show
2024-02-11 21:30:04 INFO :: POSTPROCESSOR :: Auto post processing task for /data/completed/unclean was added to the queue
2024-02-11 21:30:09 INFO :: POSTPROCESSOR-AUTO :: Beginning auto post processing task: /data/completed/unclean
2024-02-11 21:30:09 INFO :: POSTPROCESSOR-AUTO :: Processing /data/completed/unclean
2024-02-11 21:30:10 INFO :: POSTPROCESSOR-AUTO :: Successfully processed
2024-02-11 21:30:10 INFO :: POSTPROCESSOR-AUTO :: Auto post processing task for /data/completed/unclean completed
2024-02-11 21:30:12 ERROR :: WEBSERVER-ADDSHOWS_0 :: Unable to create the folder /tv/Invincible, can't add the show
2024-02-11 21:33:53 ERROR :: WEBSERVER-ADDSHOWS_0 :: Unable to create the folder /tv/Invincible, can't add the show
2024-02-11 21:34:16 INFO :: CHECKVERSION :: Checking for updates from pip
2024-02-11 21:40:04 INFO :: POSTPROCESSOR :: Auto post processing task for /data/completed/unclean was added to the queue
2024-02-11 21:40:04 INFO :: POSTPROCESSOR-AUTO :: Beginning auto post processing task: /data/completed/unclean
2024-02-11 21:40:04 INFO :: POSTPROCESSOR-AUTO :: Processing /data/completed/unclean
2024-02-11 21:40:05 INFO :: POSTPROCESSOR-AUTO :: Successfully processed
2024-02-11 21:40:05 INFO :: POSTPROCESSOR-AUTO :: Auto post processing task for /data/completed/unclean completed
2024-02-11 21:42:08 ERROR :: WEBSERVER-ADDSHOWS_0 :: Unable to create the folder /tv/Invincible, can't add the show

TORNADO :: Could not start webserver on port 8091: already in use!

Updating SickChill from inside the Web UI mostly ends badly and the logs from within the UI starts to fill up with the following messages:

2018-12-01 15:00:41 INFO     ThreadPoolExecutor-0_2 :: Config backup in progress...
2018-12-01 15:00:44 INFO     ThreadPoolExecutor-0_2 :: Config backup successful, updating...
2018-12-01 15:00:48 INFO     EVENT-QUEUE :: Aborting all threads
2018-12-01 15:00:48 INFO     EVENT-QUEUE :: Waiting for the DAILYSEARCHER thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Saving all shows to the database
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Saving config file to disk
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the BACKLOG thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the CHECKVERSION thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the EVENT-QUEUE thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the FINDPROPERS thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the FINDSUBTITLES thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the POSTPROCESSOR-AUTO thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the POSTPROCESSOR thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the SEARCHQUEUE-DAILY-SEARCH thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the SHOWQUEUE-REFRESH thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the SHOWUPDATER thread to exit
2018-12-01 15:00:49 INFO     EVENT-QUEUE :: Waiting for the TRAKTCHECKER thread to exit
2018-12-01 15:00:50 INFO     EVENT-QUEUE :: Restarting SickChill with ['/usr/bin/python', u'/app/sickrage/SickBeard.py', '--datadir', '/config', u'--nolaunch']
2018-12-01 15:00:50 INFO     EVENT-QUEUE :: Shutting down Tornado
2018-12-01 15:00:55 INFO     MAIN :: 74084: Unable to find IMDb show info in the database
2018-12-01 15:00:57 INFO     MAIN :: 74084: Unable to find IMDb show info in the database
2018-12-01 15:00:58 INFO     CHECKVERSION :: Checking for updates using GIT
2018-12-01 15:00:58 INFO     MAIN :: 351242: Unable to find IMDb show info in the database
2018-12-01 15:00:58 INFO     MAIN :: Starting SickChill [master] using '/config/config.ini'
2018-12-01 15:00:58 INFO     TORNADO :: Starting SickChill on http://0.0.0.0:8091/
2018-12-01 15:01:02 INFO     MAIN :: 351242: Unable to find IMDb show info in the database
2018-12-01 15:01:02 INFO     MAIN :: Starting SickChill [master] using '/config/config.ini'
2018-12-01 15:01:02 INFO     TORNADO :: Could not start webserver on port 8091: already in use!
2018-12-01 15:01:02 INFO     TORNADO :: Starting SickChill on http://0.0.0.0:8091/
2018-12-01 15:01:08 INFO     MAIN :: 74084: Unable to find IMDb show info in the database
2018-12-01 15:01:13 INFO     MAIN :: 351242: Unable to find IMDb show info in the database
2018-12-01 15:01:13 INFO     MAIN :: Starting SickChill [master] using '/config/config.ini'
2018-12-01 15:01:13 INFO     TORNADO :: Could not start webserver on port 8091: already in use!
2018-12-01 15:01:13 INFO     TORNADO :: Starting SickChill on http://0.0.0.0:8091/
2018-12-01 15:01:19 INFO     MAIN :: 74084: Unable to find IMDb show info in the database
2018-12-01 15:01:23 INFO     MAIN :: 351242: Unable to find IMDb show info in the database
2018-12-01 15:01:23 INFO     MAIN :: Starting SickChill [master] using '/config/config.ini'

Host OS

$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

docker create command:

docker create --name sickrage -p 8091:8091 -e PUID=1000 -e PGID=1000 -e TZ=Australia/Melbourne -v /etc/localtime:/etc/localtime:ro -v /opt/sickrage:/config -v /media/dlna/media/TV:/media/dlna/media/TV -v /media/dlna/torrents/pom:/media/dlna/torrents/pom linuxserver/sickrage

docker logs sickrage:

pertinent-log.txt

Thanks, team linuxserver.io

linuxserver.io

AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'

linuxserver.io

Expected Behavior

Sickchill should start

Current Behavior

It doesn't

Steps to Reproduce

Update sickchill to the latest image version

Environment

OS: Unraid (Linux)
CPU architecture: x86_64
How docker service was installed: Unraid

Command used to create docker container (run/create/compose/screenshot)

Using the linuxserver template in the Unraid community apps

Docker logs

Checking poetry
sickchill installed: True
Traceback (most recent call last):
  File "/usr/bin/SickChill", line 5, in <module>
    from SickChill import main
  File "/usr/lib/python3.8/site-packages/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/usr/lib/python3.8/site-packages/sickchill/__init__.py", line 6, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
    from sickchill.tv import Show, TVEpisode
  File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 19, in <module>
    import sickchill.oldbeard.providers
  File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/providers/__init__.py", line 4, in <module>
    import sickchill.oldbeard.helpers
  File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/helpers.py", line 1315, in <module>
    requests.exceptions.InvalidJSONError,
AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'

Also see the related issue on the sickchill repo, looks like it's affecting more than just linuxserver so it might be a dependency issue or something like that : https://github.com/SickChill/SickChill/issues/7866

Sickchill getting permissions errors on update check

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.

Getting errors in the logs when sickchill trys to check for an update from git.

Expected Behavior

No Errors

Current Behavior

Gets Errors.

Steps to Reproduce

  1. Click the tools, then check for update.
  2. Look at the logs.

Environment

OS:
Ubuntu 18.04

CPU architecture: x86_64/arm32/arm64
AMD64

How docker service was installed:

Docker compose
image: linuxserver/sickchill
environment:
- TZ=Pacific/Auckland
- PUID=1000
- PGID=1000

Where user/group 1000 is my main user.

Command used to create docker container (run/create/compose/screenshot)

Docker logs

19:35:13 INFO::WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
19:35:13 INFO::MAIN :: Starting SickChill [] using '/config/config.ini'
19:35:13 DEBUG::CHECKVERSION :: Starting new thread: CHECKVERSION
19:35:13 INFO::CHECKVERSION :: Checking for updates using GIT
19:35:13 DEBUG::CHECKVERSION :: Executing "/usr/bin/git" symbolic-ref -q HEAD with your shell in /app/sickchill
19:35:13 INFO::WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
19:35:13 ERROR::CHECKVERSION :: [c5ed827] "/usr/bin/git" symbolic-ref -q HEAD returned :
None
19:35:13 INFO::WEBSERVER :: Could not start webserver on port 8081: already in use!
19:35:13 DEBUG::CHECKVERSION :: Executing "/usr/bin/git" rev-parse HEAD with your shell in /app/sickchill
19:35:13 DEBUG::CHECKVERSION :: "/usr/bin/git" rev-parse HEAD : returned successful
19:35:13 DEBUG::CHECKVERSION :: Executing "/usr/bin/git" config remote.origin.url https://github.com/SickChill/SickChil                             l.git with your shell in /app/sickchill
19:35:13 ERROR::CHECKVERSION :: [c5ed827] "/usr/bin/git" config remote.origin.url https://github.com/SickChill/SickChil                             l.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
None
19:35:13 DEBUG::CHECKVERSION :: Executing "/usr/bin/git" fetch origin --prune with your shell in /app/sickchill
19:35:13 ERROR::CHECKVERSION :: [c5ed827] "/usr/bin/git" fetch origin --prune returned code 255, treating as error : er                             ror: cannot open .git/FETCH_HEAD: Permission denied
None
19:35:13 WARNING::CHECKVERSION :: Unable to contact github, can't check for update
19:35:13 DEBUG::CHECKVERSION :: check_for_new_news: Checking GitHub for latest news.
19:35:23 INFO::WEBSERVER-HOME :: Checking for updates using GIT
19:35:23 DEBUG::WEBSERVER-HOME :: Executing "/usr/bin/git" symbolic-ref -q HEAD with your shell in /app/sickchill
19:35:23 ERROR::WEBSERVER-HOME :: [c5ed827] "/usr/bin/git" symbolic-ref -q HEAD returned :
None
19:35:23 DEBUG::WEBSERVER-HOME :: Executing "/usr/bin/git" rev-parse HEAD with your shell in /app/sickchill
19:35:23 DEBUG::WEBSERVER-HOME :: "/usr/bin/git" rev-parse HEAD : returned successful
19:35:24 DEBUG::WEBSERVER-HOME :: Executing "/usr/bin/git" config remote.origin.url https://github.com/SickChill/SickCh                             ill.git with your shell in /app/sickchill
19:35:24 ERROR::WEBSERVER-HOME :: [c5ed827] "/usr/bin/git" config remote.origin.url https://github.com/SickChill/SickCh                             ill.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
None
19:35:24 DEBUG::WEBSERVER-HOME :: Executing "/usr/bin/git" fetch origin --prune with your shell in /app/sickchill
19:35:24 ERROR::WEBSERVER-HOME :: [c5ed827] "/usr/bin/git" fetch origin --prune returned code 255, treating as error :                              error: cannot open .git/FETCH_HEAD: Permission denied
None
19:35:24 WARNING::WEBSERVER-HOME :: Unable to contact github, can't check for update
19:35:24 INFO::WEBSERVER-HOME :: No update needed
19:35:24 DEBUG::WEBSERVER-HOME :: check_for_new_news: Checking GitHub for latest news.
19:40:13 DEBUG::TRAKTCHECKER :: Starting new thread: TRAKTCHECKER

If I exec into the container (docker exec -it sickchill bash - then go into /app/sickchill I can execute a git pull). But the automatic has started getting this error. It's the current latest as at today. I only updated the image after seeing Sickchill see it's behind, then it wouldn't start on restart. So I pulled a new image. And then i saw the log errors.

Latest version (2022.7.20-ls99) is not starting

linuxserver.io


Expected Behavior

Current Behavior

Container not starting:

sickchill installed: True
/usr/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.7) or chardet (5.0.0)/charset_normalizer (2.0.7) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Traceback (most recent call last):
  File "/usr/bin/SickChill", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/SickChill.py", line 345, in main
    SickChill().start()
  File "/usr/lib/python3.9/site-packages/SickChill.py", line 90, in start
    settings.DATA_DIR = choose_data_dir(settings.PROG_DIR)
  File "/usr/lib/python3.9/site-packages/sickchill/helper/common.py", line 404, in choose_data_dir
    if location.joinpath(check).exists():
  File "/usr/lib/python3.9/pathlib.py", line 1424, in exists
    self.stat()
  File "/usr/lib/python3.9/pathlib.py", line 1232, in stat
    return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/root/sickchill/sickbeard.db'
Checking poetry
sickchill installed: True

Change to tag 2022.2.20-ls98 and it is running.

Steps to Reproduce

Environment

OS:
CPU architecture: x86_64/arm32/arm64
How docker service was installed:

Command used to create docker container (run/create/compose/screenshot)

Docker logs

2022.2.20-ls87: Help & Info page is broken

linuxserver.io

Expected Behavior

That the page "Help & Info" should be display. 😊
I'm referring to this page: http://SERVER_IP:PORT/config/

Steps to Reproduce

When clicking on the wheel settings, then Help & info, I got this error message:

FixME

A mako error has occurred.
If this happened during an update a simple page refresh may be the solution.
Mako errors that happen during updates may be a one time error if there were significant ui changes. 
Traceback (most recent call last):
                    File /usr/lib/python3.9/site-packages/sickchill/views/index.py:188, in async_call:
                        return function(**kwargs)
                    File /usr/lib/python3.9/site-packages/tornado/web.py:1905, in wrapper:
                        return method(self, *args, **kwargs)
                    File /usr/lib/python3.9/site-packages/sickchill/views/config/index.py:61, in index:
                        sc_version = updater.updater.get_clean_version()
                AttributeError: 'NoneType' object has no attribute 'get_clean_version'

Environment

OS: Linux (Synology DSM7)
CPU architecture: x86_64
How docker service was installed: through Portainer with this image lscr.io/linuxserver/sickchill

[BUG] SickChill fails to start after update to the latest version

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After update to the latest version, SickChill fails to start due to missing cachecontrol pachage, and also due to updated SQLAlchemy package to the latest version (issue introduced in commit e2a658c).
The following commands fix the problem:
pip install -U sqlalchemy==1.4.48
pip install cachecontrol

Also, reverting to an old version of urllib, stops HTTPResponse error (SickChill issue https://github.com/SickChill/sickchill/issues/8437)
pip install -U requests==2.28.2 urllib3==1.26.15

Expected Behavior

SickChill to start normally.

Steps To Reproduce

Update to the latest version and start the container.

Environment

- OS:QNAP running on Intel Celeron CPU
- How docker service was installed: using container station

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=sickchill \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/Lisbon \
  -p 8081:8081 \
  -v /path to config:/config \
  -v /path to downloads:/downloads \
  -v /path to TV:/tv \
  --restart always \
  lscr.io/linuxserver/sickchill:latest

Container logs

Logs lost after workaround and several container restarts

2023.6.27-ls146 upgrade broken?

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Sickchill does not start up. Seems to be an symlink issue with Python

image

Expected Behavior

Sickchill should start as expected.

Steps To Reproduce

  1. Upgrade to 2023.6.27-ls146
  2. Start container

Environment

- OS:
- How docker service was installed: Synology container manager

CPU architecture

x86-64

Docker creation

Synology container manager

Container logs

linuxserver-sickchill1				
date	stream	content		
14/07/2023 10:25	stdout	ModuleNotFoundError: No module named 'SickChill'		
				
14/07/2023 10:25	stdout	    from SickChill import main		
				
14/07/2023 10:25	stdout	  File \/lsiopy/bin/SickChill\"	 line 5	 in <module>

Docker container fails to start sickchill after pulling latest image

After pulling the latest image today the docker container fails to run:

2022-02-17T14:27:19.545734278Z
2022-02-17T14:27:19.545809462Z User uid: 1000
2022-02-17T14:27:19.545827128Z User gid: 100
2022-02-17T14:27:19.545842498Z -------------------------------------
2022-02-17T14:27:19.545857906Z
2022-02-17T14:27:19.560982324Z [cont-init.d] 10-adduser: exited 0.
2022-02-17T14:27:19.564555560Z [cont-init.d] 30-config: executing...
2022-02-17T14:27:19.650285940Z ln: failed to create symbolic link '/app/sickchill/sickchill': File exists
2022-02-17T14:27:19.658087739Z Setting permissions
2022-02-17T14:27:19.708032144Z [cont-init.d] 30-config: exited 0.
2022-02-17T14:27:19.711739786Z [cont-init.d] 90-custom-folders: executing...
2022-02-17T14:27:19.728323058Z [cont-init.d] 90-custom-folders: exited 0.
2022-02-17T14:27:19.731809369Z [cont-init.d] 99-custom-files: executing...
2022-02-17T14:27:19.755818574Z [custom-init] no custom files found exiting...
2022-02-17T14:27:19.757172206Z [cont-init.d] 99-custom-files: exited 0.
2022-02-17T14:27:19.759309848Z [cont-init.d] done.
2022-02-17T14:27:19.761401546Z [services.d] starting services
2022-02-17T14:27:19.778131927Z [services.d] done.
2022-02-17T14:27:20.153179670Z Checking poetry
2022-02-17T14:27:20.200326699Z sickchill installed: True
2022-02-17T14:27:21.973217894Z Traceback (most recent call last):
2022-02-17T14:27:21.973324485Z File "/usr/bin/SickChill", line 5, in
2022-02-17T14:27:21.973350652Z from SickChill import main
2022-02-17T14:27:21.973367985Z File "/usr/lib/python3.8/site-packages/SickChill.py", line 14, in
2022-02-17T14:27:21.973385651Z import sickchill.start
2022-02-17T14:27:21.973401947Z File "/usr/lib/python3.8/site-packages/sickchill/init.py", line 6, in
2022-02-17T14:27:21.973419040Z from .show.indexers import indexer, ShowIndexer
2022-02-17T14:27:21.973436354Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/init.py", line 1, in
2022-02-17T14:27:21.973453447Z from .handler import ShowIndexer
2022-02-17T14:27:21.973469946Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in
2022-02-17T14:27:21.973486706Z from sickchill.tv import Show, TVEpisode
2022-02-17T14:27:21.973502391Z File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 19, in
2022-02-17T14:27:21.973518946Z import sickchill.oldbeard.providers
2022-02-17T14:27:21.973534612Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/providers/init.py", line 4, in
2022-02-17T14:27:21.973551131Z import sickchill.oldbeard.helpers
2022-02-17T14:27:21.973567371Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/helpers.py", line 1315, in
2022-02-17T14:27:21.973584649Z requests.exceptions.InvalidJSONError,
2022-02-17T14:27:21.973600352Z AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'
2022-02-17T14:27:22.641138774Z Checking poetry
2022-02-17T14:27:22.683946299Z sickchill installed: True
2022-02-17T14:27:24.388225196Z Traceback (most recent call last):
2022-02-17T14:27:24.388360861Z File "/usr/bin/SickChill", line 5, in
2022-02-17T14:27:24.388387806Z from SickChill import main
2022-02-17T14:27:24.388405139Z File "/usr/lib/python3.8/site-packages/SickChill.py", line 14, in
2022-02-17T14:27:24.388422361Z import sickchill.start
2022-02-17T14:27:24.388438564Z File "/usr/lib/python3.8/site-packages/sickchill/init.py", line 6, in
2022-02-17T14:27:24.388455397Z from .show.indexers import indexer, ShowIndexer
2022-02-17T14:27:24.388471045Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/init.py", line 1, in
2022-02-17T14:27:24.388487342Z from .handler import ShowIndexer
2022-02-17T14:27:24.388502971Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in
2022-02-17T14:27:24.388519804Z from sickchill.tv import Show, TVEpisode
2022-02-17T14:27:24.388596840Z File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 19, in
2022-02-17T14:27:24.388620896Z import sickchill.oldbeard.providers
2022-02-17T14:27:24.388636895Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/providers/init.py", line 4, in
2022-02-17T14:27:24.388654154Z import sickchill.oldbeard.helpers
2022-02-17T14:27:24.388670006Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/helpers.py", line 1315, in
2022-02-17T14:27:24.388686839Z requests.exceptions.InvalidJSONError,
2022-02-17T14:27:24.388702765Z AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'
2022-02-17T14:27:25.110466599Z Checking poetry
2022-02-17T14:27:25.155092010Z sickchill installed: True
2022-02-17T14:27:26.844347326Z Traceback (most recent call last):
2022-02-17T14:27:26.844433491Z File "/usr/bin/SickChill", line 5, in
2022-02-17T14:27:26.844457546Z from SickChill import main
2022-02-17T14:27:26.844475935Z File "/usr/lib/python3.8/site-packages/SickChill.py", line 14, in
2022-02-17T14:27:26.844493639Z import sickchill.start
2022-02-17T14:27:26.844509916Z File "/usr/lib/python3.8/site-packages/sickchill/init.py", line 6, in
2022-02-17T14:27:26.844527694Z from .show.indexers import indexer, ShowIndexer
2022-02-17T14:27:26.844543842Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/init.py", line 1, in
2022-02-17T14:27:26.844561249Z from .handler import ShowIndexer
2022-02-17T14:27:26.844577619Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in
2022-02-17T14:27:26.844594360Z from sickchill.tv import Show, TVEpisode
2022-02-17T14:27:26.844611248Z File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 19, in
2022-02-17T14:27:26.844627989Z import sickchill.oldbeard.providers
2022-02-17T14:27:26.844643915Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/providers/init.py", line 4, in
2022-02-17T14:27:26.844660433Z import sickchill.oldbeard.helpers
2022-02-17T14:27:26.844676044Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/helpers.py", line 1315, in
2022-02-17T14:27:26.844692673Z requests.exceptions.InvalidJSONError,
2022-02-17T14:27:26.844708932Z AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'
2022-02-17T14:27:27.464923274Z Checking poetry
2022-02-17T14:27:27.509614499Z sickchill installed: True
2022-02-17T14:27:29.201309234Z Traceback (most recent call last):
2022-02-17T14:27:29.201389011Z File "/usr/bin/SickChill", line 5, in
2022-02-17T14:27:29.201441862Z from SickChill import main
2022-02-17T14:27:29.201460102Z File "/usr/lib/python3.8/site-packages/SickChill.py", line 14, in
2022-02-17T14:27:29.201476676Z import sickchill.start
2022-02-17T14:27:29.201492102Z File "/usr/lib/python3.8/site-packages/sickchill/init.py", line 6, in
2022-02-17T14:27:29.201508083Z from .show.indexers import indexer, ShowIndexer
2022-02-17T14:27:29.201523361Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/init.py", line 1, in
2022-02-17T14:27:29.201539564Z from .handler import ShowIndexer
2022-02-17T14:27:29.201554972Z File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in
2022-02-17T14:27:29.201570916Z from sickchill.tv import Show, TVEpisode
2022-02-17T14:27:29.201586082Z File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 19, in
2022-02-17T14:27:29.201602453Z import sickchill.oldbeard.providers
2022-02-17T14:27:29.201618934Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/providers/init.py", line 4, in
2022-02-17T14:27:29.201635693Z import sickchill.oldbeard.helpers
2022-02-17T14:27:29.201651748Z File "/usr/lib/python3.8/site-packages/sickchill/oldbeard/helpers.py", line 1315, in
2022-02-17T14:27:29.201668563Z requests.exceptions.InvalidJSONError,
2022-02-17T14:27:29.201684729Z AttributeError: module 'requests.exceptions' has no attribute 'InvalidJSONError'
2022-02-17T14:27:29.848502432Z Checking poetry
2022-02-17T14:27:29.892390203Z sickchill installed: True

Fails to start new container

Docker application fails to start when using cifs volumes


Expected Behavior

Docker container to start webserver and application

Current Behavior

webserver fails to start

Steps to Reproduce

  1. docker volume create --driver local --opt type=cifs --opt device="some path" --opt o=user=use,domain=domain,password=password moviesout
  2. docker volume create --driver local --opt type=cifs --opt device="some path" --opt o=user=user,domain=domain,password=password moviesin
  3. docker create --name=couchpotato -v D:\Docker\CouchPotato1:/config -v moviesin:/downloads -v moviesout:/movies -e TZ=America/New_York -p 5050:5050 linuxserver/couchpotat
  4. start container

Environment

OS: Windows 10
CPU architecture: x86_64
How docker service was installed: As a service

Command used to create docker container (run/create/compose/screenshot)

see above

Docker logs

`
[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] 01-envfile: executing...

[cont-init.d] 01-envfile: exited 0.

[cont-init.d] 10-adduser: executing...

usermod: no changes


_ ()

| | ___ _ __

| | / __| | | / \

| | __ \ | | | () |

|| |/ || _/

Brought to you by linuxserver.io

We gratefully accept donations at:

https://www.linuxserver.io/donate/

GID/UID

User uid: 911

User gid: 911

[cont-init.d] 10-adduser: exited 0.

[cont-init.d] 30-config: executing...

[cont-init.d] 30-config: exited 0.

[cont-init.d] 99-custom-files: executing...

[custom-init] no custom files found exiting...

[cont-init.d] 99-custom-files: exited 0.

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

File "/app/couchpotato/CouchPotato.py", line 135, in

l.run()

File "/app/couchpotato/CouchPotato.py", line 89, in run

runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

File "/app/couchpotato/couchpotato/runner.py", line 145, in runCouchPotato

db.create()

File "/app/couchpotato/libs/CodernityDB/database_super_thread_safe.py", line 43, in _inner

res = f(*args, **kwargs)

File "/app/couchpotato/libs/CodernityDB/database_super_thread_safe.py", line 99, in create

res = super(SuperThreadSafeDatabase, self).create(*args, **kwargs)

File "/app/couchpotato/libs/CodernityDB/database.py", line 529, in create

self.__open_new(**kwargs)

File "/app/couchpotato/libs/CodernityDB/database.py", line 481, in __open_new

self.add_index(id_ind, create=False)

File "/app/couchpotato/libs/CodernityDB/database_super_thread_safe.py", line 105, in add_index

res = super(SuperThreadSafeDatabase, self).add_index(*args, **kwargs)

File "/app/couchpotato/libs/CodernityDB/database.py", line 331, in add_index

ind_obj, name = self.__write_index(new_index, _next, edit=False)

File "/app/couchpotato/libs/CodernityDB/database.py", line 303, in __write_index

ind_obj = self._read_index_single(p, ind_path + '.py', ind_kwargs)

File "/app/couchpotato/libs/CodernityDB/database.py", line 197, in _read_index_single

name = f.readline()[2:].strip()

IOError: [Errno 38] Function not implemented

File "/usr/lib/python2.7/logging/init.py", line 889, in emit

stream.write(fs % msg)

Logged from file logger.py, line 50

File "/app/couchpotato/couchpotato/runner.py", line 138, in runCouchPotato

zipf.add(os.path.join(root, zfilename), arcname = 'database/%s' % os.path.join(root[len(db_path) + 1:], zfilename))

File "/usr/lib/python2.7/tarfile.py", line 2025, in add

self.addfile(tarinfo, f)

File "/usr/lib/python2.7/tarfile.py", line 2054, in addfile

copyfileobj(fileobj, self.fileobj, tarinfo.size)

File "/usr/lib/python2.7/tarfile.py", line 278, in copyfileobj

buf = src.read(remainder)

`

Linuxserver/sickchill broken after last update

linuxserver.io


Expected Behavior

For the app to work after the latest update! :)

Current Behavior

Docker starts but 404 error while trying to open the webui

Steps to Reproduce

Environment

**OS:Unraid
CPU architecture: x86_64/arm32/arm64
How docker service was installed:
Official docker through CA

Command used to create docker container (run/create/compose/screenshot)

image

Docker logs

Brought to you by linuxserver.io

To support the app dev(s) visit:
SickChill: https://www.patreon.com/SickChill

To support LSIO projects visit:
https://www.linuxserver.io/donate/

GID/UID

User uid: 99
User gid: 100

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
ln: failed to create symbolic link '/app/sickchill/sickchill': File exists

Setting permissions
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Traceback (most recent call last):
File "/usr/bin/SickChill.py", line 5, in
from SickChill.SickChill import start
File "/usr/bin/SickChill.py", line 5, in
from SickChill.SickChill import start
ModuleNotFoundError: No module named 'SickChill.SickChill'; 'SickChill' is not a package

Latest image fails to run with imdb module error

Expected Behavior

Container deploys successfully,

Current Behavior

Process fails to start with the following error:

Traceback (most recent call last):
  File "/usr/bin/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/usr/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
    from sickchill.tv import Show, TVEpisode
  File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 15, in <module>
    import imdb
ModuleNotFoundError: No module named 'imdb'

Steps to Reproduce

  1. Deploy using the run command below
  2. Observe logs show error
  3. Observe no successful connections to exposed port

Environment

OS: Ubuntu 20.04
CPU architecture: x86_64
How docker service was installed: apt

Command used to create docker container (run/create/compose/screenshot)

#!/bin/bash
docker run \
  --name=sickchill \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -p 8081:8081 \
  -v /tmp/config:/config \
  -v /tmp/downloads:/downloads \
  -v /tmp/tv:/tv \
  --restart unless-stopped \
  linuxserver/sickchill:latest

Notes

The tag 2020.9.13.post1-ls42 works fine, so this is a recent change

Question, do your pipelines that update config do any smoke testing? This image has failed to upgrade cleanly twice in the last couple weeks, a small smoke test just to make sure the container accepts http connections on the exposed port would have prevented both this and #22 from going to live in a broken state. I'm happy to help contribute that if you can point me to the pipelines.

Docker logs

Click to expand!
[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] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

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


Brought to you by linuxserver.io
-------------------------------------

To support the app dev(s) visit:
SickChill: https://www.patreon.com/SickChill

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Setting permissions
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/usr/lib/python3.8/site-packages/sickchill/locale
/usr/lib/python3.8/site-packages/sickchill/locale
Traceback (most recent call last):
  File "/usr/bin/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/usr/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
    from sickchill.tv import Show, TVEpisode
  File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 15, in <module>
    import imdb
ModuleNotFoundError: No module named 'imdb'
/usr/lib/python3.8/site-packages/sickchill/locale
/usr/lib/python3.8/site-packages/sickchill/locale
Traceback (most recent call last):
  File "/usr/bin/SickChill.py", line 14, in <module>
    import sickchill.start
  File "/usr/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
    from .show.indexers import indexer, ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
    from .handler import ShowIndexer
  File "/usr/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
    from sickchill.tv import Show, TVEpisode
  File "/usr/lib/python3.8/site-packages/sickchill/tv.py", line 15, in <module>
    import imdb
ModuleNotFoundError: No module named 'imdb'
^C[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

New episodes of scheduled shows no longer 'snatching'

Expected Behavior

Scheduled shows should be automatically added to Sabnzbd when available via the newgroup provider.

Current Behavior

When searching manually on the newgroup provider I can see one of my schedules shows is available, however its not being processed by Sickchill and passed to Sabnzbd for download

Steps to Reproduce

Add a scheduled show that's due for download

Environment

**OS: Linux-5.10.28-Unraid-x86_64-/ Unraid Docker image
**CPU architecture: x86_64
**How docker service was installed: Unraid Apps > updated
Version: v2022.08.29

Docker logs

2022-09-02 08:49:27 INFO :: FINDPROPERS :: Beginning the search for new propers
2022-09-02 08:49:27 INFO :: FINDPROPERS :: [NZBPlanet] :: Searching for any new PROPER releases from NZBPlanet
........
2022-09-02 08:49:28 INFO :: FINDPROPERS :: Completed the search for new propers, next check in approx. 1h, 29m
sickchill installed: True

Failed to download a torrent: missing node.js

I've tried to switch my configuration between linuxserver/sickrage and linuxserver/sickchill.
My current docker-compose.yml is:

version: '2'
services:
  sickrage:
    image: linuxserver/sickchill
    network_mode: bridge
    restart: always
    environment:
    - PUID=0
    - PGID=0
    - TZ=Europe/Paris
    volumes:
    - /data/containers/sr/config:/config
    - /data/containers/dl/downloads/complete:/downloads
    - /data/containers/media/series:/tv
    - /data/containers/dl/watch:/watch
    - /etc/localtime:/etc/localtime:ro
    mem_limit: 512M
    memswap_limit: 0

When a torrent is found, the download fails with the following message (sickchill logs):

2019-04-15 11:58:49 SEARCHQUEUE-MANUAL-121361 :: [b3da866] Request failed: Missing Node.js runtime. Node is required and must be in the PATH (check with `node -v`). Your Node binary may be called `nodejs` rather than `node`, in which case you may need to run `apt-get install nodejs-legacy` on some Debian-based systems. (Please read the cfscrape README's Dependencies section: https://github.com/Anorov/cloudflare-scrape#dependencies. ()

I've checked if node.js is installed in the docker and seems that it's not the case.

git fail with permissions

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.


Expected Behavior

Git command are able to run

Current Behavior

Check version fails:

sickchill      | 17:39:00 INFO::CHECKVERSION :: Checking for updates using GIT
sickchill      | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git symbolic-ref -q HEAD returned :
sickchill      | None
sickchill      | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git config remote.origin.url https://github.com/SickChill/SickChill.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
sickchill      | None
sickchill      | 17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git fetch origin --prune returned code 255, treating as error : error: cannot open .git/FETCH_HEAD: Permission denied
sickchill      | None
sickchill      | 17:39:00 WARNING::CHECKVERSION :: Unable to contact github, can't check for update

Steps to Reproduce

  1. Create a new container for sickchil

Environment

OS: Qnap
CPU architecture: x86_64
How docker service was installed: Qnap Docker Station

Command used to create docker container (run/create/compose/screenshot)

---
version: "2"
services:
  sickrage:
    image: linuxserver/sickchill
    container_name: sickchill
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Los_Angeles
    volumes:
      - /share/config/SickChill:/config
      - /share/Downloads/complete:/downloads
      - /share/Videos/TV:/tv
      - /share/Videos/Kids/TV:/kids_tv
    ports:
      - 8181:8081
    restart: unless-stopped

Docker logs

[/share/config/compose] # docker logs sickchill
[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] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

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


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Setting permissions
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
17:39:00 ERROR::MAIN :: [e9ccfe4] git symbolic-ref -q HEAD returned :
None
17:39:00 INFO::MAIN :: Starting SickChill [] using '/config/config.ini'
17:39:00 INFO::WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
17:39:00 INFO::CHECKVERSION :: Checking for updates using GIT
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git symbolic-ref -q HEAD returned :
None
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git config remote.origin.url https://github.com/SickChill/SickChill.git returned code 255, treating as error : error: could not lock config file .git/config: Permission denied
None
17:39:00 ERROR::CHECKVERSION :: [e9ccfe4] git fetch origin --prune returned code 255, treating as error : error: cannot open .git/FETCH_HEAD: Permission denied
None
17:39:00 WARNING::CHECKVERSION :: Unable to contact github, can't check for update
17:44:00 INFO::POSTPROCESSOR :: Auto post processing task for /downloads was added to the queue
17:44:00 INFO::POSTPROCESSOR-AUTO :: Beginning auto post processing task: /downloads
17:44:00 INFO::POSTPROCESSOR-AUTO :: Processing /downloads
17:44:04 INFO::POSTPROCESSOR-AUTO :: Successfully processed
17:44:04 INFO::POSTPROCESSOR-AUTO :: Auto post processing task for /downloads completed
17:49:00 INFO::DAILYSEARCHER :: Searching for new released episodes ...
17:49:01 INFO::DAILYSEARCHER :: No new released episodes found ...
17:49:05 INFO::SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
17:49:20 INFO::SEARCHQUEUE-DAILY-SEARCH :: No needed episodes found

SickChill Unable to read unionfs, OMV5, Portainer

Can view fs in docker console, shows all folders. Open same directory in SickChill web GUI, shows no shows or files.

Expected Behavior

Clicking on TV Shows, Add Existing Shows, and adding directory should show all shows saved in directory

Current Behavior

Nothing showed in directory.

Steps to Reproduce

  1. Latest Image pull
  2. Add TV Show, add existing Show, Browse
  3. No shows listed

Environment

**OS: OMV5
CPU architecture: pi4
How docker service was installed:
using portainer pull

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.