@boboki said:
I am in no way at all concerned with the internal ips, this is a quick sandbox environment that once I get functional I will then rebuild in my production. All IPs, data, servernames, etc will all change after I go prod.
Here is the feedback from bash after running the export which did require me to run it in quotes
Are you sure that the FS mount is working correctly? Can you see the file /mnt/Media/Requests/Movies - Requests/...?
You can see it got the same error, but if I just do a simple copy of that file from both server and transcode server both of them have no issues copying the file.
I also verified the permissions are set to 777 on those files. I copied a movie into the /tmp file on both servers, added a Library pointing to it, then tried to play it. Copied the manual export command and ran it on the transcoder as well, and got same error message of no such file or directory.
How about /opt/plex/tmp? The error means that some file/directory is not available on the transcode host. Go through the command and test for every file and directory.
Iām getting a 401 error when using prt sessions. Aside from that this script is amazing. Any pointers? Network discovery is enabled and login without auth is set for my ip range.
Iām getting a 401 error when using prt sessions. Aside from that this script is amazing. Any pointers? Network discovery is enabled and login without auth is set for my ip range.
Only one that seems off, connection wise, is PLEX_MEDIA_SERVER_TMPDIR=/tmp but I did verify the transcoder temp path in the PMS is set to /opt/plex/tmp via the web console.
^^ are all the dir listings from the transcode box logged in as plex user
Attached an image of the putty session post command run.
Ahh, it canāt connect to PMS. You need to make sure that 127.0.0.1 is allowed to connect without authentication. You can do this in the server settings for PMS.
Iāve removed the PIN on my account and added 127.0.0.1/255.255.255.255 to the access without auth then restarted my mediaserver but the issue persists. Any ideas? Itās probably just something dumb on my end.
@LightSpeedTaco said:
Iāve removed the PIN on my account and added 127.0.0.1/255.255.255.255 to the access without auth then restarted my mediaserver but the issue persists. Any ideas? Itās probably just something dumb on my end.
@LightSpeedTaco said:
Iāve removed the PIN on my account and added 127.0.0.1/255.255.255.255 to the access without auth then restarted my mediaserver but the issue persists. Any ideas? Itās probably just something dumb on my end.
OK, seems like this is an issue. Iāll update the code to use a Plex token.
@LightSpeedTaco said:
Iāve removed the PIN on my account and added 127.0.0.1/255.255.255.255 to the access without auth then restarted my mediaserver but the issue persists. Any ideas? Itās probably just something dumb on my end.
Try checking out the latest commit. Itāll prompt you for you Plex username and password so that it can get an auth token.
@LightSpeedTaco said:
Iāve removed the PIN on my account and added 127.0.0.1/255.255.255.255 to the access without auth then restarted my mediaserver but the issue persists. Any ideas? Itās probably just something dumb on my end.
Try checking out the latest commit. Itāll prompt you for you Plex username and password so that it can get an auth token.
It works like a charm! Thanks for your continued hard work and support. Enjoy the 20 dollar donation
Only one that seems off, connection wise, is PLEX_MEDIA_SERVER_TMPDIR=/tmp but I did verify the transcoder temp path in the PMS is set to /opt/plex/tmp via the web console.
^^ are all the dir listings from the transcode box logged in as plex user
So, well spotted on that PLEX_MEDIA_SERVER_TMPDIR , thatās from he PMS people being horrific with their approach to setup in PMS n Linux. Thereās actually 3 seperate areas they use for encoding and the one in the web interface ONLY applies to live stream transcoding. That one youāve spotted there is for syncing & audio fingerprinting. The PMS coders are very sloppy with their variables n not very friendly with their coding for third parties. Iāve changed that variable to the same as the stream transcoder area /opt/plex/tmp.
That however wonāt solve your issue as youāve overlooked what the issue actually is. I canāt copy n paste on my phone for some reason but look at your output, the last few lines when itās talking about your transcode session progress url⦠Youāll see thereās something amiss with itā¦it has the port & path but no IP address. Itās a web link, they donāt work without a server address i.e. An IP address. Have a look at mine here -
Tried the log levels and the error message remains not changed and still no prt.log exists on the transcode box. I tried changing all the paths I could find to the correct ālinux listedā way shown below:
No change in that either, still same no such dir error. I also tried to replace the /tmp lines with /opt/plex/tmp and also tried to add a ip addrerss to the bottom http progress url, no change in error.
@boboki said:>
No change in that either, still same no such dir error. I also tried to replace the /tmp lines with /opt/plex/tmp and also tried to add a ip addrerss to the bottom http progress url, no change in error.
You shouldnāt wrap the whole command in double quotesāthatās why you are seeing the No such file or directory error. Copy and paste this exactly (make sure you are running this at the plex user):
Went back and edited those out. Ok, so I did it without quotes and here are the errors that came up:
bash: export: `Support/Plex': not a valid identifier
bash: export: `Server/Cache/': not a valid identifier
bash: export: `Support/Plex\': not a valid identifier
bash: export: `Media\': not a valid identifier
bash: export: `Server/Codecs/ecd8c57-1099-linux-ubuntu-x86_64/': not a valid identifier
bash: cd: /opt/plex/tmp/plex-transcode-upsxxkkpwek9yh64ku0xxn7b9-954b5213-ac90-4994-bf66-a7b4622a0d9c: No such file or directory
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
@boboki said:
Went back and edited those out. Ok, so I did it without quotes and here are the errors that came up:
bash: export: `Support/Plex': not a valid identifier
bash: export: `Server/Cache/': not a valid identifier
bash: export: `Support/Plex\': not a valid identifier
bash: export: `Media\': not a valid identifier
bash: export: `Server/Codecs/ecd8c57-1099-linux-ubuntu-x86_64/': not a valid identifier
bash: cd: /opt/plex/tmp/plex-transcode-upsxxkkpwek9yh64ku0xxn7b9-954b5213-ac90-4994-bf66-a7b4622a0d9c: No such file or directory
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Alright, somethings are messed up here. First off, because the transcode session is no longer active the temporary folder used for the transcode is missing. First, letās create it:
The first 5 errors you are seeing, bash: export: ... not a valid identifier, means that the string is not being quoted properly. Make sure that this is being copied and pasted correctly: