No (empty) admin page, what is wrong (error log)?

help

#1

Hi, I installed owncloud 9.1 which seems to worḱ, but unfortunately I didn't get any admin page. Rest is there. My logfile shows the following which I can't understand. Can somebody help me out? Bernd

{"reqId":"J4yY82TEC271LY7BuX04","remoteAddr":"192.168.0.168","app":"PHP","message":"Argument 2 passed to OC\Updater::__construct() must be an instance of OC\IntegrityCheck\Checker,
instance of OC\AllConfig given, called in \/var\/www\/owncloud\/apps\/updater\/lib\/channel.php on line 76 and defined at \/var\/www\/owncloud\/lib\/private\/Updater.php#84","level":3,
"time":"2017-01-16T20:30:17+00:00","method":"GET","url":"\/index.php\/settings\/admin","user":"bagu"}
{"reqId":"J4yY82TEC271LY7BuX04","remoteAddr":"192.168.0.168","app":"PHP","message":"Call to undefined method OC\Updater::check() at \/var\/www\/owncloud\/apps\/updater\/lib\/channel.php#78",
"level":3,"time":"2017-01-16T20:30:17+00:00","method":"GET","url":"\/index.php\/settings\/admin","user":"bagu"}


#2

Hi,

you have somehow managed to install the "old" updater app from older versions to /var/www/owncloud/apps/updater This app is not compatible with 9.1 and is causing your issue.


#3

Hi, Thank you. How can I fix this - is there a way to install the new updater or do I need to do the installation again? If so how to get rid of everything?


#4

That heavily depends how you managed to break this. The old updater app is not shipped in any of the installation ways provided at https://owncloud.org/install/#edition so it might be interesting how you got that app installed and if there are any other older stuff installed.


#5

I followed a tutorial, basically I used this to install.

wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo sh -c "echo 'deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list"

sudo apt-get update
sudo apt-get install owncloud


#6

Hi,

the repositories listed there are not providing this old updater app in their packages.

The best is probably to purge all ownCloud packages (apt-get remove --purge owncloud*). Afterwards make sure that there are no files left in /var/www/owncloud. Then you can do a fresh installation via apt-get install owncloud and the issue is gone.