No thumbnails: thumbnail url shows error 'Db file path not found' #824

Closed
opened 2026-10-05 00:19:30 +02:00 by adam · 1 comment
Owner

Hi

I have set my upload folder to a symbolic link to an attached volume. The file upload seems to work, I get the green tick and I can download the file successfully. However the thumbnails are not displaying
in the admin or in the front end. When I copy the thumbnail url from the admin, the page has this error:

Db file path not found

Any ideas?

Thanks for your help.

Hi I have set my upload folder to a symbolic link to an attached volume. The file upload seems to work, I get the green tick and I can download the file successfully. However the thumbnails are not displaying in the admin or in the front end. When I copy the thumbnail url from the admin, the page has this error: `Db file path not found` Any ideas? Thanks for your help. <!-- github-sync-id:355043028 -->
adam closed this issue 2026-10-05 00:19:30 +02:00
Author
Owner

I figured it out, it was a problem with the paths in the config file.

I am using a volume on digital ocean to store the uploads, and I got it working like this:

$conf['data_location'] = 'digital_ocean_volume/_data/';

// where should the API/UploadForm add photos? This path must be relative to
// the Piwigo installation directory (but can be outside, as long as it's
// reachable from your webserver).

$conf['upload_dir'] = '../../../mnt/volume_lon1_02/';

Where digital_ocean_volume is a soft symlink to mnt/volume_lon1_02

I figured it out, it was a problem with the paths in the config file. I am using a volume on digital ocean to store the uploads, and I got it working like this: ``` $conf['data_location'] = 'digital_ocean_volume/_data/'; // where should the API/UploadForm add photos? This path must be relative to // the Piwigo installation directory (but can be outside, as long as it's // reachable from your webserver). $conf['upload_dir'] = '../../../mnt/volume_lon1_02/'; ``` Where `digital_ocean_volume` is a soft symlink to `mnt/volume_lon1_02` <!-- github-comment-id:422039512 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#824