EDIT: I am currently using piwigo import tree perl file as as substitute and its working, but it doesnt fix the core issue.
erAck wroteAnyhow, does it work if you have a directory /var/www/html/galleries/ and a symlink
/var/www/html/galleries/Arabian_Nights_Baghdad -> /data/piwigo_galleries/Arabian_Nights_Baghdad
the only reason I can't do that is because I have 2000 albums of 50 images each with 20+ albums being added every month. The first 2000 are sorted into alphabetical folders, but the new uploads don't have that luxury. You can see what I'm talking about at my current site here:
https://cardscans.piwigo.com/. (These were all uploaded using the Java uploader so it's never been an issue. They did have to backdate my site so that the java uploader would continue to work)
erAck wroteI'm out of guesses.
So last night I set up a VM running Ubuntu server 22.04 LTS with 2 hard drives (50gb each), 4gb ram, and 4 vCPUs. Set up and mounted one of the drives to /mnt/piwigo
1. Installed ssh, vsftp, and a LAMP stack with apache2, mariadb, and php8.1. Also installed were php-zip, unzip, ImageMagick, and mbstring.
2. Created a new user that is in the sudo and www-data groups so I'm not logging in with root.
3. Set up the database and user for piwigo.
4. wget and unzipped piwigo into the /var/www/html folder. Version 14.3
5. Set up up symlinks for _data, galleries, and upload to corresponding folders in /mnt/piwigo and copied the files from the existing directories into these.
6. Set up permissions for the folders and symlinks for www-data, and chmod g+s on the folders so new files would inherent the www-data group properties.
7. Added the <directory> lines to apache2.conf for /var/www/html
8. Ran the piwigo setup and uploaded via the same techniques: one uploaded with the Java uploader (about 15 of the files didnt actually upload and errored out, this is an issue that has been brought up before and is a known issue with the java uploader currently), and one folder uploaded with ftp.
Ran into the same issue where the ftp folder would not move but the java uploaded files will. So unless im doing something wrong during the initial setup, it is a reproducible issue.
I put an issue in on the git repository and will update that issue with a link to this thread.