-
-
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
Need to Point Installed Sickbeard Custom to Python 3 on Synology NAS for Pymedusa (Now Python 3 Compatible) #3710
Comments
Problem is that "sickbeard-custom" is a single package to run multiple sickbeard-forks and switching to Python 3 will break any other fork... |
It should be a relative simple change to the package to make this possible. |
@BenjV This package is available ? |
@BenjV i create the package and you can download here |
Thanks but it should be added to the SynoCommunity |
It would be better to change the current package and add a question if python 2 or python 3 should be used during installation. |
@BenjV agree.
How do you see it? |
In my opinion, no dependency in the INFO file and via the service_preinst () in the "service -setup" script do the installation of the chosen python version automatically if it is not yet present. And it should not be a new package like you suggested (sick-beard-custom-python3) but just a change of the current sick-beard-custom package. |
i have installed the custom package from jamyz. many thanks for that. any news on modifications to standard package ? |
hello, the package will be updated like the original application ? |
If you used the Sickbeard-beard custom this is not possible at the moment. |
Thanks for your swift response, BenjV, much appreciated. Is there another option I can use? |
My "Python 2x" version ran sooo sluggish that I decided to do whatever it takes. |
Hi zzappazz, I did the "screenshots", too, last weeks and saw the package created by alexey-pimenov but hesitated to download/install since I wasn´t sure if it would work for my "older" Syno NAS. |
Hi @marflao I have an older DS411+II, but I assume it works on any model since the package is called "medusa_noarch-all_20190826-2.spk". |
There is no performance or other gain by using Python 3 above Python 2. That said the package of @alexey-pimenov is fine to use. |
Not sure what hardware you are using, but I'm using a slow Synology NAS. Previously as soon as Daily Search started then responsiveness would drop noticably to the point of not being usable at all. I have only recently upgraded however but I have not experienced such problems (yet). |
There is no performance difference. Maybe you should check if you run out if memory. |
Need to double check something in regards to the installation of the aforementioned package. i) Do i need to stop/uninstall the current "SickBeard Custom" package? ii) Will it be required to give new permissions for that application? Thanks in advance. |
In a few versions / weeks Medusa will drop support and updates on python 2. So that should be enough reason to switch to python3. |
I did, but the same ... :( |
the same permits are as before when everything worked (before 30.11.2020). so I don't understand, why isn't it working now? |
Thank you, thank you, thank you, .... noob :)))) |
Do you already have plans for making it a SynoCommunity package, @BenjV? |
Not at this moment. |
Hello, I tried to install the BenjV Medusa package with the Synology Python3 package installed (v3.8.x). It does not recognize this version and will not install. Am I missing something ?
|
Most likely you have the wrong Python3. |
I'm happy to report that I successfully installed Medusa from BenjV's package. I've added the following in General > Advanced Settings > Git executable Path: Do you have a recommendation? Could this be a bug in Medusa? Thanks! |
It should not be needed to set that Git executable path.
Did you install the git package from the Synocommunity? Do you use docker? |
I updated it to the path which you indicated, restarted Medusa and it did not work. I now indicates the following information for Branch and Version. Previously they were unknown. I am using the following Git Package from the SynoCommunity: I'm not using docker. My installation indicates: All non-absolute folder locations are relative to /volume1/@appstore/medusa/var Thanks! |
Apparently medusa needs the name of the binary in that field and not only the path. But you have a very old version of git installed, the latest version is v2.28.0-16 |
This morning Medusa was working and correctly downloading shows, even though I had to manually maintain the git_path. I've updated git to v2.28.0-16 and unfortunately now the Medusa ui starts to load but stops with the pop-up: Any ideas how I can resolve this? |
Maybe a firewall issue? |
I posted a message in the Medusa github, since 4+ days and they're not picking it up. The issue seems to be due to an incompatibility with git 2.28.0-16. I'm trying to downgrade git to 2.24.1-12, but it says that I can't downgrade, and when I try to uninstall git, it says that I need to uninstall Medusa first. Do you have any idea how I can remove the traces of the Medusa package from the package center? |
You clearly have some corruption in your system. You could try it from the commandline with this command:
By the way the restart from within medusa does not work, so after an upgrade you need to start medusa from the Synology package center. |
Thanks for your response. I'm not sure why you conclude that there is a corruption in my system. I performed:
The result is that there are no traces of medusa here:
When I perform:
The result is: All of this would suggest that the medusa uninstall was successful, however when I perform:
medusa-1.1 remains in the list. When I enter the Package Center, the Medusa entry is still visible. Would it be possible to run the uninstall script from the CLI, so that I could see what is causing the message? |
This is precise why I said that your system is corrupt. Did you try a reboot of your Nas? |
I have tried a reboot and the situation remains.
My DSM was not corrupted before I installed the Medusa package.
Are you able to help me debug why I'm getting this message, and perhaps help me to complete the uninstall? |
Sure many times did I install and remove the Medusa package on two different devices. Maybe just try to install it again? |
after last update Of Medusa, I have warnings: 2021-01-19 15:53:02 WARNING DAILYSEARCHER :: [698ca1d] Manual search is running. Unable to start Daily search |
I'm getting the same error after the most recent update.. the previous few updates applied fine I'm wondering if they broke something. I can't seem to find the lock file it's complaining about. |
Please ask this kind of questions on the medusa github. |
I'm happy to report that all issues are resolved, including my uninstalling and reinstalling the package. I've described more details in my Medusa Ticket 9002 Thanks for your help @BenjV |
@sackman68 Nice everything is working again. @zapru and @Tailslide
|
My .git folder doesn't have any .lock files in it. Sorry for discussing this here.. the medusa project keeps closing issues about this saying its not their problem. |
You must look in al subfolder too. And it has nothing to do with git 2.28-16 By the way your problem seems to be somewhat familiar to this one. |
ls -alR | grep lock returns nothing from the .git folder. |
In the issue you mention, we noticed a bug where the update process was queued twice. So that could cause locks. That should be fixed in medusa develop branch |
For new Package Requests, see the guidelines
Setup
Package Name: sickbeard-custom
Package Version:
NAS Model: DS3615xs
NAS Architecture: XPENOLOGY INTEL
DSM version: DSM 6.1.7-15284 Update 3
Expected behavior
Tell us what should happen:
I Need Package to start and use Python 3 package that is currently installed on NAS.
Pymedusa now supports python3: https://github.com/pymedusa/Medusa/wiki/Switch-to-Python-3
Need to point pymedusa to python3 module in: /volume1/@appstore/python3/bin and confirm that it will start and look for python3 going forward instead of 2.7 not sure how to do that .
Actual behavior
Tell us what happens instead:
Python 2.7 is used as it is currently the default
Steps to reproduce
1. Start Pymedusa branch from Sickbeard-Custom
2. When in Pymedusa it will show running 2.7
3. Not sure what to change to use installed python3 packages
Package log
Check Package Center or
/usr/local/{package}/var/
Other logs
E.g.
/var/log/messages
or/var/log/synopkg.log
The text was updated successfully, but these errors were encountered: