Wasn't sure if I should post here or in the other sub forum... I'll start here.
After I upgraded to 3.0.9 and Ubuntu 12.04.3 I started to have (Ubuntu) user issues.
Basically, the root of my issue is that album thumbnails aren't being created.
I have my user (I'll call it CJ) and then the www-data user on the box.
File permissions:
Website CJ drwxrwr-x 777
-Gallery3 CJ drwxrwr-x 777
--var CJ drwxrwr-x 777
---thumbs CJ drwxrwr-x 777
----Album1 CJ drwxrwr-x 777
----Album2 www-data drwxr-xr-x 755
-----all files inside www-data drwxr-xr-x 755
So.. I work it where I'm creating albums from gallery3 (obviously) and those are the permissions that have come out from the system.
If I putty in and change the permissions to Album2 (make it CJ) and all the files inside, I can manually create a thumbnail and re-upload it and make the thumb work.
My question is... how to I force gallery use my CJ username?
Posts: 27300
Why?
i would think that the www-data user on the box would be better. Just give that user permissions for the website directory.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 34
It appears that gallery doesn't have enough permissions to do what it wants to do with the www-data user?
When I shell in and change the folders that are being created as www-data to the CJ user, things work fine...
Currently, my website folder - /var/www/domain.com is cj / cj (owner, group)
Posts: 34
I could move *everything* recursively over to www-data and try... but I don't think that will work.
thoughts?
Posts: 27300
Nothing from me. I would think that the www-data user should have permissions to the /var/www/domain.com directory.
Gallery is just PHP so whatever the php user runs as should work.
This is more of a question to the server experts in the community and chroot jails.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 34
So, I moved everything over to www-data...
Still seems to be working... except it's still not creating album thumbs. All I get is the default gallery image
http://www.2000transam.com/gallery3/var/thumbs/CTS-V/Test5/.album.jpg?m=1383089311
Posts: 34
No errors in the log files about not being able to create or read the files that I uploaded to a new folder...
Posts: 8339
You need apache to run under your username - still
-s
________________________________
All New jQuery Minislideshow for G2/G3