[QPKG] sherpa mini-package-manager (CLI) beta

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
Kastagir
Starting out
Posts: 13
Joined: Sat Sep 18, 2010 1:18 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Kastagir »

No joy I'm afraid :(

Code: Select all

done: updated package cache with 1 QPKG
done: installed 2 PIP groups
fail: 'SickChill' service operation failed. Check (/var/log/SickChill.log) for more information
done: upgraded 1 dependent QPKG
note: ignoring request to start 'SickChill' as it's already started

Code: Select all

ModuleNotFoundError: No module named '_cffi_backend'"
result: [1]
>>>>>>>>>> datetime:'Tue Jul 13 11:03:36 BST 2021',request:'stopping',QPKG:'210326',app:'2021.7.12-6' <<<<<<<<<<
daemon: NOT active
>>>>>>>>>> datetime:'Tue Jul 13 11:03:44 BST 2021',request:'starting',QPKG:'210713',app:'2021.7.12-6' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
workaround (https://github.com/SickChill/SickChill/issues/7249): failed!
= ExecuteAndLog()
output: "fatal: ambiguous argument 'dec999c': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'"
result: [128]
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: failed!
= ExecuteAndLog()
output: "sickchill found: False
pip found: True
Last edited by Kastagir on Wed Jul 14, 2021 3:56 am, edited 1 time in total.
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Kastagir wrote: Wed Jul 14, 2021 3:51 am No joy I'm afraid :(

Code: Select all

output: "fatal: ambiguous argument 'dec999c': unknown revision or path not in the working tree.
That's the version from yesterday. You'll need to run a 'clean' operation on your management script so it will force-download the latest version with links to the updated QPKG.

Note: a 'clean' is only required if it's been less than 24 hours since I pushed an update to GitHub, and you'd like to receive that update immediately. ;)

Code: Select all

sherpa clean
Now, display the status table: there should be a new package version for SickChill there:

Code: Select all

sherpa s

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Kastagir
Starting out
Posts: 13
Joined: Sat Sep 18, 2010 1:18 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Kastagir »

Code: Select all

[~] # sherpa clean
done: management script cleaned
[~] # sherpa s
sherpa 210714 • a mini-package-manager for QNAP NAS

* Standalone QPKGs:  * QPKG version:   * QPKG status:
   duf                - 210412          - not installed
   Entware            - 1.03            - started
   HideThatBanner     - 201219b         - not installed
   Par2               - 0.8.1.0         - started
   RunLast            - 210328          - not installed
   sha3sum            - 201114          - not installed
   sherpa             - 210418b         - started
   SortMyQPKGs        - 210708c         - started

* Dependent QPKGs:   * QPKG version:   * QPKG status:
   ClamAV             - 210409          - not installed
   Deluge-server      - 210331          - not installed
   Deluge-web         - 210331          - not installed
   LazyLibrarian      - 210318          - not installed
   OMedusa            - 210325          - not installed
   Mylar3             - 210318          - not installed
   NZBGet             - 210331          - not installed
   nzbToMedia         - 210327          - not installed
   SABnzbd            - 210401          - started
   SickChill          - 210714          - started
   OSickGear          - 210318          - not installed
   OTransmission      - 210331b         - not installed
P.s love your work. I like SickChill but I am nowhere near knowledgeable enough to get it working without the awesome Sherpa. Thank you so very much!
Last edited by Kastagir on Wed Jul 14, 2021 4:00 am, edited 1 time in total.
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Kastagir wrote: Wed Jul 14, 2021 3:58 am

Code: Select all

   SickChill          - 210714          - started
Can you now see SickChill via the UI?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Kastagir
Starting out
Posts: 13
Joined: Sat Sep 18, 2010 1:18 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Kastagir »

UI shows unable to connect to http://10.0.0.2:7073/home/

Code: Select all

[~] # sherpa restart sc
sherpa 210714 • a mini-package-manager for QNAP NAS

fail: 'SickChill' service operation failed. Check (/var/log/SickChill.log) for more information
done: restarted 1 dependent QPKG
Log shows:

Code: Select all

>>>>>>>>>> datetime:'Tue Jul 13 20:47:49 BST 2021',request:'starting',QPKG:'210714',app:'2021.7.12-6' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SickChill' from remote repository: OK
workaround (https://github.com/SickChill/SickChill/issues/7249): OK
disable auto-update: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: failed!
= ExecuteAndLog()
output: "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/locale
/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/locale
Traceback (most recent call last):
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/SickChill.py", line 17, in <module>
    from sickchill.movies import MovieList
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/sickchill/movies.py", line 8, in <module>
    from imdb.parser.http.piculet import Path, Rule
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/lib3/imdb/parser/http/__init__.py", line 40, in <module>
    from . import (
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/lib3/imdb/parser/http/companyParser.py", line 32, in <module>
    from .piculet import Path, Rule, Rules
  File "/share/CACHEDEV1_DATA/.qpkg/SickChill/SickChill/lib3/imdb/parser/http/piculet.py", line 263, in <module>
    from lxml import etree as ElementTree
ImportError: cannot import name 'etree' from 'lxml' (/opt/lib/python3.9/site-packages/lxml/__init__.py)"
result: [1]
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Kastagir wrote: Wed Jul 14, 2021 4:06 am

Code: Select all

ImportError: cannot import name 'etree' from 'lxml' (/opt/lib/python3.9/site-packages/lxml/__init__.py)"
I think your Python modules are messed-up. Please reinstall Entware to fix this:

Code: Select all

sherpa reinstall ew
All your sherpa packages that rely on Entware will be automatically restarted afterward.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Kastagir
Starting out
Posts: 13
Joined: Sat Sep 18, 2010 1:18 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Kastagir »

Bless you Sir, you are a legend.

164 commits behind and I am staying far far away from that update button! :D
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Kastagir wrote: Wed Jul 14, 2021 4:16 am 164 commits behind and I am staying far far away from that update button! :D
Nice work. :)

I'll try to keep an eye on the progress of that SickChill issue and re-enable updates when it seems to be working again.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Update: @miigotu (the managing dev for SickChill) has decided to throw a tantrum because "thousands" of people are "spamming" him. And it seems he is completely unaware of why. I don't know about anyone else but I've finally had-enough of his BS and aggressive attitude. He is absolutely clueless on supporting end-users. Rather than admit he screwed-up, he finds it easier to blame everyone else.

I'm pulling support for SickChill from sherpa as I'd rather end-users have access to stable applications (means less support work for me) and deal with far more pleasant developers. May I suggest Medusa or SickGear as alternatives to SickChill?

SickChill will remain installable for now, but is no-longer supported by myself and will be removed from sherpa at some point when I've had a chance to consider migration paths into other apps.

From memory, @QNAP_Stephane maintains a SickChill QPKG on the QnapClub Repo for those who would like to continue using SickChill.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Shadytree »

Shame not everyone has your selfless attitude OneCD. Thank you for your efforts as always.
Is there any way of migrating 'series' from Sh*tChill to SickGear or are we starting from scratch in this case.

I tried adding an existing Sh*tChill show to SickGear, but it wouldn't let me add as the folder already existed. So not sure if I'm missing a trick here.
Last edited by Shadytree on Wed Jul 14, 2021 3:19 pm, edited 2 times in total.
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
User avatar
GTunney
Been there, done that
Posts: 737
Joined: Tue Oct 14, 2014 4:16 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by GTunney »

OneCD wrote: Wed Jul 14, 2021 2:16 pm Update: @miigotu (the managing dev for SickChill) has decided to throw a tantrum because "thousands" of people are "spamming" him. And it seems he is completely unaware of why. I don't know about anyone else but I've finally had-enough of his BS and aggressive attitude. He is absolutely clueless on supporting end-users. Rather than admit he screwed-up, he finds it easier to blame everyone else.

I'm pulling support for SickChill from sherpa as I'd rather end-users have access to stable applications (means less support work for me) and deal with far more pleasant developers. May I suggest Medusa or SickGear as alternatives to SickChill?

SickChill will remain installable for now, but is no-longer supported by myself and will be removed from sherpa at some point when I've had a chance to consider migration paths into other apps.

From memory, @QNAP_Stephane maintains a SickChill QPKG on the QnapClub Repo for those who would like to continue using SickChill.
You do so much for this community so I fully respect your decision. I'll be gutted when SickChill is removed as quite frankly your the fastest person to offer support / help when something goes wrong (which it does often). Sherpa is an awesome tool but for me it feels like my use is getting less and less as apps are removed through no fault of your own (Watcher, Sickchill).
Model: TS-653B 8GB
Disks: 3 x 4TB Western Digital WD40EFRX - RAID 5
Total Storage: 7.2TB
Applications: Plex MS | Watcher3 | QSabnzbd+ | QSickrage | Home Assistant | Kodi v18.4 MySQL
Other Devices: Netgear D7000 AC1900 VDSL Router | FTTC - 80/20 | Netgear GS108 Gigabit Switch
scarng
Starting out
Posts: 16
Joined: Thu Apr 14, 2016 8:13 am

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by scarng »

I agree with OneCD why should he jump through hoops for a mad man @miigotu. We have invested a lot of time building our databases with SickChill. What are the pros/cons using Medusa or SickGear as an alternative to SickChill?
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by OneCD »

Hi all. :)
Shadytree wrote: Wed Jul 14, 2021 2:34 pm Is there any way of migrating 'series' from Sh*tChill to SickGear or are we starting from scratch in this case.
SickChill won't be removed anytime soon.

I need to do some testing and see if it's possible to transfer the database across to other SickBeard forks. I'd like to avoid having to rebuild entire libraries of shows from scratch (although importing existing shows should be quite easy these days). I hope to find some time this weekend, but there's no hurry. We have a working SickChill for-now: it just won't get any further updates.
GTunney wrote: Wed Jul 14, 2021 3:15 pm Sherpa is an awesome tool but for me it feels like my use is getting less and less as apps are removed through no fault of your own (Watcher, Sickchill).
I hear you, and it's painful when I have to remove an application. Frankly, I don't use sherpa at-all, as I don't run QTS on my production NAS.

The sherpa installer might be best-seen as an "easy"(?) way to install some difficult apps and get them running (I remember how difficult all this Usenet stuff was for me when I was first exposed to it, and trying to get the planets aligned by ensuring all the applications worked together wasn't a great experience), but the longer term view should be that the user runs each of these apps independently of sherpa.

So, outgrowing sherpa is a perfectly normal progression. Image
scarng wrote: Wed Jul 14, 2021 5:38 pm We have invested a lot of time building our databases with SickChill. What are the pros/cons using Medusa or SickGear as an alternative to SickChill?
Maybe someone who has compared each of the SickBeard forks can comment? I'll admit, I've not used the other forks in a production environment so I'm not intimately familiar with their differences to SickChill. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
TorbenB
Starting out
Posts: 18
Joined: Sun Oct 16, 2011 5:18 pm

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by TorbenB »

I honestly hope you will at least wait a bit before SickChill is removed.
True, miigotu, like thousands of open source developers, is not the most "customer friendly" type, and he did admit in one of the threads, that he had messed up and that he believed the current version was thoroughly tested which it of course wasn't.
I couldn't find where he throws a tantrum, but it must also be really frustrating to to have worked hard for a long time on an upgrade, believe that it's ready for release, then being bombarded by angry users who can't get it to work and all blame him for, let's get real here, not being able to download their pirated tv shows using a free tool.
I remember back when you had discussions with him about upgrading SC to support a newer version of Python, I followed that thread, and it honestly didn't seem to take that long to convert SC and get a working version running (sure there were bugs that only got sorted out later), as soon as you and a few others had convinced him that this was the way to go.
Looking at the number of commits and miigotu's responses in the various threads, it seems like he is really trying to fix things.
So I'm rooting for him to fix the system quickly enough that people, and us QNAP users, aren't moving to something else yet again, and that in time he'll implement the movie part as well (some of the older commits before this disaster hinted at the movies part slowly being incorporated).

Anyway, that's just my thoughts on this whole debacle, and I just hope that my QNAP not suddenly restarts and auto-updates SickChill.
Which brings me to a support question :D
How can we avoid SickChill being updated if the NAS is rebooting/the service is being restarted?

PS. Can we please drop the whole "Sh*tChill"? It's not like we are 12 year old kids in the schoolyard.
User avatar
Shadytree
Know my way around
Posts: 241
Joined: Thu Feb 12, 2009 4:58 am
Location: United Kingdom

Re: [QPKG] sherpa mini-package-manager (CLI)

Post by Shadytree »

OneCD wrote: Thu Jul 15, 2021 3:33 am We have a working SickChill for-now: it just won't get any further updates.
Sorry, I can't get it working after trying a good few times.

Code: Select all

[~] # sherpa clean
done: management script cleaned 
[~] # sherpa upgrade sc restart sc
sherpa 210714 • a mini-package-manager for QNAP NAS

done: installed 2 PIP groups                                            
note: ignoring request to upgrade 'SickChill' as no new package is available 
fail: 'SickChill' service operation failed. Check (/var/log/SickChill.log) for more information 
done: restarted 1 dependent QPKG  
TVS-872XT-32GB | Raid 6 | 8 x 6TB WD Gold | 1TB NVMe SSD | QTS 4.5.2 1566
TS-569L-3GB | Raid 5 | 5 x 3TB WD Red Drives | QTS 4.3.4.1368 |
Apps: Python 2.7.12 | Python3 3.5.2.0 | Sherpa qpkg 200917 SABnzbdplus v3.1.1 |SickChill Master v2020.09.20-7 |
Plex Media Server 4.51.1 |

[Old Box] - QNAP TS-509 Pro | Raid 5 - 5 x 1TB WD Green Drives
FW 3.7.3 Build 20120801 -Redundancy backup
Post Reply

Return to “Community Apps”