Sickchill: Git Problems on Synology? Read this

Created on 5 Jan 2020  ·  26Comments  ·  Source: SickChill/SickChill

There is a problem with the git package from SynoCommunity.
https://github.com/SynoCommunity/spksrc/issues/3843

Login with ssh, sudo to root with "sudo su -" and run:

git config --system http.sslCAInfo /etc/ssl/certs/ca-certificates.crt

This fixed it for me, you could try running it as your normal user with sudo, haven't tried that.

Most helpful comment

Thanks, worked like a charm (not with default user though).
One line command:

sudo git config --system http.sslCAInfo /etc/ssl/certs/ca-certificates.crt

All 26 comments

Wish I could sticky this 🤷‍♂️

Thanks, worked like a charm (not with default user though).
One line command:

sudo git config --system http.sslCAInfo /etc/ssl/certs/ca-certificates.crt

Does not work. "Failed to update Git. This package is not published by Synology Inc."

Any news? Not working here either.

Nobody said anything about updating git, but you could install Synology's package for it.

FWIW, I just had this problem today and @Mickroz's solution worked for me.

Hello all, I've had this error since a while now and @Mickroz's solution with @cristoforo's single line command worked like a charm. Thank's all.

@miigotu - That _was_ the Synology package. True, nobody said anything about updating git, but if an older version of git won't fetch, step 1 is usually to update git.

Nothing worked to update the package, so I uninstalled it and manually installed the .spk matching my architecture (armada370).

I have created a new SickChill package for Synology with a fix for issue #5821

It can be downloaded here:
https://github.com/BenjV/SYNO-packages/raw/master/SickChill%20noarch%20V1.3.spk

It is save to install it when SickChill is already installed, because it wil just upgrade the Synology package and do a git pull for the latest SickChill code from github.
The database and config.ini and all the cache items will not be affected.

@miigotu
Maybe you can change the link in #6230 to https://github.com/BenjV/SYNO-packages
Then people can look themselves for the latest package instead downloading an old version.

I appreciate that you've closed this but I get a failed to run package message once this is installed.

I installed the previous version via SickBeard Custom from the Synology Community package centre. Where as I noted this one installed a "new" packaged named "SickChill".

Hi miigotu

Still getting failed to run package.
Git is version 2.24.1-12
Python3 3.5.6-8
Python 2.7.14-19
DSM is 6.2.2-24922 Update 4

Can you ssh into the box and try starting the service on the command line and see why it fails?

What is the command line string?

I think it's sudo -i synoservicecfg –start sickchill

Starting sickchill command /volume1/@appstore/sickchill/env/bin/python /volume1/@appstore/sickchill/SickChill/SickBeard.py --daemon --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/config.ini --datadir /volume1/@appstore/sickchill/var /var/packages/sickchill/scripts/start-stop-status: line 49: /volume1/@appstore/sickchill/env/bin/python: No such file or directory

In /volume1/@appstore/sickchill there is app, SickChill and var. No env. Using 20200523-0

Thanks, I will check that the virtual env is created.

@ErinVoid That specific error should be fixed in https://github.com/SickChill/synology-sickchill/releases/tag/20200603-0

Overwriting, I go this Starting sickchill command /volume1/@appstore/sickchill/env/bin/python /volume1/@appstore/sickchill/SickChill/SickBeard.py --daemon --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/config.ini --datadir /volume1/@appstore/sickchill/var /volume1/@appstore/sickchill/env/bin/python: can't open file '/volume1/@appstore/sickchill/SickChill/SickBeard.py': [Errno 2] No such file or directory

Uninstalling then installing 20200603-0 Starting sickchill command /volume1/@appstore/sickchill/env/bin/python /volume1/@appstore/sickchill/SickChill/SickBeard.py --daemon --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/config.ini --datadir /volume1/@appstore/sickchill/var DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2n 7 Dec 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected reCaptcha or cloudflare 1020 blocks. [Errno 13] Permission denied but the Sickchill starts. sudo -i synoservicecfg --status pkgctl-sickchill produces
Service [pkgctl-sickchill] status=[enable] required upstart job: [pkgctl-sickchill] is start. =======================================
on accessing http://my.ip:8081/ the following is displayed Looks like we do not have enough disk space to render the page! {error}
Not sure this wil help buy the only reference I can find on the Internet to that message is https://github.com/SickChill/SickChill/commit/0d4863918a8bda7dc1724f3a2ae884b6ed37d197 in webserve.py.

@ErinVoid looks like we are just one step away from the fix =P
Seems sickchill cannot write to /volume1/@appstore/sickchill/SickChill/gui/slick/cache/mako

Installing over the top Starting sickchill command /volume1/@appstore/sickchill/env/bin/python /volume1/@appstore/sickchill/SickChill/SickBeard.py --daemon --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/config.ini --datadir /volume1/@appstore/sickchill/var /volume1/@appstore/sickchill/env/bin/python: can't open file '/volume1/@appstore/sickchill/SickChill/SickBeard.py': [Errno 2] No such file or directory
New install same error Starting sickchill command /volume1/@appstore/sickchill/env/bin/python /volume1/@appstore/sickchill/SickChill/SickBeard.py --daemon --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/config.ini --datadir /volume1/@appstore/sickchill/var DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2n 7 Dec 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected reCaptcha or cloudflare 1020 blocks. [Errno 13] Permission denied and same message in browser.
On the -1 install /volume1/@appstore/sickchill/SickChill/gui/slick/cache does not exist and the "SickChill" directory and everything it are owned by root:root. Adding the cache folder gets [Errno 13] Permission denied: '/volume1/@appstore/sickchill/SickChill/gui/slick/cache'
Running sudo chown -R sc-sickchill:sickchill ./SickChill/ in /volume1/@appstore/sickchill/ solved the issue for me.

For the sake of these tests, always uninstall and reinstall.

ls -ld /volume1/@appstore/sickchill/SickChill/gui/slick/cache
ls -l /volume1/@appstore/sickchill/var

As I said, the last line solved it for me. Seems like a permissions issue on /volume1/@appstore/sickchill/SickChill.... the chown line solved the problem.

Yeah, I had the ln -s backwards and I just added some more code to it. Once I debug it again I'll post a new package that handles updates.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

d9001089 picture d9001089  ·  4Comments

Rouzax picture Rouzax  ·  3Comments

Theli93 picture Theli93  ·  3Comments

ben-falzon picture ben-falzon  ·  4Comments

Tankyspanky picture Tankyspanky  ·  4Comments