Skip to content
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

Medusa on Asustor NAS #7342

Closed
aiiDaH opened this issue Nov 12, 2019 · 28 comments
Closed

Medusa on Asustor NAS #7342

aiiDaH opened this issue Nov 12, 2019 · 28 comments

Comments

@aiiDaH
Copy link

aiiDaH commented Nov 12, 2019

Hello

I can't find any guide or information on how to install medusa on Asustor
can someone help me out here

@triage-new-issues triage-new-issues bot added the triage Untriaged issue label Nov 12, 2019
@p0psicles
Copy link
Contributor

Can you provide a link to the sickrage manual?

@aiiDaH
Copy link
Author

aiiDaH commented Nov 12, 2019

Can you provide a link to the sickrage manual?

not 100% sure of what you mean by that?

Im remembered from some years back that I could write in a repository but now I'm not allowed to do so

i have 3 kinds I can download. sickchill,sickgear,sickbeard, thioose are one that are in my App Store

@p0psicles
Copy link
Contributor

Hmm I'll see if I can hack one of the packages.

@p0psicles
Copy link
Contributor

@clinton-hall hi, how much time would it cost you to create a Medusa package?

@triage-new-issues triage-new-issues bot removed the triage Untriaged issue label Nov 12, 2019
@aiiDaH
Copy link
Author

aiiDaH commented Nov 12, 2019

Hmm I'll see if I can hack one of the packages.

ive seen one post where the person wrote that he installed it but not saying in detail how he did it

@aiiDaH
Copy link
Author

aiiDaH commented Nov 12, 2019

@Aesculapius how did you manage to do it?

@clinton-hall
Copy link

Give me a day or 2 and I should be able to package this...

@p0psicles
Copy link
Contributor

If it's as easy as pointing to a python bin. Medusa is able to run on py 3.5 and higher. 2.7.13 will also work.

@clinton-hall
Copy link

@p0psicles
I have an apkg that can be tested:
https://www.dropbox.com/s/igzilfk6h02fsaz/medusa_20191113_any.apk?dl=0

It works at this end (but I have so many other SickBeard forks installed it is sometimes difficult to verify if there are any requirments that are satisfied/installed by another App).
By default this requires "Python" App installed (which is 2.7), but if users install python3 and set python3 as the main "python" executable, this will pick that up.

It could be edited to require python3 App and explicitly call python3 if required.

If any users can test and provide feedback, I'll try and update. Once verified all good I will submit to AppCentral.

@p0psicles
Copy link
Contributor

@aiiDaH this is where you come in

@aiiDaH
Copy link
Author

aiiDaH commented Nov 13, 2019

@aiiDaH this is where you come in

Hello

Sorry for late answer I've been at work

Yes i managed to install it and it seems to work

I got this message tho ii can't get rid of

WARNING MAIN :: [80b323e] Your system is using an invalid encoding: ANSI_X3.4-1968. Please change your encoding as soon as possible or you could encounter unexpected issues.

and this is above my paygrade I dont know how to change encoding or what it is?

@p0psicles
Copy link
Contributor

Default encoding should be utf-8. But I also don't know how to configure that on your nas

@p0psicles
Copy link
Contributor

Well it would be less of an issue if you install python3. And make that default like @clinton-hall mentioned

@aiiDaH
Copy link
Author

aiiDaH commented Nov 13, 2019

so the encoding has to do with the python ?

i have both installed as in picture, is that the issue for me ?
https://imgshare.io/image/UEIsu

@p0psicles
Copy link
Contributor

If your starting Medusa now. Is it running on python3?

@aiiDaH
Copy link
Author

aiiDaH commented Nov 13, 2019

I tried to uninstall pyton 2.7.10.r10 but it dont let me do it without uninstalling medusa and other apps, how to set Pyton 3.7.0.r5 as the main is a clue for me

@p0psicles
Copy link
Contributor

you shouldn't need to uninstall 2.7. Maybe @clinton-hall has some pointers for it.

@medariox
Copy link
Contributor

This is some awesome work, thanks! It would really be great to support Python 3 by default, as we will end Python 2.7 soon, as it reaches its EOL.

@clinton-hall
Copy link

Ok, try this:
https://www.dropbox.com/s/2cc4vs1j595kunp/medusa_20191114_any.apk?dl=0

this now requires Python3 package to be installed, and then calls Python3...

Let me know if this fixes the encoding issue. I have not been able to test this here since I am working remotely (I have terminal access to edit and compile, but I can't hit any GUI...)

@aiiDaH
Copy link
Author

aiiDaH commented Nov 15, 2019

Thx @clinton-hall much appreciated...

@p0psicles i have problem to get the snatched torrents to appear in Download Center in Asustor, im using black hole, any suggestions?

@p0psicles
Copy link
Contributor

Sounds like an access rights issue. Maybe download center can't read them? Is there any user / group management possible in asustor?

@clinton-hall
Copy link

On Asustor, Medusa runs as admin:administrators, Download Centre runs as root.
Are the torrent files that Medusa saves still in the blackhole directory?
Can you make Download Centre scan the directory manually?

@aiiDaH
Copy link
Author

aiiDaH commented Jan 24, 2020

On Asustor, Medusa runs as admin:administrators, Download Centre runs as root.
Are the torrent files that Medusa saves still in the blackhole directory?
Can you make Download Centre scan the directory manually?

Hello @clinton-hall I get alot errors now and they say that I need to update it , the maintainer they say need to do it, is it something you can do?

@aiiDaH
Copy link
Author

aiiDaH commented Jan 25, 2020

Give me a day or 2 and I should be able to package this...

Could u plz update it againi gladlynt pay for it

@clinton-hall
Copy link

What is it you want updated in the package? is anything not working?
The whole point of the package is that it uses git and allows you to update from the Medusa web UI.

@aiiDaH
Copy link
Author

aiiDaH commented Jan 25, 2020

What is it you want updated in the package? is anything not working?
The whole point of the package is that it uses git and allows you to update from the Medusa web UI.

Hello @clinton-hall that was what I thought aswell but sudenly it doesn't work and another member told me that I can't update it myself and that I should contact the maintainer

im trying to press "Check for update" but nothing happens and when I check log I get this

2020-01-25 11:10:57 WARNING Thread_5 :: [8b7f433] git fetch --prune origin returned : error: object file .git/objects/ad/3c38d6ecd1135865e079b4305630c534fd0005 is empty
fatal: cannot read existing object info ad3c38d
fatal: index-pack failed

2020-01-25 11:10:57 WARNING Thread_5 :: [8b7f433] Unable to contact github, can't check for update

How can I fix this ?

@clinton-hall
Copy link

clinton-hall commented Jan 26, 2020

the git install has become corrupt. Could have been the NAS stopped during an update?

To fix, log in via ssh and do the following.

/volume1/.@plugins/AppCentral/medusa/CONTROL/start-stop.sh stop
rm -rf /volume1/.@plugins/AppCentral/medusa/Medusa
/volume1/.@plugins/AppCentral/medusa/CONTROL/start-stop.sh restart

This will do a fresh install via git clone when it starts.

@clinton-hall
Copy link

I just updated the above... I originally had the wrong repo referenced, and this only removed the .git folder. The updated commands should remove the Medusa repo and re-clone this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants