Mylar 3 on Synology?

Information and Tutorials on features in Mylar and how to use it
WedgeSparda
Posts: 6
Joined: Fri Oct 14, 2016 8:08 am

Re: Mylar 3 on Synology?

Post by WedgeSparda »

Another error is prompted is this
Building wheel for pyinstaller (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /volume1/mylar/env/bin/python3 /volume1/mylar/env/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpor8iikp2
cwd: /tmp/pip-install-gaeycs11/pyinstaller
Complete output (13 lines):
running bdist_wheel
running build
running build_bootloader
Setting top to : /tmp/pip-install-gaeycs11/pyinstaller/bootloader
Setting out to : /tmp/pip-install-gaeycs11/pyinstaller/bootloader/build
Python Version : 3.7.7 (default, Oct 13 2020, 16:40:02) [GCC 4.9.3 20150311 (prerelease)]
Checking for 'gcc' (C compiler) : not found
Checking for 'clang' (C compiler) : not found
Checking for 'icc' (C compiler) : not found
could not configure a C compiler!
(complete log in /tmp/pip-install-gaeycs11/pyinstaller/bootloader/build/config.log)
No precompiled bootloader found. Trying to compile it for you ...
ERROR: Failed compiling the bootloader. Please compile manually and rerun setup.py
----------------------------------------
ERROR: Failed building wheel for pyinstaller
Running setup.py clean for pyinstaller
Failed to build pyinstaller
ERROR: Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly
Look for that too, with no luck either :(
cnewham
Posts: 4
Joined: Mon Oct 12, 2020 10:21 am

Re: Mylar 3 on Synology?

Post by cnewham »

I've definitely got that library on my synology, there won't be a outright package for it as it's a python specific library which you normally bundle with the python installation.

So the question is how on earth did I get that library on my synology lol. So at one point I had every single python package installed both from synology and synocommunity. I've now uninstalled them but for the python3 from synocommunity. I could have got the library through one of those installations but doesn't seem likely. It could also have been picked up from my installation of sabnzbd as I'm pretty sure sab would need to be zlib aware.

Try the following command:
/usr/local/python3/bin/pip3 list

What python modules does this bring back, mine gives me this:

/usr/local/python3/bin/pip3 list
Package Version
------------------------- ---------
altgraph 0.17
appdirs 1.4.3
APScheduler 3.6.3
bcrypt 3.1.7
beautifulsoup4 4.9.3
certifi 2020.6.20
cffi 1.14.0
cfscrape 2.1.1
chardet 3.0.4
cheroot 8.2.1
CherryPy 18.6.0
configparser 5.0.1
cryptography 2.9.2
distlib 0.3.0
feedparser 6.0.1
filelock 3.0.12
httpie 2.2.0
idna 2.9
immutables 0.11
importlib-metadata 1.5.0
importlib-resources 1.4.0
ipaddress 1.0.23
jaraco.classes 3.1.0
jaraco.collections 3.0.0
jaraco.functools 3.0.1
jaraco.text 3.2.0
lxml 4.5.0
Mako 1.1.3
MarkupSafe 1.1.1
more-itertools 8.5.0
msgpack-python 0.5.6
natsort 7.0.1
olefile 0.46
Pillow 6.2.2
pip 20.2.4
portend 2.6
psutil 5.7.0
pyasn1 0.4.8
pycparser 2.19
pycrypto 2.6.1
pycurl 7.43.0.5
Pygments 2.7.1
pyinstaller 4.0
pyinstaller-hooks-contrib 2020.9
pyOpenSSL 19.1.0
pytz 2020.1
PyYAML 5.3
rarfile 4.0
requests 2.24.0
ruamel.yaml 0.16.10
ruamel.yaml.clib 0.2.2
setuptools 50.3.2
sgmllib3k 1.0.0
simplejson 3.17.2
six 1.14.0
soupsieve 2.0.1
SQLAlchemy 1.3.13
tempora 4.0.0
tzlocal 2.1
urllib3 1.25.11
virtualenv 20.0.5
wheel 0.35.1
zc.lockfile 2.0
zipp 3.1.0
zope.interface 4.7.1

A lot of that will have been installed by mylar's requirements but might be worth trying to install each one individually and see if you get a zlib library through it. Use the command to install each module:

/usr/local/python3/bin/pip3 install <module-name>

If that doesn't work then perhaps try installing sabnzbd from synocommunity, there could be something in that packages installation which introduces zlib to the system. You don't have to run sabznbd once it's installed but hopefully it'll give you the library.
WedgeSparda
Posts: 6
Joined: Fri Oct 14, 2016 8:08 am

Re: Mylar 3 on Synology?

Post by WedgeSparda »

Thanks for your help, but didn't work either. Maybe my NAS (213J) doesn't support this. I think is time to get a new one with Docker support.
Oizo
Posts: 72
Joined: Sat Nov 15, 2014 11:53 am

Re: Mylar 3 on Synology?

Post by Oizo »

WedgeSparda wrote: Fri Oct 23, 2020 6:48 pm Thanks for your help, but didn't work either. Maybe my NAS (213J) doesn't support this. I think is time to get a new one with Docker support.
Basically the same here - I'll stay on 2 until I get a new NAS supporting Docker
edoaber
Posts: 6
Joined: Sun Feb 21, 2021 9:44 am

Re: Mylar 3 on Synology?

Post by edoaber »

Hi everyone!
So, I have a Synology DS220+. I just managed to install SABnzbd, Sonarr and Radarr via Docker on it and I thought it would have been fun to try Mylar as well.
I set up the whole thing (following several tutorials) but now it seems that Mylar can't quite access, read and write on 'volume1'.
Here's the infamous log error:
2021-02-21 17:00:52 WARNING Error trying to validate/create directory. Aborting this process at this time.
2021-02-21 17:00:52 WARNING [DIRECTORY-CHECK] Could not create directory: volume1/downloads/comics/Something Is Killing the Children (2019) [[Errno 13] Permission denied: 'volume1']. Aborting
2021-02-21 17:00:52 INFO [DIRECTORY-CHECK] Creating comic directory (0777) : volume1/downloads/comics/Something Is Killing the Children (2019)
2021-02-21 17:00:52 WARNING [DIRECTORY-CHECK] Could not find comic directory: volume1/downloads/comics/Something Is Killing the Children (2019)
2021-02-21 17:00:52 INFO Previous version detected as None - seeing if update required
2021-02-21 17:00:52 INFO Sucessfully retrieved details for Something Is Killing the Children
2021-02-21 17:00:52 INFO Now adding/updating: Something Is Killing the Children
2021-02-21 17:00:50 INFO Attempting to add directly by ComicVineID: 121102
I really can't understand this one! I've looked up everywhere, but I did't find an answer.

Can someone help? Thanks
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mylar 3 on Synology?

Post by evilhero »

Try turning off Enforce Permissions if you have that enabled within Mylar.

You also forgot the leading / before volume so it can't find the path.
edoaber
Posts: 6
Joined: Sun Feb 21, 2021 9:44 am

Re: Mylar 3 on Synology?

Post by edoaber »

Hi! Thanks for the very quick reply!
I tried both but this is the result:
2021-02-21 17:30:08 WARNING Comic ID: 121102 has not finished loading. Nulling some values so things display properly until they can populate.
2021-02-21 17:29:59 WARNING Error trying to validate/create directory. Aborting this process at this time.
2021-02-21 17:29:59 WARNING [DIRECTORY-CHECK] Could not create directory: /volume1/downloads/comics/Something Is Killing the Children (2019) [[Errno 13] Permission denied: '/volume1']. Aborting
2021-02-21 17:29:59 INFO [DIRECTORY-CHECK] Creating comic directory (0777) : /volume1/downloads/comics/Something Is Killing the Children (2019)
2021-02-21 17:29:59 WARNING [DIRECTORY-CHECK] Could not find comic directory: /volume1/downloads/comics/Something Is Killing the Children (2019)
2021-02-21 17:29:59 INFO Previous version detected as None - seeing if update required
2021-02-21 17:29:59 INFO Sucessfully retrieved details for Something Is Killing the Children
2021-02-21 17:29:59 INFO Now adding/updating: Something Is Killing the Children
2021-02-21 17:29:56 INFO Attempting to add directly by ComicVineID: 121102
2021-02-21 17:29:46 INFO Now saving config...
2021-02-21 17:29:46 INFO [COMICTAGGER] Version detected: 1.3.4
2021-02-21 17:29:46 INFO Ignored Publishers: []
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mylar 3 on Synology?

Post by evilhero »

Does /volume1/downloads/comics/ exist already?

The error being returned is an OS error, not specifically relates to Myalr itself. If you don't have enforce permissions enabled, and the /volume1/downloads/comics/ exists, then the user running Mylar doesn't have the authority to create directories beneath the comics directory. Make sure the ownership is correct and that the user has correct permissions (755 or 775 even).
edoaber
Posts: 6
Joined: Sun Feb 21, 2021 9:44 am

Re: Mylar 3 on Synology?

Post by edoaber »

Here's what I did:

Code: Select all

chmod 775 /volume1/downloads/comics
permission for comics is now drwxrwxr-x

and then

Code: Select all

chmod 775 /volume1/downloads
permission for downloads is now drwxrwxrwx+

but here's the log:
2021-02-21 17:55:36 WARNING Error trying to validate/create directory. Aborting this process at this time.
2021-02-21 17:55:36 WARNING [DIRECTORY-CHECK] Could not create directory: /volume1/downloads/comics/Crimson Flower (2021) [[Errno 13] Permission denied: '/volume1']. Aborting
2021-02-21 17:55:36 INFO [DIRECTORY-CHECK] Creating comic directory (0777) : /volume1/downloads/comics/Crimson Flower (2021)
2021-02-21 17:55:36 WARNING [DIRECTORY-CHECK] Could not find comic directory: /volume1/downloads/comics/Crimson Flower (2021)
2021-02-21 17:55:36 INFO Previous version detected as None - seeing if update required
2021-02-21 17:55:36 INFO Sucessfully retrieved details for Crimson Flower
2021-02-21 17:55:36 INFO Now adding/updating: Crimson Flower
Last edited by edoaber on Sun Feb 21, 2021 5:08 pm, edited 1 time in total.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mylar 3 on Synology?

Post by evilhero »

It's saying it can't get past /volume1 so the restriction by the OS is present probably at that directory (either ownership / permissions, or both).
Post Reply