Changing upload dir does not work
when i change the upload directory to something on my NAS the files dont actually upload there.
To Reproduce Steps to reproduce the behavior:
- open dumbdrop in browser
- upload file
- navigate to directory on NAS using shell
Expected behavior the file should appear in the mount directory
Desktop (please complete the following information):
- OS: fedora 42
- Browser: firefox
Additional context docker compose file:
services:
dumbdrop:
image: dumbwareio/dumbdrop:latest
container_name: dumbdrop
ports:
- 3010:3000
volumes:
- /mnt/bigdeal/configs/dumbdrop:/app/uploads
environment:
DUMBDROP_TITLE: Coorworks Dropbox
MAX_FILE_SIZE: "100000"
DUMBDROP_PIN: null
AUTO_UPLOAD: "false"
BASE_URL: http://10.99.0.200:3010
the directory /mnt/bigdeal/configs/dumbdrop has 777 permissions
logs do not show anything useful.
[INFO] 2025-06-07T09:34:09.923Z - Upload init request for: airvpnbubble.png
[WARN] 2025-06-07T09:34:09.924Z - Final destination file already exists: local_uploads/airvpnbubble.png. Generating unique name.
[INFO] 2025-06-07T09:34:09.925Z - Using unique final path: local_uploads/airvpnbubble (1).png
[INFO] 2025-06-07T09:34:09.927Z - Initialized persistent upload: 937db46cf966c1ba090ff1e6b65db981 for airvpnbubble.png -> local_uploads/airvpnbubble (1).png
[INFO] 2025-06-07T09:34:09.947Z - Upload 937db46cf966c1ba090ff1e6b65db981 (airvpnbubble.png) completed 10181 bytes.
Hi, it seems you need to specify the environment variable UPLOAD_DIR: /app/uploads in order for it to not use the ./local_uploads fallback directory.
worked! thanks so much!
Hi, it seems you need to specify the environment variable
UPLOAD_DIR: /app/uploadsin order for it to not use the./local_uploadsfallback directory.
Thanks for the help @proog ! We've been distracted with the DumbAssets release and I forgot to loop back around to this!