PlexData share for QNAP systems

I installed the “PlexMediaServer-1.20.0.3125-9661fc77c-armv7hf_neon.qpkg” and still get the same error as before:

Could not create PlexData share (Both Warning and Error).

@Kolchak631

please tell me about your configuration.

  1. MD0_DATA based or CACHEDEV1_DATA based volumes?
  2. Where is PMS installed? (which volume)
  3. QTS version?
  4. What shows in Control Panel - Shared Folders? (you need to hunt if multiple volumes involved).

Lastly,

What happens if you

  1. Create the share manually, yourself, in advance?
  2. Does it then operate correctly?

I have made some changes and placed (uploaded) new packages for testing in the links above (post 52)

Please let me know if these are of any improvement

Hi.

I can see “PlexData” share in control panel -> Shared folders; it shows as having no Volume. I have never seen it before so I assume that was somehow created by 1.19.5?

Regardless, I cannot see it in FileManager in order to create the “Plex media Server” linkage.

Interestingly, in permissions, it was showing Admin as two entries, one as Read-Only and one as Read/Write. I changed the Read-Only to also be Read/Write, hit “apply” and it disappeared, leaving only one entry with Read/Write.

  1. MD0_DATA based or CACHEDEV1_DATA based volumes? - Cachedev1_data
  2. Where is PMS installed? (which volume) - DataVol1
  3. QTS version? - 4.4.1.1216
  4. What shows in Control Panel - Shared Folders? (you need to hunt if multiple volumes involved). - It was there, but no volume listed

I removed the PlexData share and created it myself. I then installed “PlexMediaServer-1.20.0.3125-9661fc77c-armv7hf_neon.qpkg” again. This time it came up with no error (other than the unsigned warning on install).

Rob

Version 1.19.5.3112 installed and PlexData was created in shared folders but the folder was not accessible.

Deleted PlexData share folder and then created a new PlexData share

Stopped and started Plex media server

Plex Media Server folders now appearing in PlexData share

1 Like

Brilliant! …that worked for me as well.

I cannot see Plex media Server from my Mac (the Alias does not work like it does for the “Plex” share created by PMSLibShare), but it works perfectly within QNAP File Station.

Are you using the updated 1.20.0 QPKG file which I uploaded above or the original?

This is important to know because:

  1. I changed the locator mechanism
  2. I changed the default permissions for the share when it’s created. Now:
    a. It’s only visible to an administrator in File Station until you set permissions otherwise
    b. It doesn’t export to the network until you set the permissions for user(s) with access.
    c. Changing the default creation permissions got rid of the creation problems – which I have no idea why QTS is being stupid.

What’s nuts in all this:

  1. I use the same QTS commands as Dane22 does in PMSLibShare.
  2. The only change between his PMSLibShare and my work are:
    a. I create the share on the volume where PMS is installed versus the first volume.
    b. I can follow the QPKG directory as it is “migrated” by QTS to any other volume in the system.

This should not be such a “Cluster ****” as we’re all seeing.

I am on the 1.19.5.3112
I think 1.20.9 is still in beta so I didn’t use it.

[edit: not sure that your question was aimed at me, but thought I should reply anyway as more data is maybe useful]

ALL: I just tested on another QTS system and found an error.

I am pulling the test binaries for now, and uploading fresh.

I have corrected the error. It was hanging in a loop if gpuhal_app was found while trying to evaluate the GPUs onboard. My PlexData correction had fat-fingered the logic . OOOPS . I had to test on 5 different systems before it presented itself.

Is this a more acceptable control mechanism?

  1. Notice the volume listed for the share is now the same volume Plex is installed on.
  2. When first created by me, I assign no permissions to keep your data safe.
  3. You can assign whatever permissions you want.

When I give user admin (any user actually) , access to the share, It becomes visible for them in File Station.

Until that time, nobody has access to it other than Plex itself at the program level.

I do not feel it appropriate to start assigning access permissions to your data. Everyone’s usage is different in some way

If anyone still has any trust in my skills :rofl:

https://drive.google.com/file/d/1m61LBZ08eaGAVaoaxNzBDMfGrFRXCvyH/view?usp=sharing

https://drive.google.com/file/d/1lHVk3J6IB58C0qCulQ049lvHwi69T0HC/view?usp=sharing

https://drive.google.com/file/d/1sJeLu6XbleNTCLvB3Sll_cjKaQOIii3k/view?usp=sharing

https://drive.google.com/file/d/1D_4JLzkONTND7bMMYAmXyRILGcGxCQfE/view?usp=sharing

PS: Yes I did wash off all the :pizza: oil & crumbs :wink:

would you like us to move the PlexData share before installing this version?

I would prefer if you delete it – unless you have other data in it yourself…

It is only a shell to contain the linkage to “Plex Media Server”. That’s the only thing I touch.

The real test is for a “PlexData” share to be created, with no default permissions, without generating any errors.

OK, for me, the latest version PlexMediaServer-1.20.0.3125-9661fc77c-x86_64.qpkg gives me the following:

  • PlexData is created with no permissions
  • Once I have given my self permissions, I can see (from my Mac) an alias to Plex media Server, but clicking on it does not work:
    Screenshot 2020-07-26 at 21.29.34

I should add that my connection from my Mac to my QNAP is over AFP (not SMB).

If you go into the share and set the AFP sharing permissions, does it now show up as you expect?

What I’ve done is back off all permissions completely. When the share is created, it is created with empty permissions. (as if you didn’t set anything in the GUI when creating it)

Also, IIRC, be careful of Apple’s AFP cache.

Hi,

I am not aware (cannot find) and AFP specific sharing permissions. Where are they?

I set the “normal” permissions and can see inside the PlexData folder on my Mac:

…but it shows Plex Media Server as an Alias that does not work (as per the snapshot above).

that is consisten with NFS. NFSD (QNAP side) does not derefence prior to sending.

Now mount it with SMB (which is the Apple default now) and you’ll find it maps correctly

Here is where I show it before exporting NFS (fails), CIFS before and after adding permission

root@lizum:/home/chuck# cd /mnt
root@lizum:/mnt# ll
total 12
drwxrwxrwx  2 root root 4096 Jul 26 14:41  ./
drwxr-xr-x 37 root root 4096 Jun 29 01:05  ../
lrwxrwxrwx  1 root root   69 Jul 26 14:41 'Plex Media Server' -> '/share/CACHEDEV3_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server'
root@lizum:/mnt# mount //192.168.0.21/PlexData /mnt2
Password for root@//192.168.0.21/PlexData:  *************           
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
root@lizum:/mnt# mount //192.168.0.21/PlexData /mnt2
Password for root@//192.168.0.21/PlexData:  *************           
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
root@lizum:/mnt# mount -o username=admin //192.168.0.21/PlexData /mnt2
Password for admin@//192.168.0.21/PlexData:  *************           
root@lizum:/mnt# ls -la /mnt2
total 4
drwxr-xr-x  2 root root    0 Jul 26 14:41  .
drwxr-xr-x 37 root root 4096 Jun 29 01:05  ..
drwxr-xr-x  2 root root    0 Jul 26 16:41 'Plex Media Server'
root@lizum:/mnt# ls /mnt2/Plex\ Media\ Server/
 Cache   Codecs  'Crash Reports'   Diagnostics   Logs   Media   Metadata   plexmediaserver.pid   Plug-ins  'Plug-in Support'   Preferences.xml
root@lizum:/mnt# 

yup - works perfectly!

I did not realise that Mac used SMB as default.

I realize this hasn’t been my usual “works out of the box” but how is this working now?