[Owncloud] updater.php error: Access to undeclared static property: OC::$APPSROOT

chymian chymian at gmx.net
Wed Nov 14 20:54:59 UTC 2012


hi,
trying to update to 4.5.2 with the updater.php it threw me an error first:
Unable to fetch package.


the apache error-logs stated:

 Wed Nov 14 21:31:55 2012] [error] [client 178.14.134.80] PHP Warning:
mkdir(): File exists in
/srv/www/xxxxx.xxxxx.net/apps/updater/lib/downloader.php on line 45,
referer: https://xxxxx.xxxxx.net/settings/admin.php

found out that it was trying to create the "backup/..." directory, which
did exist, as leftover from a former update attempt.

after moving that out of the way, I got the following error:


[Wed Nov 14 21:37:20 2012] [error] [client 178.14.134.80] PHP Fatal
error:  Access to undeclared static property: OC::$APPSROOT in
/srv/www/xxxxx.xxxxx.net/apps/updater/appinfo/app.php on line 37,
referer: https://xxxxxx.xxxxxx.net/settings/admin.php

and the updater was staying on "Update in Progress", not doing anything
else.

reloading the page and started updater again, and it went back to the
first error.

so, what to do?


don't know, whether the error further up in the apache log has anything
to do with it:

[Wed Nov 14 21:44:39 2012] [error] [client xx.xxx.xxx.xx] client denied
by server configuration: /srv/www/xxxxx.xxxxx.net/data/htaccesstest.txt

which came from the server-ip as client itself.


TIA
günter



More information about the Owncloud mailing list