PlexData share for QNAP systems

Sorry I was away from the keyboard a bit.

Unfortunately, QNAP seems to be one of those which benefits from restarting.
I never figured out why.

Hi, I was using PMSLibShare for easy access to Plex in File Manager and just updated to the latest version of Plex and like some others got the following message.

WARNING: Could not create PlexData share. Further assistance is available in our Support Forums. Continuing without.

Based on info in this thread I stopped Plex, removed PlexData share (Volume column was blank), recreated it (Volume column populated) and started Plex without getting error.

So now I have two shares pointing to Plex …

image

Seems there is no sense in having two shares pointed at the same folder, how would I safely remove the one named Plex installed by PMSLibShare that shows 15 GB?

To remove the one created by PMSLibShare, Remove the share but DO NOT check the box to delete the contents. You want the underlying data to remain.

The error you get about creating the PlexData share is a problem which I’ve never resolved for all QNAP models. For some it works but on others, and apparently yours too, it generates an error.

Effective in PMS 1.20.2, I will no longer attempt to create the share. Further, you have the ability to completely disable PlexData entirely.

I can give you the plex.sh code now if you want it and you can disable PlexData and stay with what you have.

The choice is yours.

Put me down as someone else who upgraded to 1.20.1, encountered the PlexData error, deleted and readded the share, restarted Plex and was operational again (I did reboot my QNAP too, so maybe that helped).
Thanks to all for documenting an easy to follow solution.

1 Like

Rebooting the QNAP seems to be the biggest benefit here.
I have NO idea why.

I’m going to bring this all up in my next meeting with them but it seems this version of QTS is not closing the ports fast enough.

Thank ChuckPa, was able to safely remove the share created by PMSLibShare as per your instructions.

I’m trying to add PlexData share but it says it already existed. I stopped PMS and rebooted the NAS and it continues to exist.

, but I don’t see it in File Station.

@Hypnosis4u2nv

Go to Control Panel - Shared Folders to operate on shares, not File Station.

Unfortunately the same error even in that section.

You do not have a PlexData shared folder already in the shared folders list?
You might have a directory on CACHEDEV1_DATA named “PlexData”.
Please check.

While in at the shell (if that’s what you need to do), check to see if QTS is still hung up on something .

[/etc] # grep PlexData *
afp.conf:[PlexData]
afp.conf:path = /share/CACHEDEV1_DATA/PlexData
grep: krb5.conf: No such file or directory
grep: mdadm.conf: No such file or directory
rsyncd.conf:[PlexData]
rsyncd.conf:path = /share/CACHEDEV1_DATA/PlexData
smb.conf:[PlexData]
smb.conf:path = /share/CACHEDEV1_DATA/PlexData
smb.conf:shadow:basedir = /share/CACHEDEV1_DATA/PlexData
[/etc] # 

If there is no existing PlexData , the grep command will return nothing.
If it’s confused - thinking it has something - it will show as /share/PlexData.

If there is something, Restart QTS so it can straighten itself out. (QNAP has problems with this)

@ChuckPa Yes, no shared folder in the folder list. The grep command returns an empty response. I did restart my NAS after shutting down the PMS, this is persisting even on reboot. Notice the error says it has “existed” and not that it exists.

Give me a few minutes please. I’m going to see if I can dig into the QNAP qcli_sharedfolder utility and track where this is coming from for you.

I know QNAP can clear it but this should be something I should also know how to clear out.

We can find out exactly what QTS thinks it knows. :roll_eyes:

qcli -l  user=Username pw=Password 
qcli_sharedfolder -l upper=100
  1. Log into the QCLI subsystem
  2. Obtain the list of shared folders (list the first 100 shared folders – haha)

This may take a bit as the interface is slow. I have 77 shared folders. It took a lot of time for me on this i7 machine.

[/etc] # qcli_sharedfolder -l upper=100
volumeID Size      Folders EncryptData savekey Files  hidden encrypt sharename        
2        270.70 GB 7       0           --      7      no     no      4k               
1        0.00 KB   0       0           --      0      no     no      ChuckPaTEST      
3        26.49 GB  83854   0           --      623885 no     no      Container        
2        243.60 GB 77      0           --      825    no     no      Download         
1        4.86 GB   1       0           --      2      no     no      Friends          
7        1.52 TB   114     0           --      261    no     no      Jim4T            
1        0.00 KB   1       0           --      0      no     no      Multimedia       
2        0.00 KB   0       0           --      0      no     no      PD2              
3        35.09 GB  1690959 0           --      952335 no     no      PLEX-QPKG-DIRECT 
2        344.07 MB 0       0           --      346    no     no      PhotoTest        
1        34.86 GB  1690599 0           --      949367 no     no      PlexData         
1        334.75 MB 5       0           --      7      no     no      Public           
1        0.00 KB   1       0           --      0      no     no      SONARR3_CONFIG   
2        169.91 GB 6       0           --      11211  yes    no      TMBackup         
2        0.00 KB   0       0           --      0      no     no      TestMusic        
1        4.00 KB   0       0           --      1      no     no      Web              
2        1.06 TB   113     0           --      125    no     no      animated         
2        2.59 GB   25      0           --      322    no     no      apple            
2        1.59 TB   92286   0           --      294232 no     no      backup           
2        17.26 GB  232     0           --      923    no     no      bin              
2        69.21 GB  6143    0           --      53065  no     no      cakewalk         
2        103.19 GB 1643    0           --      44798  no     no      chuck            
2        6.69 GB   30      0           --      331    no     no      classical        
2        0.00 KB   0       0           --      0      no     no      debug            
2        4.22 GB   10735   0           --      193345 no     no      dev              
2        6.99 GB   11252   0           --      200535 no     no      devel            
2        2.07 GB   1       0           --      4      no     no      development      
2        72.80 MB  1       0           --      34     no     no      documents        
2        9.41 GB   1       0           --      15     no     no      esxi             
2        1.70 GB   6448    0           --      110392 no     no      gcc              
2        2.37 GB   15      0           --      837    no     no      gdrive           
2        0.00 KB   5       0           --      0      no     no      ghi              
2        35.31 GB  14446   0           --      187291 no     no      git              
2        41.65 MB  12      0           --      7      no     no      homes            
2        3.04 MB   0       0           --      6      no     no      hp8500           
2        2.15 GB   6       0           --      1425   no     no      iphone           
2        4.93 GB   52      0           --      602    no     no      jazz             
2        18.96 GB  3       0           --      38     no     no      jellyfish        
2        0.00 KB   3       0           --      0      no     no      lidarr           
2        25.10 GB  33      0           --      231    no     no      mmg              
2        4.31 TB   316     0           --      438    no     no      movies           
2        5.17 TB   552     0           --      870    no     no      movies2          
2        141.80 GB 1334    0           --      15290  no     no      music            
2        0.00 KB   1       0           --      0      no     no      mymovies         
2        37.81 GB  20      0           --      164    no     no      mytv             
2        33.76 GB  5       0           --      49     no     no      nuc              
2        131.09 MB 3929    0           --      631    no     no      nzbdrone         
2        244.31 GB 1659    0           --      20001  no     no      oldmusic         
2        1.56 GB   5       0           --      1      no     no      optimized        
2        14.59 GB  0       0           --      281    no     no      pfsense          
2        535.81 MB 4       0           --      1205   no     no      photo            
2        29.44 GB  161     0           --      32892  no     no      photos           
2        9.32 GB   1988    0           --      13306  no     no      plexinc          
2        853.68 MB 8       0           --      1240   no     no      primo            
2        1.14 GB   720     0           --      9223   no     no      projects         
2        316.36 GB 6256    0           --      98432  no     no      qa               
2        38.89 MB  18      0           --      190    no     no      radarr           
2        139.77 GB 29      0           --      28     no     no      request          
2        49.14 GB  20      0           --      18     no     no      seasonal         
2        405.64 GB 8183    0           --      40204  no     no      software         
2        68.82 MB  9       0           --      70     no     no      sonarr           
1        0.00 KB   0       0           --      0      no     no      test             
2        60.55 GB  14      0           --      39     no     no      testing          
2        48.15 GB  5       0           --      8      no     no      truenas          
2        3.79 TB   251     0           --      2745   no     no      tv               
2        73.03 GB  29      0           --      848    no     no      tv-nodata        
2        4.06 TB   220     0           --      2367   no     no      tv2              
2        4.86 TB   366     0           --      5129   no     no      tv3              
2        2.46 TB   53      0           --      53     no     no      uhd              
3        30.30 GB  22      0           --      700    no     no      usenet           
2        4.00 KB   1       0           --      1      no     no      users            
2        1.55 GB   1783    0           --      78218  no     no      usrlocal         
2        14.09 GB  23      0           --      61     no     no      videos           
2        479.04 GB 24      0           --      158    no     no      vmhdd            
4        599.32 GB 29      0           --      244    no     no      vmssd            
2        8.78 GB   5260    0           --      88527  no     no      vtmp             
2        0.00 KB   0       0           --      0      no     no      windows          
Total 77 ,Display 1-77 item(s)
[/etc] # 

You can run the command and manually look -OR-

qcli_sharedfolder -l upper=100 | grep -i plexdata

@ChuckPa

qcli -l  user=Username pw=Password authsid=yes
qcli_sharedfolder -l upper=100
Read XML fail, please check QCLI command is correct or network status!

qcli_sharedfolder -l upper=100 | grep -i plexdata
Empty response

Repeat it. I saw the same XML fail the first time. I thought it was me.
This is disturbing. It should not be happening to both of us,

@ChuckPa Tried 3 times, still getting the same error

I got this same error.

I’m no expert but the way I got round it was to stop Plex, delete the share, create a new share then reinstall Plex.

No errors and everything back in it’s place.

There’s no need to reinstall Plex.

  1. Stop Plex
  2. Delete the share
  3. Create the share where you want
  4. Start Plex.

The same commands which exist in the start script also exist in the installation script.

FWIW I got the same error when updating to PMS 1.20.1 on QTS 4.4.3.1400.

Could not do anything with edit or permissions etc. on PlexData share so removed it, added it back in using default, verified Admin had r/w permission.

Restarted PMS and the error did not appear again.

Hi All,
I’ve recently installed Plex Media Server on my QNAP TS-653D NAS.
Upon installing PMS it created a shared folder called “PlexData”.
Initially I couldn’t see the “PlexData” shared folder in File Station until I configured the shared folder permissions. Once I set the permission I could view and browse the shared folder “PlexData” directory in File Station.
I’m now trying to edit the Preferences.xml file stored under /PlexData/Plex Media Server/.
However I keep getting a system message “Permission Denied” every time I try to open the file within File Station using Text Editor.
I’m trying to do this under an administrative user “dan”. I’ve setup all the R/W permission on all the folders/files but to no avail.
I also tried creating a test folder under /PlexData/Plex Media Server/ but I get another permissions error “Unable to perform this action. You do not have enough permissions, or this folder is read-only”.
If I go up a folder level to the root of the share, “/PlexData”, I’m able to add a test folder under the user “dan” no problem, so the issue seems to be with permission setting once I go below /PlexData/Plex Media Server/

If I log-in as the system “admin” user there are no restrictions in File Station and I’m able to edit files, add folders, etc…

Normally I disable the “admin” account and access and configure everything under the administrative user “dan”. This is really baffling me and I’d appreciate some support/advice.

Thanks in advance.