Hello
I have installed Piwigo on a Synololgy NAS in order to index my existing images. For that reason I have softlinked my image folder into Piwigo and added a site that points to that folder. When I synchronize the site I chose "directories only" but a lot of video files are added as directories/categories.
Two examples of a file, using ls -lh is:
-rwxrwxrwx 1 admin users 138M Feb 14 2011 MVI_1013.MOV.mp4
-rwxrwxrwx 1 admin users 14M May 12 2008 ./2005/2005_02_19_odense_pakket/MVI_1392.AVI
Does anybody know how to fix it?
Alternatively if someone can point me to the detection code I can add some debugging (I can program in PHP).
Piwigo 2.10.1 Check for upgrade
Operating system: Linux
PHP: 7.3.7 (Show info) [2019-11-02 18:46:10]
MySQL: 5.5.5-10.3.11-MariaDB [2019-11-02 18:46:10]
Graphics Library: External ImageMagick 6.9.10-27
Piwigo URL: local on my Synology
Hardware:
Name: Synology DS1517+
INTEL Atom C2538
2.4 GHz
Cores: 4
RAM: 8192 MB
Synology DSM 6.2.2-24922 Update 3
Offline
Solved:
Like many other people I have had installed Synologys Photostation which indexes all photos and creates thumbnails which it puts in folders called @eaDir. These folders are not visible via file sharing, only when you log into the box via SSH. Or when Piwigo runs on the box.
Fix: Uninstall Photostation (which most people would have done already when they try out Piwigo):
SSH into the box
cd into the folder in which you have images
Run:
find . -type d -name "@eaDir" -print0 | xargs -0 rm -rv
This will find all directories named @eaDir and delte them, printing the name of each item deleted including files in the folder.
Offline