I ran out of space on my web server and was looking to see where all the space went. I inspected the /var folder for my Gallery3 installation and I noticed it had an /var/uploads folder with a copy of all the pictures I uploaded. There also seemed to be an additional copy of the photos in the /var/albums/... folder. My question is why does it keep a second copy in /var/uploads?
Nicolas
Posts: 27300
My install does not.
My guess is that Gallery tries to remove them once image processing is done and it can't due to some permissions issue on your install.
You can safely remove them once you have the thumbs and resizes etc done.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Thanks. Any idea what the permissions for these folders should be? Right now its set to wwwrun and www. I am running OpenSuse 11.2 linux distribution. My entire var folder (and everything under it has wwwrun and www for the permissions with drwxr-xr-x.
Posts: 27300
drwxr-x--- with me as the owner and me as the webserver user as well. I'm no expert in this sort of thing.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
I have the same problem, when I upload images via the REST API.
The webserver process has the necessary rights to delete all items in this folder.
With normal upload, the folder var/uploads stay empty.
Posts: 16504
ntbone, are you still watching this thread? If so, what method do you use to upload?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 4
Yup. I recieve emails when it is updated. I am using a plugin into lightroom to upload the images. I dont' recall exactly which plugin it is. I can find out more specifics when I am home.
Posts: 16504
I'm pretty sure that's using the REST API as well. I wonder if there is something happening there not doing any clean up. Dave, do you happen to be using any client that's using REST?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 27300
I've kept away from REST since it has been over my head. I could try a client that is build already if needed.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16504
Yeah, same here.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 27300
When they tell us what client... I'll try it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 722
I just tried uploading a sample photo with my Windows REST client ( http://gallery.menalto.com/node/98976 ). The photo stayed in the uploads directory after being added to the Gallery.
Posts: 7
Same problem here, too. Uploading via Lightroom plugin using REST. Running out of webspace.
Posts: 27300
Created a ticket:
https://sourceforge.net/apps/trac/gallery/ticket/1788
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7994
I submitted a fix for this issue in https://github.com/gallery/gallery3/commit/e5175fd277d597acce1d824c8c82da08d15b407a
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!