I installed Zoph, and I can import photos one at a time, but I can’t figure out the bulk import. When I try to import, nothing happens. I’m running Freedombox on an old Acer netbook with 160Gb hard drive
Steps to Reproduce
I used Syncthing to move pictures from my laptop to the Acer folder: /var/lib/syncthing/ShareFolder
Start Zoph and go to the import tab. Under the import section, I set the path to /var/lib/syncthing/ShareFolder
I don’t choose any other option, I just click “import”.
Nothing happens. Expected Results
I expected the photos to appear in Zoph
It has been a while, but I think I recall the permissions being not quite right out of the gate in my zoph folder. If system (root) owns the folder that would explain why you are having to elevate to move stuff to the folder.
To fix the ownership:
sudo chown -R mudflap:mudflap /path/to/zoph
Where “mudflap” is your username on the box and “/path/to/zoph” is (obviously) the path to the folder.
To use the zoph cli you should be a member of the zoph group, as this provides direct access to the zoph database and all the photos. It is designed to have multiple users and for different zoph users to have permissions to read or write different zoph albums.
Bulk import via the web interface for individual photos is a feature of zoph-0.9.19, which will need to go into Freedombox via Debian Backports as it came out after bullseye was released. It is on my todo list.
For bulk imports on zoph 0.9.16, I make a tar or zip file of the photos (not too many at once due to PHP upload limits), and import the .tar file
They will then be unpacked by the uploader and can them be imported into zoph albums.
Note that the web uploader directory refers to files on the computer you are running on, not files on the freedombox server, as it is doing a standard HTTP upload, as you might do uploading files to any server where you do not have access to the system, such as Dropbox, or similar file sharing systems.