pogoplug+lamp+joomla = HELP!

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

pogoplug+lamp+joomla = HELP!

Postby metalshark » Fri Sep 19, 2014 8:14 pm

Hey Guys!
It's your annoying linux noob is back! I got my pogoplug, apache, mariadb (formerly mysql), php and phpmyadmin up and running thank you so much largely to the people on this forum! Seriously guys, your great!

I know it's not a bright idea to have LAMP and Joomla running on a Pogoplug due to performance issues but I just need it. Anyway, so I installed my Joomla (more like copied it) to my server's /srv/http directory, created my tables using phpmyadmin, and ran Joomla. First problem that I came accross was the following:

1] Can not write configuration.php
2] Can not delete installation directory

This one was an easy fix. All I did was Putty'd my way in and did it manually there. But when I was trying to install new plugins I saw that my Joomla couldn't install new plugins, can't save anything on the server and can't even create a directory.

it seems that this is security access issue since Apache uses user "http". So I did a chown the whole http to user "http" and even did a chmod 777 (not my brightest idea ever) on the whole http directory! Nothing! Can anybody guide a Noob what to do? It's been 7 days that I've been working on this and I feel I've killed enough brain cells. Thanks in advance guys.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: pogoplug+lamp+joomla = HELP!

Postby metalshark » Fri Sep 19, 2014 9:25 pm

Hey All!

After using my Google-Fu and trying out more possible solutions, It seems that I found the solution! So I'm gona share my findings. To begin with, i was right.. It was a Ownership issue. So here's what I did

$this->bbcode_second_pass_code('', '
[root@alarm ~]# cd /srv
[root@alarm srv]# chown -R http:http http
[root@alarm srv]# cd http
[root@alarm http]# ls -l
total 120
-rwxr--r-- 1 http http 17816 Jun 11 07:46 LICENSE.txt
-rwxr--r-- 1 http http 4310 Jun 11 07:46 README.txt
drwxr-xr-x 10 http http 4096 Sep 18 15:18 administrator
drwxr-xr-x 2 http http 4096 Sep 18 15:18 bin
drwxr-xr-x 2 http http 4096 Sep 18 15:18 cache
drwxr-xr-x 2 http http 4096 Sep 18 15:18 cli
drwxr-xr-x 17 http http 4096 Sep 18 15:18 components
-rw-r--r-- 1 http http 1851 Sep 18 15:28 configuration.php
-rwxr--r-- 1 http http 2859 Jun 11 07:46 htaccess.txt
drwxr-xr-x 5 http http 4096 Sep 18 15:18 images
drwxr-xr-x 2 http http 4096 Sep 18 15:18 includes
-rwxr--r-- 1 http http 1013 Jun 11 07:46 index.php
-rwxr--r-- 1 http http 1905 Jun 11 07:47 joomla.xml
drwxr-xr-x 4 http http 4096 Sep 18 15:19 language
drwxr-xr-x 4 http http 4096 Sep 18 15:19 layouts
drwxr-xr-x 13 http http 4096 Sep 18 15:19 libraries
drwxr-xr-x 2 http http 4096 Sep 18 15:19 logs
drwxr-xr-x 18 http http 4096 Sep 18 15:20 media
drwxr-xr-x 28 http http 4096 Sep 18 15:20 modules
drwxr-xr-x 14 http http 4096 Sep 18 15:20 plugins
-rwxr--r-- 1 http http 882 Jun 11 07:46 robots.txt.dist
drwxr-xr-x 5 http http 4096 Sep 18 15:20 templates
drwxr-xr-x 2 http http 4096 Sep 18 15:20 tmp
-rwxr--r-- 1 http http 1609 Jun 11 07:46 web.config.txt
drwxr-xr-x 11 http http 4096 Sep 18 15:19 xinstallation
[root@alarm http]#
')
Remember I said that Apache uses user "http"? Hence I just made user "http" own the whole http directory! (i sure felt dumb after this started to work. Lol) Right after this I accessed Joomla via a web browser and tried creating a directory and uploading a picture. SUCCESS! I do hope this helps somebody out there.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: pogoplug+lamp+joomla = HELP!

Postby WarheadsSE » Fri Sep 19, 2014 9:45 pm

Now just to fix your permissions...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests