[Support] Linuxserver.io - Mylar


Recommended Posts

I am having issues in downloading & searching comics through mylar

Every time i tried to search, it will immediately came up with a blank page.

If I tried to download from the pulldown list it tried to search the comics and mentioned

Comic ID: 112561 (None)

 

I used NZBGeek and DogNZB

Tried to get API from comic vine but I think there is a problem with their server in getting API

 

This is my logs

Quiet logging mode enabled...
Initializing startup sequence....
Traceback (most recent call last):
File "/app/mylar/mylar/logger.py", line 336, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/mylar/mylar/importer.py", line 97, in addComictoDB
comic = cv.getComic(comicid, 'comic')
File "/app/mylar/mylar/cv.py", line 156, in getComic
return GetComicInfo(comicid, dom)
File "/app/mylar/mylar/cv.py", line 220, in GetComicInfo
tracks = dom.getElementsByTagName('issue')
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName'
Traceback (most recent call last):
File "/app/mylar/mylar/logger.py", line 336, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/mylar/mylar/importer.py", line 97, in addComictoDB
comic = cv.getComic(comicid, 'comic')
File "/app/mylar/mylar/cv.py", line 156, in getComic
return GetComicInfo(comicid, dom)
File "/app/mylar/mylar/cv.py", line 220, in GetComicInfo
tracks = dom.getElementsByTagName('issue')
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName'

 

Please help me on this?

Link to comment
  • 2 weeks later...
On 6/14/2018 at 3:51 AM, dstanley said:

 

PIP INSTALL REQUESTS from the docker container fixed my problem - Mylar did a snatch, convert to CBZ, metatag and move just fine now.

CHBMB: Thanks for your help!

Hi Guys

I have run into the same problem mentioned above, but i cant seem to figure out why requests is not working in the container.

i have NZBget in a container and MyLar in a container running.

 

From NZBget:

[INFO] Move for X.2018.Digital.Zone-Empire successful
[INFO] Executing post-process-script ComicRN.py for X.2018.Digital.Zone-Empire
[INFO] ComicRN: Requests module not found on system. I'll revert so this will work, but you probably should install
[INFO] ComicRN: requests to bypass this in the future (ie. pip install requests)

 

Here the Mylar ComicRN from NZBget fails as it needs "requests" on the mylar container. But looking below, its already there ?

 

root@mylar:/$ pip install requests
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (2.19.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests) (1.23)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests) (2018.8.24)
Requirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python2.7/site-packages (from requests) (2.7)
root@mylar:/$

 

I would welcome any suggestions.

Link to comment
1 hour ago, valhalla540 said:

Hello,

 

I installed mylar, noticed the default port is the same as my sab port. Changed it to 9009 in the docker page. But I can't load the webui. I get a "site can't be reached" error in chrome. Any ideas?

image.png.803214dfd20d809e24ca7f22c570ee47.png

Try a different port, clear browser cache, try a different browser? 

Otherwise post logs.

Link to comment
2 hours ago, CHBMB said:

Try a different port, clear browser cache, try a different browser? 

Otherwise post logs.

 

I tried different port, browser and cleare cache. Here's a snippet of the log after I ran a bunch of updates. 

Oct 18 15:57:35 Tower nerdpack: perl-5.26.1 package up to date, checksum ok.
Oct 18 15:57:36 Tower nerdpack: Cleaning up packages...
Oct 18 15:57:36 Tower nerdpack: All packages processed...
Oct 18 15:57:50 Tower root: Fix Common Problems Version 2018.10.02
Oct 18 19:06:16 Tower kernel: docker0: port 5(veth9441b2a) entered disabled state
Oct 18 19:06:16 Tower kernel: veth49c8df7: renamed from eth0
Oct 18 19:06:16 Tower avahi-daemon[4433]: Interface veth9441b2a.IPv6 no longer relevant for mDNS.
Oct 18 19:06:16 Tower avahi-daemon[4433]: Leaving mDNS multicast group on interface veth9441b2a.IPv6 with address fe80::dc42:96ff:fe4a:9ed2.
Oct 18 19:06:16 Tower kernel: docker0: port 5(veth9441b2a) entered disabled state
Oct 18 19:06:16 Tower kernel: device veth9441b2a left promiscuous mode
Oct 18 19:06:16 Tower kernel: docker0: port 5(veth9441b2a) entered disabled state
Oct 18 19:06:16 Tower avahi-daemon[4433]: Withdrawing address record for fe80::dc42:96ff:fe4a:9ed2 on veth9441b2a.
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered blocking state
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered disabled state
Oct 18 19:06:17 Tower kernel: device vethfc1fdd4 entered promiscuous mode
Oct 18 19:06:17 Tower kernel: IPv6: ADDRCONF(NETDEV_UP): vethfc1fdd4: link is not ready
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered blocking state
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered forwarding state
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered disabled state
Oct 18 19:06:17 Tower kernel: eth0: renamed from veth2c2079a
Oct 18 19:06:17 Tower kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethfc1fdd4: link becomes ready
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered blocking state
Oct 18 19:06:17 Tower kernel: docker0: port 5(vethfc1fdd4) entered forwarding state
Oct 18 19:06:19 Tower avahi-daemon[4433]: Joining mDNS multicast group on interface vethfc1fdd4.IPv6 with address fe80::608d:aeff:fe00:93f1.
Oct 18 19:06:19 Tower avahi-daemon[4433]: New relevant interface vethfc1fdd4.IPv6 for mDNS.
Oct 18 19:06:19 Tower avahi-daemon[4433]: Registering new address record for fe80::608d:aeff:fe00:93f1 on vethfc1fdd4.*.
Oct 18 19:07:30 Tower emhttpd: req (12): csrf_token=***************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
Oct 18 19:07:30 Tower emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Oct 18 19:08:03 Tower emhttpd: req (13): csrf_token=***************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
Oct 18 19:08:03 Tower emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Oct 18 19:08:04 Tower emhttpd: req (14): csrf_token=***************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
Oct 18 19:08:04 Tower emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog

Link to comment

Okay I'm back with real question for Mylar. 

 

I have not been able to get Mylar to organize downloads. Current settings

Docker:

Downloads -> /mnt/user/Downloads/

Comics -> /mnt/user/comics/

 

Mylar WebUI

image.png.41759f6a29b53e290abae9dcc3cb4637.png

image.png.acd3217be5c4c5c11c444d243b38f171.png

 

First time using Mylar. I have not tried to import any comics. 

 

I've used the "This Week" list to add and to one-off. When I add a new series a folder is created in my /comics directory. Sab runs and downloads into /downloads/completed/comics/"issue name". The comic is NOT moved to /comics. 

 

I've included my log. Its pretty large after I turned Debuging on. 

mylar.log

 

I forced folder monitoring under Activity/Jobs. The log shows its finding the comics, categorizing and doing some pretty cool analysis, but does appear to try to move to /comics/ I don't really see any errors but I am overwhelmed by the log.

 

Any help would be appreciated. Thank you

Link to comment
36 minutes ago, dstanley said:

Valhalla:

Might be just the case of the folders:

Downloads DOES NOT equal downloads

Comics DOES NOT equal comics

The capital letter means different folders!

dstanley, thanks, that makes sense, but before I mess with it, as the only mismatch seems to possibly be downloads/Downloads...

 

Doesn't the docker take the path from the setting section in the docker. 

image.png.0725115160ce8259adb7c49c0dac3325.png

 

So the container path is lowercase, and I have lower case in Mylar settings, likewise with /comics.

 

Also, the comics path seems to work as mylar is creating folders for added comics and the logs show it is finding the path to downloaded comics, jut not triggering the moves from download/completed/comics to /comics.

 

Thanks

Link to comment

Thanks for the suggestion, but it didn't seem to impact. I tried a manual update pointing to the same folder. It sees the files but doesn't do anything. 

2018-10-19 18:11:48INFO[ONEOFF-SELECTION] ofl:

2018-10-19 18:11:48INFO[ONEOFF-SELECTION] ofl:

2018-10-19 18:11:48INFO[ONEOFF-SELECTION] ofl:

2018-10-19 18:11:48INFOI have located 6 files that I should be able to post-process. Continuing...

2018-10-19 18:11:48INFOthere are 6 files.

2018-10-19 18:11:48INFOStarting postprocessing for : Manual Run

2018-10-19 18:10:42INFOUpdate complete

 

Then the logs go nuts.

This message appears looks like once for each file.

2018-10-19 18:11:48INFO[ONEOFF-SELECTION] ofv: {'WatchValues': {'LatestDate': None, 'Publisher': u'DC Comics', 'SeriesYear': None, 'ComicVersion': None, 'IsArc': False, 'Total': None, 'ComicID': u'92569'}, 'ComicName': u'Nightwing', 'IssueID': u'689027', 'AlternateSearch': None, 'Issue_Number': u'51', 'ComicPublisher': u'DC Comics', 'ComicID': u'92569'}

 

This error appears.

2018-10-19 18:11:48ERRORUncaught exception: Traceback (most recent call last):
File "/app/mylar/mylar/logger.py", line 336, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/mylar/mylar/PostProcessor.py", line 1254, in Process
self.nzb_or_oneoff_pp(tinfo=pp)
File "/app/mylar/mylar/PostProcessor.py", line 1396, in nzb_or_oneoff_pp
self._log("Grab-Bag Directory set to : " + mylar.CONFIG.GRABBAG_DIR)
TypeError: cannot concatenate 'str' and 'NoneType' objects

 

 

 

Link to comment
  • 1 month later...

I'm getting this error with "This Week" for the last couple of weeks. Tried reinstalling the docker, clearing cache. Mylar works, just this one page is a problem. Any ideas?

 

500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/app/mylar/lib/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/app/mylar/lib/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/app/mylar/lib/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/app/mylar/mylar/webserve.py", line 1610, in pullist
    repoll = self.manualpull(weeknumber=weekinfo['weeknumber'],year=weekinfo['year'])
  File "/app/mylar/mylar/webserve.py", line 1897, in manualpull
    weeklypull.pullit()
  File "/app/mylar/mylar/weeklypull.py", line 359, in pullit
    comicnm = issname[1]
IndexError: list index out of range

UPDATE: Found the answer on the Mylar forums, make sure your alt_pull value in the config.ini is set to 2

Edited by Rick Gillyon
Link to comment
  • 1 month later...
  • 3 weeks later...
On 1/14/2019 at 12:43 PM, smashingtool said:

Any idea why Mylar now shows "None (master)" as the version at the bottom?

Mine is the same - also popup that reads "You're running an unknown version of Mylar. Update or Close"

If I Update from within the Docker the notice goes away - but I am unclear which is the latest version - the docker or the pulled copy.

I do not seem to have any issues with the pulled copy in running it though ...

 

Updating with-in the container it now shows as:

Version: 101e6aa7551fe608a4a37bc80d916e36c6ba0cd4 (master)

Edited by dstanley
Added container update version
Link to comment
  • 4 weeks later...

I'm having issues with my main indexer regularly being disabled in this container.  It doesn't disable for a short time period, it disables the indexer permanently until i manually enable it.  Anyone else having this issue?

 

2019-02-28 02:00:15WARNINGUnavailable indexer detected. Disabling for a short duration and will try again.

2019-02-28 02:00:15WARNINGUnable to retrieve search results from dognzb [Status Code returned: 503]

2019-02-27 19:22:19WARNING[ERROR] string index out of range

2019-02-27 18:08:40WARNING[ERROR] string index out of range

2019-02-27 17:37:07WARNING[ERROR] string index out of range

2019-02-27 17:37:07WARNING[ERROR] string index out of range

2019-02-27 17:31:52WARNING[ERROR] string index out of range

2019-02-27 17:16:38WARNING[ERROR] string index out of range

2019-02-27 07:09:26ERRORCould not locate exceptions.csv file. Make sure it is in datadir: /config/mylar

Link to comment

Is it possible to set up a request page similar to Plex requests?

I just set up users for some friends and family to access my ubooquity, but it would be nice if they could just request downloads instead of me having to do it for them. I could give them access to my mylar reverse proxy... but I'd rather not..

Link to comment

I've been using Mylar for years now, but I recently just switched to the linuxserver container from another version. For some reason, I am now unable to add comics to my library. I can search for them as usual, but when I select "Add this comic" my browser redirects to the main page rather than the new page for that comics as it is supposed to, and the comic is not added to my database. This is the error I receive in my log. My comic directory is just /comics, as usual, so I can't figure out what the problem is. Any ideas? Thanks!

 

Uncaught exception: Traceback (most recent call last):
File "/app/mylar/mylar/logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/app/mylar/mylar/importer.py", line 62, in addComictoDB
comlocation = os.path.dirname(imported['filelisting'][0]['comiclocation'])
TypeError: string indices must be integers

 

Link to comment
  • 1 month later...
On 3/7/2019 at 6:34 PM, zandrsn said:

I've been using Mylar for years now, but I recently just switched to the linuxserver container from another version. For some reason, I am now unable to add comics to my library.

 

I'm having the same issue, down to the same exception being thrown.  Going to try to checkout earlier commits of Mylar to see if it's a bug introduced recently...

Edited by mouseinthestacks
Link to comment
  • 3 weeks later...

Having issues with mylar as of recently so i posted an issue on their github and this is what the dev said:

Cannot find /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! 
Quote

is repeated several times throughout thay logfile.

You need to update either/both of your python urllib3 and charset modules as they're not of the required build to use the library that mylar uses.

 

Link to comment
3 hours ago, hermy65 said:

Having issues with mylar as of recently so i posted an issue on their github and this is what the dev said:


Cannot find /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! 

 

Yeah, we've got an issue on our Github, we're looking at it.

  • Like 1
Link to comment
On 5/2/2019 at 12:09 PM, hermy65 said:

Having issues with mylar as of recently so i posted an issue on their github and this is what the dev said:


Cannot find /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! 

 

 

Yeah, I'm running into this as well in addition to the cache folder (appdata\mylar\mylar\cache) filling up with a bunch of folders with names like "mylar_mP29Lt".  It completely filled up my cache drive and caused a couple of other containers to stop working until I deleted them all.  That was yesterday.  Today the cache drive (500GB SSD) is half full again.  

Link to comment
On 5/2/2019 at 12:09 PM, hermy65 said:

Having issues with mylar as of recently so i posted an issue on their github and this is what the dev said:


Cannot find /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version! 

 

 

Hermy65,

 

Looking at the issue on the LS github (https://github.com/linuxserver/docker-mylar/issues/33) there is a suggestion that running the following in the container directly will mitigate the issue, at least temporarily:

 

pip uninstall requests

pip install requests

 

I just tried it and it allowed all of the pending comics to be successfully post-processed.

 

 

Link to comment
  • 1 month later...

I trying to get rid of the "ComicRN: Requests module not found on system. I'll revert so this will work, but you probably should install" message by doing the "pip install requests" that has been suggested but get the following.

 

What is the best way to upgrade python (if needed) and if requests is already installed, ideas why I get the error message? Thanks!

 

root@Zack-unRAID:~# docker exec -it mylar bash
root@2269a8929bc0:/# pip install requests
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (2.22.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python2.7/site-packages (from requests) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests) (1.25.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests) (2019.3.9)

 

Link to comment
  • 3 weeks later...

Hey there! I had a question to the group: I have moved over just about every application I had running on separate computers and this is the last one.  I have this up and working happily on unraid and would like to move over the directory from the "old" server. Is there a procedure for copying things over or do I just copy the directories over and call it a day? I guess what I'm worried about is mylar not picking the existing or new existing books up.

 

Any advice?

Link to comment

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.