Cannot add Plugins in Gallery2

BPo

Joined: 2011-10-16
Posts: 6
Posted: Sun, 2011-10-16 20:51

Trying to install new Plugins to Gallery2.

When trying to get more plugins I cannot get access.

I did:
cd /usr/share/gallery2
chmod -R 777 modules
chmod -R 777 themes

Checked for the right permissions on the 2 directories incl sub's.
4 drwxrwxrwx. 6 apache apache 4096 May 24 22:15 core
4 drwxrwxrwx. 4 apache apache 4096 Oct 7 22:57 debug
4 drwxrwxrwx. 6 apache apache 4096 Oct 7 22:57 exif
4 drwxrwxrwx. 6 apache apache 4096 Oct 7 22:57 ffmpeg
4 drwxrwxrwx. 5 apache apache 4096 Oct 7 22:57 flashvideo
4 drwxrwxrwx. 5 apache apache 4096 May 24 22:15 httpauth
4 drwxrwxrwx. 6 apache apache 4096 Oct 7 22:57 imagemagick
4 drwxrwxrwx. 5 apache apache 4096 Oct 7 22:57 mp3audio
4 drwxrwxrwx. 5 apache apache 4096 Oct 7 22:57 password
4 drwxrwxrwx. 6 apache apache 4096 May 24 22:15 rewrite
4 drwxrwxrwx. 6 apache apache 4096 Oct 7 22:57 slideshow
4 drwxrwxrwx. 4 apache apache 4096 Oct 7 22:57 webcam

4 drwxrwxrwx. 5 apache apache 4096 May 24 22:15 classic
4 drwxrwxrwx. 5 apache apache 4096 May 24 22:15 matrix

Still cannot continue from the page advicing to chmod.
How do I proceed from here pls.?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2011-10-16 21:23

What is the error message you are getting?
____________________________________________
Like Gallery? Like the support? Donate now!

 
BPo

Joined: 2011-10-16
Posts: 6
Posted: Tue, 2011-10-18 19:18

This is the danish version of the "Get more Plugin" panal.
Even if I do the chmod's I'm stuck on this panel when pressing "continue" as if the permissions has not been changed. No error message.

Deleted.

 
BPo

Joined: 2011-10-16
Posts: 6
Posted: Mon, 2011-10-17 12:08

Here is the english version of the panel, sorry for the confution.

Get More Plugins

Download and install new plugins quickly and easily. If you decide you don't like a plugin, you can delete it from your Gallery. There are multiple different plugin repositories, you can choose which ones you want to use (it's ok to use all of them at once). Once you've chosen, you must periodically download the latest plugin list to find out about available updates. No personal information about you or your Gallery installation is sent to the Gallery server at any time. On slower connections the process might take a minute or two.
Officially Released Gallery Project plugins (recommended)
Experimental Gallery Project plugins (cool new features, might be buggy)
Community plugins (use at your own risk!)

Configure your Gallery

Before you can proceed, you have to change some permissions so that Gallery can install plugins for you. It's easy. Just execute the following in a shell or via your ftp client:

cd /usr/share/gallery2
chmod -R 777 modules
chmod -R 777 themes

If you have trouble changing permissions, ask your system administrator for assistance. When you've fixed the permissions, click the Continue button to proceed.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-10-18 04:02

Perhaps your server has some "security" that prevents Apache from writing to a directory set to 777. Since Apache is the owner of those directories and since your webserver runs as that user, just set the permissions to 755 and you should be fine.
____________________________________________
Like Gallery? Like the support? Donate now!

 
BPo

Joined: 2011-10-16
Posts: 6
Posted: Tue, 2011-10-18 18:11

Thanks, Changed to 755 with the same result.
What logs could give me a hint?

 
BPo

Joined: 2011-10-16
Posts: 6
Posted: Tue, 2011-10-18 19:07

Running Selinux - made some roules, cleared entries.
Still in error.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2011-10-19 00:47

Disable Selinux completely and try again.
____________________________________________
Like Gallery? Like the support? Donate now!

 
BPo

Joined: 2011-10-16
Posts: 6
Posted: Wed, 2011-10-19 13:17

Selinux were blocking the request. Problem solved. Thanks!