Jump to content
linuxserver.io

[Support] Linuxserver.io - Medusa

146 posts in this topic Last Reply

Recommended Posts

Resolved this with the help of the folks over at Medusa. If you sometimes include a quality that is not your norm (for example, a 1080p or SD episode when you typically prefer 720p), you need to take that into account when moving shows into Medusa.

 

When adding an existing show, enable all qualities including unknown and set nothing preferred. That prevents Medusa from ignoring or immediately attempting to update existing episode files, which is what happened above. After the import, any episode that is not showing in the 720p resolution, update to be archived, e.g. 'Archived 1080p HDTV'. Archiving prevents Medusa from attempting to replace that episode file in the future. After these adjustments, change the allowed qualities for the show as desired, e.g., to include just the 720p resolutions wanted for new downloads. (Above paragraph assumes that 720p is your norm).

 

I think unRaid users will like the failed download handling, subtitle searching, and in-app manual search features. And looks like an active dev community with new features and improvements on the way. Try it with NZBget, and don't forget to dl and use the NZBtoSickbeard scripts, and not the older SABtoSickbeard ones, even if you use SAB!

 

Cheers! 

Share this post


Link to post

How can I install the latest development version. I think I selected "master" when I did the install.

Share this post


Link to post
On 1/4/2017 at 4:38 PM, ThisIsXO said:

use `docker exec -it medusa bash` then `cd app/medusa && git checkout develop && git pull` then just restart the container and you're good to go. :)

 

Share this post


Link to post
6 hours ago, strike said:

 

Thank you! If I follow those instructions, and I later force update the Docker, will it go back to the current master version? When the master version changes (assuming Docker would be updated), will I be able to update my Docker and get the latest master version installed? Or once I do this, I am on my own to continue to update manually in a similar fashion.

 

Thanks!

Share this post


Link to post

I believe you have to do the same command but with "checkout master" then restart. Once you're on the master branch again you can update as normal. 

Share this post


Link to post

I tried updating Medusa tonight as it said there was an update, it failed and now my Medusa docker image is orphaned. I've tried downloading it and reinstalling it, but I keep getting an error:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="medusa" --net="bridge" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -p 8081:8081/tcp -v "/mnt/disks/192.168.111.44_TV":"/tv":rw -v "/mnt/cache/downloads":"/downloads":rw -v "/mnt/user/downloads/":"data":rw -v "/mnt/user/appdata/medusa":"/config":rw linuxserver/medusa

/usr/bin/docker: Error response from daemon: Invalid bind mount spec "/mnt/user/downloads/:data:rw": Invalid volume destination path: 'data' mount path must be absolute..
See '/usr/bin/docker run --help'.

 

Attached is screenshot of my settings before I did an update back in June, I am using these same settings when I try to reinstall Medusa tonight however I am getting the error above.

 

The actual path to the folder where tv shows end up is :  /mnt/cache/downloads/completed

 

I have tried entering this instead of /mnt/user/downloads/ but I get the above error.

 

Why is Medusa broken and how can I fix it?

medusa config pre update June 19th 2017.jpeg

Share this post


Link to post

Medusa isn't broken, like the error says data isn't an absolute path. It should be /data

Sent from my LG-H815 using Tapatalk

Share this post


Link to post
2 hours ago, ashman70 said:

Thank you.

Also you've got the image tagged at 29.  So it won't update

Share this post


Link to post

Due to the DMCA now in place on this application, CA has a comment on both the lsio and binhex versions (although Binhex's is still running due to his being a static image).  Hopefully someone will let me know if/when this is resolved one way or another.

Share this post


Link to post

I accidentally clicked the update button to update my Medusa container. 

 

Is there a workaround?

 

The Docker log file shows ...

 

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing...
Cloning into '/app/medusa'...
fatal: could not read Username for 'https://github.com': No such device or address
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
python: can't open file '/app/medusa/start.py': [Errno 2] No such file or directory
python: can't open file '/app/medusa/start.py': [Errno 2] No such file or directory
python: can't open file '/app/medusa/start.py': [Errno 2] No such file or directory
python: can't open file '/app/medusa/start.py': [Errno 2] No such file or directory

Share this post


Link to post
1 hour ago, CHBMB said:

@bjp999 Here you go fella.

 

 

 

Thanks CHBMB and the Medusa team! That worked.

 

For anyone else trying to use these instructions, there is a very minor omission. Between the "git clone ..." command and the "sudo docker restart ..." command, you need to enter "exit" to get out of the docker.

 

Thanks again!!!

Share this post


Link to post
On 8/3/2017 at 8:13 AM, CHBMB said:

@bjp999 Here you go fella.

 

 

 

When I try that I Get:

 

path 'medusa' already exists and is not an empty directory.

 

Fixed it by not doing the cd /app step.

Edited by dalben

Share this post


Link to post

no dodgy fixes required anymore

 

the DMCA notice on this repository has been lifted and we have updated the image to pull the files at build time

Share this post


Link to post

I have a question, does the ability to retry failed downloads exist within Medusa? So for example, say I am trying to get show.s01e03 and Medusa scans my providers looking for the show, finds it on one of them and sends it to SABnzb for download, but dues to missing articles it fails. Can Medusa then retry the failed download and rescan my providers, being careful not to choose the same episode but try a different one?

Share this post


Link to post

I believe so, but as I recall it depends on setting up properly with the NZBtoMedia tools to communicate between it and the DLer. 

Share this post


Link to post

Not sure what is going on with Medusa it appears to be working, but the logs are full of this:

ErrorWarningSystemArrayLogin


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2017-09-14 13:39:55 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2017-09-14 13:40:24 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:40:33 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] Updating exception_cache and exception_season_cache
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] Finished processing 2525 scene exceptions.
2017-09-14 13:40:33 INFO MAIN :: [3f23fd2] Building internal name cache for all shows
2017-09-14 13:40:34 INFO CHECKVERSION :: [3f23fd2] Checking for updates using GIT
2017-09-14 13:40:43 ERROR Thread-16 :: [3f23fd2] Missing time zone for network: Epix

2017-09-14 13:49:00 INFO EVENT-QUEUE :: [3f23fd2] Aborting all threads
2017-09-14 13:49:00 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the DAILYSEARCHER thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the BACKLOG thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SHOWUPDATER thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the CHECKVERSION thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SHOWQUEUE thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SEARCHQUEUE thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FORCEDSEARCHQUEUE thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the MANUALSNATCHQUEUE thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the POSTPROCESSOR thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the TRAKTCHECKER thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FINDPROPERS thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FINDSUBTITLES thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the TORRENTCHECKER thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the EVENT-QUEUE thread to exit
2017-09-14 13:49:01 INFO EVENT-QUEUE :: [3f23fd2] Saving all shows to the database
2017-09-14 13:49:02 INFO EVENT-QUEUE :: [3f23fd2] Saving config file to disk
2017-09-14 13:49:02 INFO EVENT-QUEUE :: [3f23fd2] Shutting down Tornado
2017-09-14 13:49:02 INFO EVENT-QUEUE :: [3f23fd2] Restarting Medusa with ['/usr/bin/python', u'/app/medusa/start.py', '--nolaunch', '--datadir', '/config']
['/usr/bin/python', u'/app/medusa/start.py', '--nolaunch', '--datadir', '/config']
2017-09-14 13:49:06 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:49:06 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:49:06 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:49:06 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:49:14 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:49:14 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:49:14 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:49:14 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:49:15 INFO CHECKVERSION :: [3f23fd2] Checking for updates using GIT
2017-09-14 13:49:18 INFO MAIN :: [3f23fd2] Updating exception_cache and exception_season_cache
2017-09-14 13:49:19 INFO MAIN :: [3f23fd2] Finished processing 2525 scene exceptions.
2017-09-14 13:49:19 INFO MAIN :: [3f23fd2] Building internal name cache for all shows
2017-09-14 13:49:19 INFO MAIN :: [3f23fd2] Finished processing 2525 scene exceptions.
2017-09-14 13:49:19 INFO MAIN :: [3f23fd2] Building internal name cache for all shows
2017-09-14 13:49:19 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:49:20 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:49:20 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:49:20 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:49:20 INFO TORNADO :: [3f23fd2] Could not start the web server on port 8081, already in use!
2017-09-14 13:49:23 ERROR Thread-16 :: [3f23fd2] Missing time zone for network: Epix

2017-09-14 13:49:23 ERROR Thread-16 :: [3f23fd2] Missing time zone for network: Epix

2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Aborting all threads
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the DAILYSEARCHER thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Aborting all threads
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the DAILYSEARCHER thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the BACKLOG thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SHOWUPDATER thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the CHECKVERSION thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SHOWQUEUE thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the SEARCHQUEUE thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FORCEDSEARCHQUEUE thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the MANUALSNATCHQUEUE thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the POSTPROCESSOR thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the TRAKTCHECKER thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FINDPROPERS thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the FINDSUBTITLES thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the TORRENTCHECKER thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Waiting for the EVENT-QUEUE thread to exit
2017-09-14 13:50:25 INFO EVENT-QUEUE :: [3f23fd2] Saving all shows to the database
2017-09-14 13:50:26 INFO EVENT-QUEUE :: [3f23fd2] Saving config file to disk
2017-09-14 13:50:26 INFO EVENT-QUEUE :: [3f23fd2] Shutting down Tornado
2017-09-14 13:50:26 INFO EVENT-QUEUE :: [3f23fd2] Restarting Medusa with ['/usr/bin/python', u'/app/medusa/start.py', '--nolaunch', '--datadir', '/config']
['/usr/bin/python', u'/app/medusa/start.py', '--nolaunch', '--datadir', '/config']
2017-09-14 13:50:30 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:50:30 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:50:38 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:50:38 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:50:38 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:50:38 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:50:39 INFO CHECKVERSION :: [3f23fd2] Checking for updates using GIT
2017-09-14 13:50:43 INFO MAIN :: [3f23fd2] Updating exception_cache and exception_season_cache
2017-09-14 13:50:43 INFO MAIN :: [3f23fd2] Finished processing 2525 scene exceptions.
2017-09-14 13:50:43 INFO MAIN :: [3f23fd2] Building internal name cache for all shows
2017-09-14 13:50:43 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:50:44 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:50:44 ERROR Thread-16 :: [3f23fd2] Missing time zone for network: Epix

2017-09-14 13:50:44 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:50:44 ERROR Thread-16 :: [3f23fd2] Missing time zone for network: Epix

2017-09-14 13:50:44 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:50:44 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:50:44 INFO TORNADO :: [3f23fd2] Could not start the web server on port 8081, already in use!
2017-09-14 13:50:48 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:50:56 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:50:56 INFO TORNADO :: [3f23fd2] Could not start the web server on port 8081, already in use!
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:50:56 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'
2017-09-14 13:50:56 INFO TORNADO :: [3f23fd2] Starting Medusa on http://0.0.0.0:8081/
2017-09-14 13:50:56 INFO TORNADO :: [3f23fd2] Could not start the web server on port 8081, already in use!
2017-09-14 13:51:00 INFO MAIN :: [3f23fd2] Broken providers found: [u'binsearch']
2017-09-14 13:51:08 INFO MAIN :: [3f23fd2] 70717: Unable to find IMDb info in the database: You me and Her
2017-09-14 13:51:08 INFO MAIN :: [3f23fd2] 330543: Unable to find IMDb info in the database: Instinct 2017
2017-09-14 13:51:08 INFO MAIN :: [3f23fd2] Starting Medusa [master] using '/config/config.ini'

I can access the web gui, I tried changing the port to 8082 but that didn't work.

Edited by ashman70

Share this post


Link to post

No idea, looks like a connectivity issue, you messed around with the config?

Share this post


Link to post

Looks like medusa is trying to respawn a process despite there being already one up.  Can't reproduce it here.  Can you post the first 147 lines of your config.ini?  Make sure you redact out any sensitive info.

 

Also, you tried removing/reinstalling/updating?

Edited by CHBMB

Share this post


Link to post

NM I simply uninstalled and reinstalled the docker and it works now.

Edited by ashman70

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.