The selfoss home page is different

by mulargui, Saturday, May 18, 2013, 17:17 (4316 days ago)

Hi,
just installed selfoss 2.7 on ec2 Ubuntu 13.04 with MySQL following the instructions in the website. I get a very different home page when loading the home page. You can see it at http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/.
Any suggestion why this is happening?

The selfoss home page is different

by ofcloud, Sunday, May 19, 2013, 18:40 (4315 days ago) @ mulargui

I encountered this with non working mod_rewrite. Try to check it's availability and related configurations.

The selfoss home page is different

by mulargui, Sunday, May 19, 2013, 21:11 (4315 days ago) @ ofcloud

thanks! I looked at the error_log file and there is plenty of references to files not found. I'm not very experimented in PHP. Can you have a fast look and help me to fix it?
[Sun May 19 06:47:49 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2 configured -- resuming normal operations

[Sun May 19 07:03:44 2013] [error] [client 66.249.73.49] File does not exist: /var/www/robots.txt

[Sun May 19 08:23:51 2013] [error] [client 212.68.98.77] File does not exist: /var/www/FastHTTPAuthScanner200test

[Sun May 19 08:23:52 2013] [error] [client 212.68.98.77] File does not exist: /var/www/admin

[Sun May 19 08:23:52 2013] [error] [client 212.68.98.77] File does not exist: /var/www/~root

[Sun May 19 09:24:13 2013] [error] [client 84.2.65.79] File does not exist: /var/www/selfoss/css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 09:24:13 2013] [error] [client 84.2.65.79] File does not exist: /var/www/selfoss/all.css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 09:24:13 2013] [error] [client 84.2.65.79] File does not exist: /var/www/selfoss/all.js, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 09:24:13 2013] [error] [client 84.2.65.79] File does not exist: /var/www/selfoss/favicon.ico

[Sun May 19 10:33:44 2013] [error] [client 66.249.75.121] File does not exist: /var/www/robots.txt

[Sun May 19 10:35:40 2013] [error] [client 66.249.75.121] File does not exist: /var/www/selfoss/feed

[Sun May 19 10:59:27 2013] [error] [client 178.26.248.102] File does not exist: /var/www/selfoss/css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 10:59:28 2013] [error] [client 178.26.248.102] File does not exist: /var/www/selfoss/all.css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 10:59:28 2013] [error] [client 178.26.248.102] File does not exist: /var/www/selfoss/favicon.ico

[Sun May 19 10:59:28 2013] [error] [client 178.26.248.102] File does not exist: /var/www/selfoss/all.js, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 10:59:28 2013] [error] [client 178.26.248.102] File does not exist: /var/www/selfoss/favicon.ico

[Sun May 19 11:48:35 2013] [error] [client 87.255.1.51] File does not exist: /var/www/selfoss/favicon.ico, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 11:48:35 2013] [error] [client 87.255.1.51] File does not exist: /var/www/selfoss/css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 11:48:35 2013] [error] [client 87.255.1.51] File does not exist: /var/www/selfoss/all.css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 11:48:35 2013] [error] [client 87.255.1.51] File does not exist: /var/www/selfoss/all.js, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 14:02:52 2013] [error] [client 68.35.198.92] File does not exist: /var/www/selfoss/css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 14:02:52 2013] [error] [client 68.35.198.92] File does not exist: /var/www/selfoss/all.css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 14:02:52 2013] [error] [client 68.35.198.92] File does not exist: /var/www/selfoss/all.js, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 14:02:52 2013] [error] [client 68.35.198.92] File does not exist: /var/www/selfoss/favicon.ico

[Sun May 19 16:49:47 2013] [error] [client 108.181.219.187] File does not exist: /var/www/selfoss/css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 16:49:47 2013] [error] [client 108.181.219.187] File does not exist: /var/www/selfoss/all.css, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 16:49:47 2013] [error] [client 108.181.219.187] File does not exist: /var/www/selfoss/all.js, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

[Sun May 19 16:49:47 2013] [error] [client 108.181.219.187] File does not exist: /var/www/selfoss/favicon.ico, referer: http://ec2-54-214-71-70.us-west-2.compute.amazonaws.com/selfoss/

The selfoss home page is different

by ofcloud, Monday, May 20, 2013, 07:52 (4314 days ago) @ mulargui

As I see it was answered already.

The selfoss home page is different

by mulargui, Monday, May 20, 2013, 19:50 (4314 days ago) @ ofcloud

thank you for your help. I combined your suggestions plus information from here http://askubuntu.com/questions/48362/how-to-enable-mod-rewrite-in-apache.
looks like rules are now working but I'm getting a different error.

this is what I did:
1. created selfoss.conf and copied to /etc/apache2/mods-available
2. sudo a2enmod rewrite
3. edited /etc/apache2/sites-available/default and modified
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo
Order allow,deny
allow from all
</Directory>
4. sudo service apache2 restart

The error that now I'm getting is
[Mon May 20 17:29:12 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2 configured -- resuming normal operations
[Mon May 20 17:29:17 2013] [alert] [client 76.22.63.207] /var/www/selfoss/.htaccess: order not allowed here
[Mon May 20 17:29:18 2013] [alert] [client 76.22.63.207] /var/www/selfoss/.htaccess: order not allowed here
[Mon May 20 17:29:29 2013] [alert] [client 76.22.63.207] /var/www/selfoss/.htaccess: order not allowed here
[Mon May 20 17:29:29 2013] [alert] [client 76.22.63.207] /var/www/selfoss/.htaccess: order not allowed here

Any suggestion? thank you for your help in advance!

The selfoss home page is different

by mulargui, Tuesday, May 21, 2013, 18:15 (4313 days ago) @ mulargui

Solved!!!!
This is what you need to do to install selfoss in Ubuntu 13.04

1. Upload all files to var/www/selfoss(IMPORTANT: also upload the invisible .htaccess files)
2. Make the directories data/cache, data/favicons, data/logs, data/thumbnails, data/sqlite and public/ writeable
3. Insert database access data in config.ini (see below -- you have not to change anything if you would like to use sqlite)
3. You don't have to install the database, it will be created automatically
4. enable the rule engine: sudo a2enmod rewrite
5. Edit /etc/apache2/sites-available/default and add
<Directory /var/www/selfoss/>
AllowOverride All
</Directory>
6. restart the apache web server: sudo service apache2 restart
7. Create cronjob for updating feeds and point it to http://yourselfossurl.com/update via wget or curl. You can also execute the update.php from commandline.

RSS Feed of thread
powered by my little forum