Plex not working properly on FreeNAS 11.2

Server Version#: 1.13.5.5291
Player Version#: 3.69.1
Server has been installed by a jail in FreeNAS 11.2-BETA3

Hi there! I’ve been having this problem lately. Basically I try to load any .mkv movie and it just keeps buffering forever on PC. On android it loads the added content instantly.

The same goes for Southpark, load on phone. Won’t load on PC. (prob same issue?)

I have tried: Reinstalling Plex entirely, tried different browsers (Default chrome, tried firefox / IE) and still the same problem persist.

I’ve attached the logs of my server. If anyone knows something, I’d be grateful!

Plex Media Server Logs_2018-09-14_09-02-30.zip (454.5 KB)

Your logs indicate that PMS is repacking the file into a mp4 container, since it doesn’t like mkv. It places the temporary transcoder file into a location on your computer. Then I see 404 errors when web tries to read these files. 404 means no file found, which means PMS is not able to write these files.

I’m not familiar with FreeNas but it could be a permission issue with Plex not having correct access to the transcoder folder so it couldn’t create the transcoded output.

Hi there, thanks for replying!

There was indeed a permission error, and the plex server did not have write permissions. I fixed this and conversion now also works.

Now automatic conversion still wont do anything (probably why the SouthPark plugin still won’t play).

So converting the .mkv to a “windows” movie (mp4) made me able to watch it. Downside:

I can que a conversion to mp4, but that means that for every movie I add, I need to que a conversion first.

So there is probably still something wrong with my plex server. Here are some new logs…: Plex Media Server Logs_2018-09-14_15-44-25.zip (824.2 KB)

I don’t understand what you mean. What do you mean by automatic conversion versus the conversion in your previous statement.

We didn’t create the plugin so if this isn’t working, you might want to check with the plugin author to see if they are aware of any issues.

Looking at your log, I see that the transcoder is seeing errors in your original mkv file. I don’t know how you generated that file, but it may have been done incorrectly, which would explain why changing them to mp4 allows them to work. Not sure I can help in this case.

Sorry, let me try to clear things up.

image
“Automatisch converteren” = Automatic conversion, wont work. Probably because of the original mkv file like you said. I will try another valid .mkv and report back.

Changing them to mp4 in this menu (see picture below) alows me to watch the movie after conversion. (sorry for the Dutch :stuck_out_tongue: )
image

Now, automatic conversion doesn’t work with a movie that does play in the browser. I have another movie as an mp4 which plays just fine in any conversion. But wont load anything on “automatic”
image

I’d say this is not that big of a deal, since I can watch the movie just fine. But I’m still worried that something is broken and thats why the automatic conversion won’t work.

Now on the southpark part, I do not see any problems with the plugin, no news about down-time and have tried deleting the plugin and installing again. The plugin does load the videos on my android device via the Plex app.

None of the options of the screenshot below will load the video for me, sadly.
image

Thanks for being so patient with me, im new to Plex an appreciate the effort :slight_smile:

Ok. So the “Automatic Conversion” is the regular transcoding. In that example, the file has a bitrate of 1.4 Mbps, so pretty much any of those setting above 1.4 Mbps will cause the file to do the same thing which is just change from mkv to mp4. If the mkv is bad, this won’t work. Can you try a setting lower than 1.4 and see if that works. If so, it backsup the idea that the original file may have a problem.

The second “conversion” is the media optimizer. This writes out a new file, which is a little different from what it does to stream. This also backsup that the original is bad.

For the South Park issue, I have no idea. There may be a log in the plugins folder for that plugin. Can you check and if there, please upload it.

Getting one of the “bad” .mkv on a lower than 1.4 stream does not work. However, an mp4 file o lower than the 1.4 stream also doesn’t work.

I’ve re-installed Plex again and made sure permissions are setup correctly, which they are:


But the problems keep persisting.

Could it somehow be an internet problem? I’ve noticed metadata also doesn’t get downloaded properly.
image
Plex IS acessible from the outside world tho… I can login to plex.tv and acces my media from external networks.

Southpark is still weird. There is no log in the plugins folder and no indication why it wouldn’t work for me. It works for android >.<
(logs from the new installation is that helps :sweat_smile:)
Plex Media Server Logs_2018-09-15_01-08-15.zip (438.3 KB)

I just noticed that your log says you are running Plex Media Server v1.13.2.5154, but your original post mentioned 1.13.5.5291. Did you roll back to an older version? Either way, can you try updating to the latest version.

I’ve manually installed plex using pkg, that probably made it go to a different version.

I’ve updated again, and applied permissions as the screenshot above. But exactly the same issues are still occuring

The permissions you showed earlier was for your media location. Have you checked the permissions where you installed pms?

Also made sure of that…

wheel is my root group, i’ve also tried plex:plex as owner/group but with no success
image

I am starting to think its an issue with the FreeNAS jails because of a beta build I am using. Small chance but its possible
image

Now Im quite sure something is still wrong with the plex server…

After installing some more plugins they are also encountering errors:
image (this plugin is not reacting)

And agents are not gathering info/subtitles(which I setup and logged in opensubtitles)
image

here are some fresh logs after encountering the errors
Plex Media Server Logs_2018-09-16_20-09-14.zip (502.3 KB)

What is wrong with this server >.< Just cant figure it out!

Okay, so after some intensive searching an alot of installing I figured out that it must be the freenas jailing version, as doing the exact same install method on a VM resulted in a working system, downloading metatags and properly converting videos.

After I found this out, I started going versions back in the jailing system, resulting in one version that still had everything working, and where plex was functional.

So for everyone who has problems with plex syncing, metatags, plugins and more on FreeNAS 11.2. Roll back your Freenas jail version.

The one I used was FreeNAS 11.1-RELEASE. Google how to manually install plex for FreeNAS jail. It’ll be obvious from that point on :slight_smile:

Thanks for all the help :smiley:

This might help: No metadata download - FreeNas 11.2 Iocage Jail

Managed to fix agents not downloading metadata and errors on network play on my FreeNAS 11.2-BETA3 installation by enabling VNET for the plugin jail.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.