update / update.php not found

by JourneymanGeek, Monday, March 18, 2013, 01:06 (4146 days ago)

I'm currently trying to get selfoss - 2.3 (the current release version) working on a system running ubuntu 12.04 and apache 2. Currently I've gotten mod_rewrite working (the import and password pages work), but I seem to be unable to update. I'm running it off an IP address, and on a sub-folder. going to update through the update page 'http://192.168.1.118/selfoss/update' gives me "The requested URL /selfoss/update was not found on this server." and going to update.php gives me a 404 error. Attempting to run update.php from the shell as a regular user gives me
"anteater@testvm:/var/www/selfoss$ php update.php
PDOStatement: attempt to write a readonly database"

I'm probably missing something obvious here but I'm not sure what. I can't really test this without being able to load feeds, so I'm wondering what it is.

update / update.php not found

by vince, Monday, March 18, 2013, 06:11 (4146 days ago) @ JourneymanGeek

From the command line, run update.php as the same user as the web server to avoid the read-only problem.
e.g. sudo -u www-data php update.php

update / update.php not found

by smeerbartje, Monday, March 18, 2013, 08:33 (4145 days ago) @ vince

I have the same problem, I fixed it buy running "php /var/www/selfoss/update.php", but the following url is not valid ANYMORE. It was on version 2.2.

http://servername.com/selfoss/update

update / update.php not found

by JourneymanGeek, Monday, March 18, 2013, 10:04 (4145 days ago) @ smeerbartje
edited by JourneymanGeek, Monday, March 18, 2013, 10:26

anteater@testvm:/var/www$ sudo -u www-data php /var/www/selfoss/update.php
[sudo] password for anteater:
Fatal error: Call to undefined function imagecreatefromstring()
anteater@testvm:/var/www$

Dosen't seem to work for me :/

update / update.php not found

by smeerbartje, Monday, March 18, 2013, 10:21 (4145 days ago) @ JourneymanGeek

GD is not installed??

update / update.php not found

by MidSpeck, Monday, March 18, 2013, 19:16 (4145 days ago) @ JourneymanGeek

Fatal error: Call to undefined function imagecreatefromstring()

Dosen't seem to work for me :/

sudo apt-get install php5-gd
sudo service apache2 restart

update / update.php not found

by burliest, Tuesday, March 19, 2013, 06:15 (4145 days ago) @ JourneymanGeek

Try /selfoss/Update with a capital U. Worked for me on 2.3

update / update.php not found

by butelo, Tuesday, April 09, 2013, 11:08 (4123 days ago) @ burliest

That worked for me in 2.5 :-)

RSS Feed of thread
powered by my little forum