Mylar as user...

Derfla76

PG Sergeant
Mar 3, 2018
28
21
8
Reactions
21 0 0
#1
PG Version
6.048
Server Type
Remote - VPS
When Mylar installs the folder is set to user:group 911:911 and all folders it creates are as well. Any way to fix this to use the same user:group settings as all other programs apps

---- Automatically Merged Double Post ----

Found this in the container logs:

Code:
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
Traceback (most recent call last):,
  File "/app/mylar/mylar/logger.py", line 336, in new_run,
Quiet logging mode enabled...,
Initializing startup sequence....,
    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 85, in addComictoDB,
    checkdirectory = filechecker.validateAndCreateDirectory(comlocation, True),
  File "/app/mylar/mylar/filechecker.py", line 1368, in validateAndCreateDirectory,
    if os.path.exists(dir):,
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists,
    os.stat(path),
TypeError: coercing to Unicode: need string or buffer, NoneType found,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] syncing disks.,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
We gratefully accept donations at:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
Traceback (most recent call last):,
  File "/app/mylar/mylar/logger.py", line 336, in new_run,
Quiet logging mode enabled...,
Initializing startup sequence....,
    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 85, in addComictoDB,
    checkdirectory = filechecker.validateAndCreateDirectory(comlocation, True),
  File "/app/mylar/mylar/filechecker.py", line 1368, in validateAndCreateDirectory,
    if os.path.exists(dir):,
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists,
    os.stat(path),
TypeError: coercing to Unicode: need string or buffer, NoneType found,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] syncing disks.,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,-------------------------------------,
          _         (),
         | |  ___   _    __,
         | | / __| | |  /  \ ,
         | | \__ \ | | | () |,
         |_| |___/ |_|  \__/,
,
,
Brought to you by linuxserver.io,
We gratefully accept donations at:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
Traceback (most recent call last):,
  File "/app/mylar/mylar/logger.py", line 336, in new_run,
Quiet logging mode enabled...,
Initializing startup sequence....,
    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 85, in addComictoDB,
    checkdirectory = filechecker.validateAndCreateDirectory(comlocation, True),
  File "/app/mylar/mylar/filechecker.py", line 1368, in validateAndCreateDirectory,
    if os.path.exists(dir):,
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists,
    os.stat(path),
TypeError: coercing to Unicode: need string or buffer, NoneType found,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] syncing disks.,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
[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/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid:    911,
User gid:    911,
-------------------------------------,
,
[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.,
log language set to en_US,
 
Last edited:

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,595
1,944
113
Reactions
1,944 0 0
#4
update to 6.049, fixed. it's good you posted there. saw it drop and made the edit before the 6.049 upgrade :D
 
Nov 9, 2018
27
7
8
Reactions
7 0 0
#6
Thanks and works great.
Hi, works great eh? Mind helping me out then?

I've searched all over for guidance without success
https://plexguide.com/threads/mylar-and-ubooquity-configuration.415/ - looks like not working
https://plexguide.com/wikis/mylar/ wiki entry presumably needs fixing to refer to /mnt/unionfs/comics for comic location?
https://plexguide.com/news/wiki/mylar/ ANOTHER wiki?

I had the issues others reported with missing exceptions.csv and custom_exceptions.csv. Fixed those by "touch filename" to create an empty file. Then Mylar stops reporting errors.

Problems:
1) I assume my comics (stored in gdrive:comics/Live_Comics) are referenced by Config / Settings / Web interface / Comic Location being set to /mnt/unionfs/comics/Live_Comics ??
2) I assume again (nothing in Wiki) that to import existing library I use Manage / Scan Comic Library / Path to Directory being set to /mnt/unionfs/comics/Live_Comics also ??

But when scanning I get nothing actual IN my library despite it finding stuff:

Current Import Status
Number of valid files to process: 4127 / 4169
Files with ComicID's present: 72
Files that were parsed: 4127
Files that couldn't be parsed: 0

Any ideas? Any help would be appreciated!!!

(and I won't even start at the difficulties in linking to my Sabnzbd client!!)
 
Mar 3, 2018
28
21
8
Reactions
21 0 0
#7
Hi, works great eh? Mind helping me out then?

I've searched all over for guidance without success
https://plexguide.com/threads/mylar-and-ubooquity-configuration.415/ - looks like not working
https://plexguide.com/wikis/mylar/ wiki entry presumably needs fixing to refer to /mnt/unionfs/comics for comic location?
https://plexguide.com/news/wiki/mylar/ ANOTHER wiki?

I had the issues others reported with missing exceptions.csv and custom_exceptions.csv. Fixed those by "touch filename" to create an empty file. Then Mylar stops reporting errors.

Problems:
1) I assume my comics (stored in gdrive:comics/Live_Comics) are referenced by Config / Settings / Web interface / Comic Location being set to /mnt/unionfs/comics/Live_Comics ??
2) I assume again (nothing in Wiki) that to import existing library I use Manage / Scan Comic Library / Path to Directory being set to /mnt/unionfs/comics/Live_Comics also ??

But when scanning I get nothing actual IN my library despite it finding stuff:

Current Import Status
Number of valid files to process: 4127 / 4169
Files with ComicID's present: 72
Files that were parsed: 4127
Files that couldn't be parsed: 0

Any ideas? Any help would be appreciated!!!

(and I won't even start at the difficulties in linking to my Sabnzbd client!!)

The fact that Mylar is giving that response means it is finding and seeing your comics. The problem at that point is more a Mylar issue than PG.

That being said, what you pasted there is part 1 of the import process and it can be tricky at best and I won't pretend I know the ins and outs all that well.

There should be a button now present in the lower right hand did to import the results where you can select which titles to import into your Mylar DB/library.

Screenshot_20190112-150042~2.png
Here I input the folder where my comics are pooled. Then select scan and save changes. I believe checking the boxes affect this as well but I never know for sure.

Screenshot_20190112-154721~2.png
Once the scan is complete we should now see the button in the lower right to import the results, and this is what adds them to the library.

Screenshot_20190112-160152~2.png

This should be the next screen that allows you to select the titles that are added.
 
Nov 9, 2018
27
7
8
Reactions
7 0 0
#8
Thanks, that was what I did first time... I think it must be path related so messing with those and see what happens.
 

PG Developer Donations

 

Forum statistics

Threads
2,846
Messages
17,822
Members
5,675
Latest member
nishanthkl92