**RESOLVED** DISABLE IPv6 || Metadata not downloading / No Metadata folder generated

DISABLING IPv6 in my network adapter properties resolved my metadata issue.

@Sejian said:
Notice me senpai.

I’ve been unable to get metadata for the past few days, thought it was specific to a new file I added but after deleting my data, reinstalling Plex Media Server 1.9.2.4285, 1.9.7.4460 and 1.10.0.4523 and deleting Plex registry entries I now know it’s not the file. I’ve also tried generating a new data folder on my main SSD under C:\ and adding media files from multiple drives, including my main SSD.

My main changes recently was to swap my secondary drive and regenerate my data folder on it (Plex worked fine up til then at least) and I installed MS Office.

What can I do here?

Also, when is the issue of FLAC incorrect sync (from Windows 10 to Android) going to be addressed or even discussed?

me too - message saying that metadata loading, but no pictures after all

@Дрегводастер said:
me too - message saying that metadata loading, but no pictures after all

Okay, so it’s not just me. I feel less stupid now. I thought I broke it. XD

The hard drive where you tell Plex to make the metadata folder
it must be a local drive
it must be formatted with the NTFS file system (no, ReFS, exFat or Fat32 won’t work)

@OttoKerner said:
The hard drive where you tell Plex to make the metadata folder
it must be a local drive
it must be formatted with the NTFS file system (no, ReFS, exFat or Fat32 won’t work)

It is a local drive and it is formatted as NTFS.

I’m am working off of an ASUS G750JM which has a secondary drive bay. I replaced my 1TB 7200 RPM mechanical drive for a 1TB 5400 RPM mechanical to reduce heat. My Plex data folder has been located on my 1TB secondary for months. After the swap to the 5400 RPM drive maybe a week ago, I generated a new data folder without any issues. I only noticed this problem with metadata maybe 3 days ago when I added a new video file to the library and it wouldn’t pull metadata. I checked for the entry on the online DB and it’s there, and after some fiddling, that’s when I deleted the whole data folder because I thought it got corrupted since I was testing the performance of playing audio files off an external drive connected to my router, but now Plex won’t pull metadata for anything. It creates every other folder except the Metadata folder. I hope that cleared up the confusion.

Have you inspected log files yet?

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 2 minutes
  6. either refresh one movie or add one movie into your library
  7. wait 3 minutes
  8. fetch log files and attach them here

btw, I’m not on Windows, I’m on Ubuntu 16.4
same steps to do?

Logs attached

@Дрегводастер said:
btw, I’m not on Windows, I’m on Ubuntu 16.4

Since this is Linux, and I see a lot of errors ib the logs, I’d like to ask @ChuckPA for his opinion on that.

I for one will wait for @Sejian 's log files.

@OttoKerner

Log files as requested. What are we looking at/for? I browsed through them earlier but couldn’t make heads or tails. Doesn’t help that I’m sick and unable to focus. x3

@Дрегводастер said:
btw, I’m not on Windows, I’m on Ubuntu 16.4
same steps to do?

I have looked at your first set of logs. They are significant;y different from your first set.

1 It appears user plex does not properly own it’s data directories or permissions have been arbitrarily changed.

Dec 03, 2017 23:52:36.976 [0x7f4b16847800] ERROR - CERT: Found a certificate, but couldn't install it.
Dec 03, 2017 23:52:36.977 [0x7f4b16847800] ERROR - Couldn't delete the file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/certificate.p12: Permission denied
Dec 03, 2017 23:52:36.977 [0x7f4b16847800] ERROR - Couldn't delete the file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/ca.crt: Permission denied
Dec 03, 2017 23:52:36.977 [0x7f4b16847800] ERROR - Error reading file [/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/relayHostKey.txt].
Dec 03, 2017 23:52:36.977 [0x7f4b16847800] DEBUG - Relay: read 0 cached entries from hosts file
Dec 03, 2017 23:52:36.977 [0x7f4b16847800] DEBUG - CERT: Unable to parse existing certificate, fetching a new one.

To correct this:

sudo sh
service plexmediaserver stop
chown -R plex:plex /var/lib/plexmediaserver
find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;
service plexmediaserver start

In your second set of logs, your network interfaces have problems.

Dec 03, 2017 20:07:25.597 [10616] DEBUG - HTTP requesting GET https://plex.tv/users/account.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Dec 03, 2017 20:07:25.602 [11188] DEBUG - NetworkInterface: ignoring adapter 'Wi-Fi' (fe80::f48e:2b3:4105:5d6d%11,169.254.93.109) because it has no gateway
Dec 03, 2017 20:07:25.602 [11188] DEBUG - NetworkInterface: ignoring adapter 'Local Area Connection* 1' (fe80::f1a5:f9be:777a:9da3%6,169.254.157.163) because it has no gateway
Dec 03, 2017 20:07:25.602 [11188] DEBUG - NetworkInterface: ignoring adapter 'Ethernet 2' (fe80::95ae:e55d:3932:e344%13,169.254.227.68) because it has no gateway
Dec 03, 2017 20:07:25.602 [11188] DEBUG - NetworkInterface: ignoring adapter 'Bluetooth Network Connection' (fe80::d171:929:1ce6:14a1%17,169.254.20.161) because it has no gateway
Dec 03, 2017 20:07:25.602 [11188] DEBUG - NetworkInterface: ignoring adapter 'Loopback Pseudo-Interface 1' (::1,127.0.0.1) because it has no gateway
Dec 03, 2017 20:07:25.603 [11188] DEBUG - Network interfaces:
Dec 03, 2017 20:07:25.603 [11188] DEBUG -  * 16 {CF02AB35-E5B8-4EF9-9D77-632281BD389C} (192.168.100.2) (loopback: 0)
Dec 03, 2017 20:07:25.603 [11188] DEBUG - Creating NetworkServices singleton.

PMS requires IPv4. Specifically, the loopback adapter is IPv4 127.0.0.1 and not IPv6 ::1:127.0.0.1. Additionally, all metadata servers respond to IPv4 not IPv6.

I strongly recommend you do the following.

  1. Disable IPv6 in PMS (settings -server - network)
  2. Correct your host network configuration to make IPv4 the primary protocol. Disable IPv6 there unless you are required to use it.

Changed ownership and permissions as suggested
IPv6 disabled in GRUB - GRUB_CMDLINE_LINUX=“ipv6.disable=1”, also all IPv6 records removed from /etc/hosts
started service, will let it run for some time and will try to refresh metadata
will post results later

Yes, all come back to normal.
Thanks a lot for your advice

@Sejian said:
Log files as requested.

Disable IPv6 support as recommended by ChuckPA above.
Your logs don’t look too bad.
In fact, I can hardly find any errors at all.

Is your drive C: without errors? Let Windows do a thorough CHKDSK run.
Have you ever started PMS ‘As Administrator’? (you never should)
What type of Anti Virus are you using? Define an exemption so your plex data folder C:\Users\SEJIAN\AppData\Local\Plex Media Server\ is left alone.
Which web browser are you using? Do you have any extensions installed to suppress ads etc?

Yes.
No. Maybe once, a long, long time ago.
Done.
Chrome with ABP and uBlock Origin. Both disabled for Plex.

Disable IPv6 support as recommended by ChuckPA above.
Apparently this did it. Why did this do it? IPv6 has been enabled since before I started using Plex.

@AmazingRando24 said:
[…] there is a checkbox for IPv6. From what I understand, it’s less stable.
Well that answers that. This is one of those less stable moments. Ok!

So about that…

Also, when is the issue of FLAC incorrect sync (from Windows 10 to Android) going to be addressed or even discussed?
Is it just a Windows 10 issue? I’ll try it later, since I’ve disabled IPv6. I’ve been considering a 7 and 10 dual boot so I can finally utilize my Plex Pass. At least until I’m able to buy a Nighthawk or build a dedicated rig. @OttoKerner @ChuckPA