Plex AutoScan Highly Recommended - v2 | PlexGuide.com

Plex AutoScan Highly Recommended - v2

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

doob

Administrator
Project Manager
Jun 7, 2020
852
450
is the folder under /opt/appdata created ?
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
so the bash script do create folder ...
do you run it a user or root user ??
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
hmm ... thats weird ...
Post automatically merged:

There's no folder so I don't think it's creating it. Yes, I run "sudo bash pgscan.sh"
switch to discord ...
 

benjamato1

Citizen
Donor
Feb 1, 2020
8
0
I've not tried using this yet, but in reading the issues some are having, it sounds like a permissions issue for the new folders/files being added to unionfs (/mnt/move) to be read by the pgscan utility. Probably related to whether pg was installed as root or with sudo originally. Maybe try manually changing permissions on unseen files or use set higher permission options in sonarr/radarr on the media management page to see if it makes a difference.
 

avpnut

Citizen+
Feb 7, 2019
25
3
So I coded the pgscan ( plexautoscan part ).
Its pretty simple

Press 1 = it wil read the plex Preference file and curl the plex token!!
Pas Config missing = its shows only that plexautoscan is not installed!!

Just go the way what @homer8798 say and all is working

Don't edit the config json or any else .. ths script does all allone

For user they want plexautoscan for drive monitoring

Read the docs before from l3uddz and the docker owner
Post automatically merged:



Remove the plexautoscan again and start fresh

Remove and redeploy it over the pgscan.sh

Be sure you do all steps dont miss any steps!!!
And don't edit the config.json file!!

On radarr and sonarr

You must do follow :

Settings > connections > webhooks >

On Import = YES

On Upgrade = YES

On Rename = TES


copy and.past the Webhook and test it

go to portainer > local > container > plexautoscan > logs and see the test part

When this works .. all works ..

Well done

I destroyed the docker and deleted the following directories:

/opt/appdata/pgscan
/opt/plexguide/menu/pgscan

i redownloaded the zip file from this thread and followed what you said to do and did not modify the config. it deployed and the webpage for it works. I got a successful test in sonarr but sonarr is still not triggering when it downloads something new.

anything else i can try?
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
I destroyed the docker and deleted the following directories:

/opt/appdata/pgscan
/opt/plexguide/menu/pgscan

i redownloaded the zip file from this thread and followed what you said to do and did not modify the config. it deployed and the webpage for it works. I got a successful test in sonarr but sonarr is still not triggering when it downloads something new.

anything else i can try?

When im back @ home

You can ping me on discord.

In maybe 4h am back
 
  • Like
Reactions: 1 user

avpnut

Citizen+
Feb 7, 2019
25
3
When im back @ home

You can ping me on discord.

In maybe 4h am back
I figured out the problem, mine is a specific situation. sonarr,radarr,lidarr and nzbget all live on a seperate box. the current setup you have in the files only work for those on the same box as the plexautoscan container. I disabled portguard on plexautoscan only and set cloudflare to dns only on plexautoscan and it works now. I did no t have to disable traefik on the plexautoscan container to get it working.

I am going to try and figure out how to get it to work with both portguard and proxied by cloudflare as i want the connections to be secure. Any help in getting it working would be much appreciated.

thank you for your knowledge and expertise doob!
 

timetrex

Elite
Staff
Oct 22, 2018
219
56
I figured out the problem, mine is a specific situation. sonarr,radarr,lidarr and nzbget all live on a seperate box. the current setup you have in the files only work for those on the same box as the plexautoscan container. I disabled portguard on plexautoscan only and set cloudflare to dns only on plexautoscan and it works now. I did no t have to disable traefik on the plexautoscan container to get it working.

I am going to try and figure out how to get it to work with both portguard and proxied by cloudflare as i want the connections to be secure. Any help in getting it working would be much appreciated.

thank you for your knowledge and expertise doob!
Strange, I have radarr and co installed on GCE instance. Plex with autoscan installed on my main server. Both Plex, auto scan, radarr etc are all proxies through CF with all ports closed. Works fine.
 

avpnut

Citizen+
Feb 7, 2019
25
3
Strange, I have radarr and co installed on GCE instance. Plex with autoscan installed on my main server. Both Plex, auto scan, radarr etc are all proxies through CF with all ports closed. Works fine.
i have the same situation. i am using gce for my downloading with radarr,sonarr,lidarr,nzbget and hydra. my plex server and plexautoscan are located on a dedicated server that is seperate.

did you use the zip file in this thread to install the docker container?
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
So i edit the files again

For reading pms-docker and for LSIO docker

For plex-docker its need 1 edit !!

Code:
PLEX_SUPPORT_DIR - Location of Plex "Application Support" path.

Native Install: "/var/lib/plexmediaserver/Library/Application\\ Support"
Docker Install: Path within the container. Depends on the Docker image being used.

plexinc/pms-docker

"/var/lib/plexmediaserver/Library/Application\\ Support"

'linuxserver/plex :
"/config/Library/Application\\ Support"
The repo is online here
Code:
https://github.com/doob187/plexautoscan
Post automatically merged:

I cannot get it to scan. This is the readout from the portainer log.View attachment 4658
See the latest post
 
  • Like
Reactions: 1 user

timetrex

Elite
Staff
Oct 22, 2018
219
56
i have the same situation. i am using gce for my downloading with radarr,sonarr,lidarr,nzbget and hydra. my plex server and plexautoscan are located on a dedicated server that is seperate.

did you use the zip file in this thread to install the docker container?
Yeah, just extracted the file to opt/plexguide/menu

Then ran the script and added webhooks

That was it.
 
  • Like
Reactions: 1 user

avpnut

Citizen+
Feb 7, 2019
25
3
So i edit the files again

For reading pms-docker and for LSIO docker

For plex-docker its need 1 edit !!

Code:
PLEX_SUPPORT_DIR - Location of Plex "Application Support" path.

Native Install: "/var/lib/plexmediaserver/Library/Application\\ Support"
Docker Install: Path within the container. Depends on the Docker image being used.

plexinc/pms-docker

"/var/lib/plexmediaserver/Library/Application\\ Support"

'linuxserver/plex :
"/config/Library/Application\\ Support"
The repo is online here
Code:
https://github.com/doob187/plexautoscan
Post automatically merged:


See the latest post

i downloaded and tried this and i get this error trying to start the docker container

Traceback (most recent call last):
File "/opt/plex_autoscan/scan.py", line 65, in <module>
conf.load()
File "/opt/plex_autoscan/config.py", line 250, in load
cfg, upgraded = self.upgrade_settings(json.load(fp))
File "/usr/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid \escape: line 46 column 52 (char 1444)
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
Can you share your config.json
( remove critical informations )
@avpnut
 

doob

Administrator
Project Manager
Jun 7, 2020
852
450
What image you run for plex *?*
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending