Synology DS209+ uPNP Re-indexing media files (fixed)

After contacting Synology support they confirmed that this is a known bug and they logged into the system and now after going into the management interface and clicking “Re-index” it has worked.  I can once again see the media files via the uPNP & the PS3.

Waiting to hear back from the support team what the problem was and how it can be fixed in the future without having to contact them.

It appears to be with the postgresql database server, which, for some reason was killed shortly after poweron:

Apr  2 17:29:27 kernel: Out of memory: kill process 2320 (postgres) score 17669 or a child
Apr  2 17:29:27 kernel: Killed process 2323 (postgres)

Then the index daemon had similar issues:

Apr  2 17:30:45 kernel: Out of memory: kill process 2490 (synoindexd) score 6426 or a child
Apr  2 17:30:45 kernel: Killed process 2490 (synoindexd)
Apr  2 18:16:34 dms: pgsql.c (133) Failed to re-connect to (null), user: admin, db:mediaserver. (could not connect to server: No such file or directory ^IIs the server running locally and accepting ^Iconnections on Unix domain socket “/tmp/.s.PGSQL.5432”? )

I hope Synology support can suggest a fix for the future, or, firmware update.

In the below forum posts there are two suggestions on how to possibly fix the problem.  The suggestion of moving the files, disabling upnp, re-enabling and moving the files back sounds like the better solution, but, I haven’t tested either yet as Synology appears to have fixed the issue on my machine.

Update:  It turns out that a media file was causing the indexing process of the ds209+ to use a lot of memory and crash… causing the ds209+ not to display any media via uPNP.  The media was renamed and machine rebooted and then it re-indexed fine.


Synology DS209+ uPNP Re-indexing media files

Running a Synology 209+ with DSM 2.1-0832 to stream video to PS3.

Video streaming was working fine and then one night can’t stream via uPNP to playstation as no files were listed.  On the 209+ interface under uPNP it was saying: Re-indexing media files

Appears to have been like that for quite some time and wasn’t resolving it self.

Upgraded the PS 3 from version 2.60 to 2.70 which was just released (not updated on their website yet) but that didn’t help.

Looking on the Synology forums it appears that a number of people have had the same issue so I checked to see if there is new firmware for the 209+.

Upgraded 209+ from DSM 2.1-0832 to DSM 2.1-0839

It worked!  Whilst the interface for the 209+ was showing “Rebooting” for 5 minutes the PS3 picked up the videos via uPNP and could play them for a bit… until playback stopped and had to reboot the PS3 to get it back to normal.

After reboot went back to media servers and searched again and couldn’t find the disk station this time. Scanned a second time and the 209+ was picked up.

But…. once again “Re-indexing media files…”.  Looking for a resolution.