Server is constantly refreshing libraries

Server Version#: 1.32.1.6999
Player Version#: N/A

My server is constantly refreshing its libraries. I checked the logs, and it is picking up changes in my media folders that shouldn’t be changed. This started recently, but I am not sure if with an update (though - probably).

Is anyone else experiencing this?

I am running Arch Linux (x64), fully updated.

As of PMS 1.32.0, PMS is now more sensitive to filesystem changes.

  1. Are you using a download client which writes to the directories PMS is monitoring?
    ( This is the usual issue )

  2. PMS 1.32.0 and above is now sensitive to permission changes (chmod). If you have any sort of automation which fires periodically and shotguns the permissions for your media, PMS will see this and rescan everything.

Oh, that explains it, I am indeed running chmod as a cron job.

I’ll try to figure out a way to work around that - thank you very much!

Have a look → Linux Tips - #26 by ChuckPa which uses don’t match parameters …

find <path> -type d '!' -perm 755 -exec chmod 755 {} ';'
find <path> -type f '!' -perm 644 -exec chmod 644 {} ';'

Very handy for situations like this.

Ah, that’s perfect. Thanks a lot!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.