what do you mean “Manually” ?
There is nothing you should be doing other than:
- Create a PlexData share on any volume in your NAS
- Grant FileStation access permission to any appropriate usernames.
- Restart Plex.
Please show me what you created?
what do you mean “Manually” ?
There is nothing you should be doing other than:
Please show me what you created?
@ChuckPa Oh, interesting. I think we may be talking about two different instances of PlexData.
cd /sharels -l to find symlink PlexData -> ta
This is the PlexData that I changed manually before.
rm PlexDataln -s /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server PlexDataThis is the symlink that reverted back to ta when I checked it again.
When I went to check on this just now, I found the PlexData folder that I believe you are talking about at /share/CACHEDEV1_DATA/PlexData. This one contains a symlink Plex Media Server -> /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server.
What is that first PlexData symlink and why does it keep getting created?
thank you. Now I am understanding.
/share as a common directory for all shared folders./share/PlexData
[~] # cd /share
[/share] # ls -la | grep PlexData
lrwxrwxrwx 1 admin administrators 23 2020-10-18 22:15 PlexData -> CACHEDEV1_DATA/PlexData/
[/share] # ls -la /share/CACHEDEV1_DATA/PlexData/
total 12
drwxrwxrwx 2 admin administrators 4096 2020-10-08 01:00 ./
drwxrwxrwx 46 admin administrators 4096 2020-10-18 11:56 ../
lrwxrwxrwx 1 admin administrators 69 2020-10-08 01:00 Plex Media Server -> /share/CACHEDEV3_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/
[/share] #
To make everything correct again, It looks like you need to:
Plex Media Server
@ChuckPa I followed your directions and corrected the PlexData shared folder. I did not experience a crash after playing music, which was encouraging.
So I created a new music library today and started adding music to it. And just now had 2 crashes in a row (around 3:45pm and around 4:30pm). The second one occurred as I was doing a file system check after the first one happened.
I did not see the NetworkInterface flapping issue you noticed in the last set of logs, but please let me know if you do see something related to that. I’m attaching the logs zip file here. Thank you for your help in continuing to troubleshoot this.
This is starting to become disturbing.
This makes for two incidents of network-related activity.
Do you have the QNAP Diagnostic Tool installed? If not, would you please install it?
The likelihood of a QTS problem here grows with each incident.
Please run all the tests.
Hopefully the Diagnostic tool will provide more insight.
Thanks @ChuckPa. I agree, it is disturbing! From what I understand, the standalone QNAP Diagnostic Tool was deprecated, is the correct? I do have the one available in the Helpdesk app. The options there are:
What do you recommend?
Get in touch with QNAP and tell them what we found.
Although it’s rare, you might have a motherboard problem with the ethernet adapter.
They can best assess that.
As for diagnostics, with everything stopped, run the HDD and memory tests.
@ChuckPa After a number of back-and-forths, QNAP support was not able to find anything wrong with the hardware or anything notable in the logs. I ran Memtest86+ overnight and it completed 4 passes with no errors. Over the last several days, I have added and watched video content on PMS, used various apps hosted in Docker containers, and have experienced no crashes or problems of any kind.
The crashes seem to be specific to PMS music libraries. Please advise.
@ChuckPa I experienced my first crash since earlier in the week. I did add a folder to the music library, whether or not it is related. I’ve been combing through the previous logs and have started seeing a bit of a pattern. Crashes often happen around when PMS is doing a “loudness analysis” on various albums:
Oct 14, 2020 03:16:12.101 [0x7f0958d73700] DEBUG - Jobs: Starting child process with pid 21174
Oct 14, 2020 03:16:12.306 [0x7f096111a700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 21174 is 0 (success)
Oct 14, 2020 03:16:12.306 [0x7f0958d73700] DEBUG - Butler: Scheduling loudness analysis for album 73487.
Oct 14, 2020 03:16:12.306 [0x7f0958d73700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-2cacbdde-21ff-490c-ab1a-b8d74bab3368/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '73487' '--log-file-suffix' ' Deep Analysis'
Oct 14, 2020 03:16:12.306 [0x7f0958d73700] DEBUG - Jobs: Starting child process with pid 21178
Oct 14, 2020 03:16:12.513 [0x7f096111a700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 21178 is 0 (success)
Oct 14, 2020 03:16:12.513 [0x7f0958d73700] DEBUG - Butler: Scheduling loudness analysis for album 73490.
Oct 14, 2020 03:16:12.513 [0x7f0958d73700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-2cacbdde-21ff-490c-ab1a-b8d74bab3368/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '73490' '--log-file-suffix' ' Deep Analysis'
Oct 14, 2020 03:16:12.513 [0x7f0958d73700] DEBUG - Jobs: Starting child process with pid 21182
Oct 14, 2020 03:16:12.718 [0x7f096111a700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 21182 is 0 (success)
Oct 14, 2020 03:16:12.718 [0x7f0958d73700] DEBUG - Butler: Scheduling loudness analysis for album 73493.
Oct 14, 2020 03:16:12.718 [0x7f0958d73700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-2cacbdde-21ff-490c-ab1a-b8d74bab3368/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '73493' '--log-file-suffix' ' Deep Analysis'
Oct 14, 2020 03:16:12.719 [0x7f0958d73700] DEBUG - Jobs: Starting child process with pid 21186
Oct 14, 2020 03:16:12.924 [0x7f096111a700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 21186 is 0 (success)
Oct 14, 2020 03:16:12.924 [0x7f0958d73700] DEBUG - Butler: Scheduling loudness analysis for album 73499.
Oct 14, 2020 03:16:12.924 [0x7f0958d73700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-2cacbdde-21ff-490c-ab1a-b8d74bab3368/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '73499' '--log-file-suffix' ' Deep Analysis'
Oct 21, 2020 05:49:19.441 [0x7f9ae4aee700] DEBUG - Jobs: Starting child process with pid 20104
Oct 21, 2020 05:49:19.675 [0x7f9b66223700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 20104 is 0 (success)
Oct 21, 2020 05:49:19.675 [0x7f9ae4aee700] DEBUG - Butler: Scheduling loudness analysis for album 78620.
Oct 21, 2020 05:49:19.675 [0x7f9ae4aee700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-c91262ca-b8c8-48af-b11d-d5e2794cf70d/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/e774ef6-3418-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '78620' '--log-file-suffix' ' Deep Analysis'
Oct 21, 2020 05:49:19.676 [0x7f9ae4aee700] DEBUG - Jobs: Starting child process with pid 20107
Oct 31, 2020 05:00:19.918 [0x7f81e62b3700] DEBUG - Jobs: Starting child process with pid 22529
Oct 31, 2020 05:00:20.156 [0x7f8265d47700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 22529 is 0 (success)
Oct 31, 2020 05:00:20.158 [0x7f81e62b3700] DEBUG - Refreshing GUID: 'com.plexapp.agents.plexmusic://gracenote/artist/05C1098E05CF190B?lang=en'
Oct 31, 2020 05:00:20.158 [0x7f81e62b3700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051
Oct 31, 2020 05:00:20.159 [0x7f81e65a1700] DEBUG - Request: [127.0.0.1:54554 (Loopback)] GET /system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051 (2 live) GZIP Signed-in
Oct 31, 2020 05:00:20.159 [0x7f81e65a1700] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051
Oct 31, 2020 05:00:20.159 [0x7f81e65a1700] DEBUG - HTTP requesting GET http://127.0.0.1:38798/system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051
Oct 31, 2020 05:00:20.166 [0x7f81e65a1700] DEBUG - HTTP 200 response from GET http://127.0.0.1:38798/system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051
Oct 31, 2020 05:00:20.166 [0x7f81e65a1700] DEBUG - [com.plexapp.system] HTTP reply status 200, with 968 bytes of content.
Oct 31, 2020 05:00:20.166 [0x7f8255fd7700] DEBUG - Completed: [127.0.0.1:54554] 200 GET /system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051 (2 live) GZIP 7ms 752 bytes
Oct 31, 2020 05:00:20.166 [0x7f81e62b3700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/system/agents/update?mediaType=8&force=1&periodic=1&respectTags=1&guid=com%2Eplexapp%2Eagents%2Eplexmusic%3A%2F%2Fgracenote%2Fartist%2F05C1098E05CF190B%3Flang%3Den&id=67051
Oct 31, 2020 05:00:20.167 [0x7f81e62b3700] ERROR - Error response for update: 5 (Unhandled exception).
Oct 31, 2020 05:00:20.167 [0x7f81e62b3700] DEBUG - Butler: Scheduling loudness analysis for album 107338.
Oct 31, 2020 05:00:20.167 [0x7f81e62b3700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-b89e0e23-3e69-44b6-b81d-370eea4079b1/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/02cff92-3522-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '107338' '--log-file-suffix' ' Deep Analysis'
Oct 31, 2020 05:00:20.167 [0x7f81e62b3700] DEBUG - Jobs: Starting child process with pid 22538
These are the entries immediately before the system crashes. This latest one is interesting, with the error that occurred right before. Are those requests to get album information? This last time I hadn’t done a music library scan before adding the music folder, in fear of experiencing another crash (which happened anyway).
Does this pattern seem relevant to you? Thank you for your help.
Yes, That pattern is familliar.
Suspecting it was performing loudness analysis and crashed is very interesting.
There was a case reported, and reproduced by engineering, just last week.
They see it crash but have not yet figured out why.
Might you be able to isolate which file(s) is/are causing it?
If you can,
@ChuckPa Any update on debugging the loudness analysis?
I decided to completely uninstall and re-install Plex to see if that could resolve some of the issues and rebuilding the libraries, etc. However, I am still experiencing crashes when the loudness analysis begins running:
Nov 17, 2020 02:05:39.662 [0x7fc762e56700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' exit code for process 24383 is 0 (success)
Nov 17, 2020 02:05:39.662 [0x7fc731fc5700] DEBUG - Butler: Scheduling loudness analysis for album 16294.
Nov 17, 2020 02:05:39.662 [0x7fc731fc5700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-5fc3974d-cd3a-46e7-9e66-75fb90e142d9/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/02cff92-3554-linux-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Media Scanner' '--analyze-loudness' '--force' '--item' '16294' '--log-file-suffix' ' Deep Analysis'
Nov 17, 2020 02:05:39.662 [0x7fc731fc5700] DEBUG - Jobs: Starting child process with pid 24392
This was the last entry before the crash.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.