-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sickchill: initial version v2020.11.24-1 #4161
Conversation
Should probably remove the fork selection UI, no need for it in this Possibly could replace it with username/password selection for the sickchill GUI. |
You are right, I'm going to work on it |
@ymartin59 @th0ma7 Can one of you take a look at this, please? SickChill is python3.6+ only now and users currently have no way to run SC. |
@Nyaran thanks for this, looking forward to SynoCommunity publishing the SickChill package. |
This comment has been minimized.
This comment has been minimized.
…se create it Signed-off-by: miigotu <miigotu@gmail.com> Fix haproxy port for sickbeard (sickbeard-custom uses 8083) and add sickchill Signed-off-by: miigotu <miigotu@gmail.com>
Signed-off-by: miigotu <miigotu@gmail.com>
Hi guys, thanks for this great work !!! My 2 cents feedback. I have installed this spk (python 3 was already installed on my system) and imported by backup. It worked like a charm ! All the best, |
I'm not sure if that condition can happen, because, on install process, the |
Latest build added to first message |
@Nyaran you might have missed my PR to your branch =P |
OMG! Sorry, I didn't noticed |
Lol it's ok, but I fixed an issue with haproxy for sickbeard-custom and an error in sadnzbd installer too, as well as editing the config.ini if it exists (idk if the config/db is deleted when uninstalling?) If this gets merged we can think about adding prerm, pre_upgrade, post_upgrade to back up and restore db/config for data stability |
All data is deleted after uninstall (I do it a lot of times while validating the package installer), I can accept you PR, but maybe the fix on sadnzbd should be done in separate PR |
Might want to steal this bit too: miigotu@7a204e5 |
I think that removing the space so that var is actually set in the sabnzbd plugin is so minor that it should be ok here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Thanks for your contribution.
I don't usually review PR's but I thought I give it a shot.
My main concern here is that this downloads the SickChill git repository on master, meaning that the build is nondeterministic. I recommend downloading a release or checkout a tag. (just had a look at the sickrage package, it also downloads from git...) What is the policy here @hgy59 @ymartin59?
@publicarray This operates the same as all forks of sickbeard in syno. sickbeard-custom, sickrage, etc SickChill also has a built in updater, which is why we still use git in jails and other packages rather than a pip install so that the app can update itself |
@miigotu thanks for explaining, no problem, than that is fine by me. Just aside, I don't like using other packages too much as a guide because we have older packages and sometimes it makes sense to reassess things. |
I agree. We used the sickbeard-custom package before because of the fork selection wizard, but it won't work anymore with our code because we are so far diverged. We are hoping to flesh this package out even further with pre_upgrade, pre_remove, post_upgrade, etc and give the plugin a more complete and fool proof install than ever before on Synology, but we need the base package to even start working on it more. |
Side note, we have been providing a syno package for SickChill for quite a long time outside of spksrc, as has benjv. We don't like having just an spk posted where we don't know for sure what was changed in it, so we would like to have it here for security and history if nothing else. Installing via package manager is much safer than installing some spk from a random link on the net. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just installed SickChill, Works extremely well, just some small cosmetic changes
@publicarray thanks for merging. As previously discussed we currently can't install using the wheel, because I haven't written the updater for that yet. I'm not 100% sure, but I think the cross-cc is for the c extensions that are compiled when you pip install the dependencies and a manylinux wheel is not available. (Lxml, sqlalchemy, greenleaf) We can set the update checker higher, right here in the package. |
Hello to all, 1.- I uninstalled it and reinstalled it from Synology. Result: it started. Then I restored a backup. Result: now it does not load. What can I do to fix the problem? Thanks for your help, |
@marfapeco Don't use the backup, as it seems to be broken or incompatible. |
Thanks zyrill. I'll try to install from scratch, so. One question: do you know why Synology did not create a shorcut for Sickchill? It did it always before but know I have to open it manually. |
Check the port set in your SC config and app permissions in control panel for the other issue. Some old backups used different ports than 8081 |
I will check out the source for this package a little bit later and see if I can fix a few issues with permissions and port forcing. |
Please use the issue tracker at https://github.com/SickChill/synology-sickchill (our org fork of spksrc, where we will PR from) I had fixed some of these problems in my personal fork, but I was worried about making too many changes to the PR when it was so close to being accepted. A new PR will be made hopefully today. |
Ok. It was helpfull. I could restore it. The problem was the port, I had another one. What I do not know is where I have to chang the port in SC config and how. |
Please move this discussion to Sickchill: https://github.com/SickChill/SickChill/issues/7070 (or open a new issue there for other problems) |
Done. Sorry. |
* sickchill: Add new package * sickchill: Ask user/password on install * Only edit config.ini with username and password if it exists, otherwise create it Signed-off-by: miigotu <miigotu@gmail.com> Fix haproxy port for sickbeard (sickbeard-custom uses 8083) and add sickchill Signed-off-by: miigotu <miigotu@gmail.com> * Resize sickchill icon to 256x256 Signed-off-by: miigotu <miigotu@gmail.com> * sickchill: Check if the config file exists * Make requested changes from review Signed-off-by: miigotu <miigotu@gmail.com> * Apply suggestions from code review Co-authored-by: Yves Martin <ymartin1040@gmail.com> * sickchill: Revert unrelated changes * sickchill: Remove unnecessary file * sickchill: Add SickChill assocciation into haproxy * sickchill: Apply comments * sickchill: Read git data from file generated on install. sickchill: Use wheels sickchill: Update to sickchill v2020.10.22-2 * sickchill: Update to v2020.11.24-1 * sickchill: Update to v2021.03.10-1 and set spk version to build date Co-authored-by: miigotu <miigotu@gmail.com> Co-authored-by: Yves Martin <ymartin1040@gmail.com>
For some reason SickChill stopped working on my Synology today. *** UPDATE *** |
This is not the place for issue reports, please open an issue on SickChill/synology-sickchill (our spksrc fork) |
Done |
@publicarray I have to make changes to the other PR, I missed the change someone added that removed the git clone and now SC is updating using a tar rather than a git clean && git pull. this completely removes config . |
Could it be that the incorrect update of SickChill is causing the problems I'm experiencing now? I noticed in my backup config.ini is in /volume1/@appstore/sickchill/var but there is now a config.ini in /volume1/@appstore/sickchill/var/data. Am I right that:
and that only the data directory needs to be backed up? After install the /volume1/@appstore/sickchill/var/data/config.ini only contains (all my other config, including web_port, is gone): |
Problem with SickChill page no longer available solved. I read here that the port was changed to 8081 (used to be 8899). After updating, the new port was not working, since it was blocked by Synology Firewall. I restored my configuration and set port in the restored config.ini to 8081 and opend it in the Firewall. Moved all files (cache, *db* and config.ini to the data folder. All seems to be working again. |
Other PR needs updated for when I merged SickChill develop into master. We no longer will be including bundled libs, so either we need to provide wheels for dependencies or just use a pip install. (SC will be able to update itself through pip). |
I haven't upgraded to DSM 7.0 yet and probably won't until I can afford a new NAS as the current will struggle I think with DSM 7. Since yesterday or the day before after some package updates (pretty sure one was Python), Sickchill stopped and won't restart. My back ups are old but if the only solution is to uninstall and reinstall and start from scratch then so be it unless someone else has got a better solution? |
So I uninstalled and reinstalled... |
Hello, please read https://github.com/SickChill/synology-sickchill/issues/3#issuecomment-883508042 and https://github.com/SickChill/SickChill/issues/7316#issuecomment-884220658, maybe that can help you. |
tried both, it did not work. |
The first of these worked for me. Thank you! |
Actually, it hasn't been sorted completely. After following those instructions, it still said 22 commits behind so I updated and it launched fine. Restored back up and restarted Sickchill. Now the Web GUI won't load, says the page can't be reached... Edit: I remembered that the backup had port 8083 as this was what was required when this package was first issued. I edited the config in /volume1/@appstore/sickchill/var/data to 8081 and all working again :-) |
...very disappointed. still no DSM 7 support?!?!?!? |
You realize how FOSS works, right? Nobody is stopping you from doing it... Or paying somebody else to do it. |
Motivation: Add the package SickChill. The latest version of SickChill is running with Python3 and also change the startup file, so the package "SickBeard Custom" is not valid to install SickChill
Build: sickchill_noarch-all_20210313-1.spk (Don't browse the package, use the download option on top-bar)
Checklist
all-supported
completed successfully