I am trying to update but getting the following error when opening updater:
Client error response [url] https://owncloud.*********.com/index.php/occ/config:list [status code] 405 [reason phrase] Method Not Allowed
This is the only unique error in the logs with "config:list term":
{"reqId":"pOIhJquUBedLOkEeOpnD","level":3,"time":"2017-12-24T11:48:03+00:00","remoteAddr":"51.15.193.6","user":"--","app":"PHP","method":"GET","url":"\/index.php\/occ\/config:list","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/owncloud\/lib\/composer\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18"}
I have installed php-intl and restarted apache but error log is the same. I have also installed all php modules listed in owncloud documentation.
apt-get install php7-intl
intl module is listed in:
php -m
This is a relatively new install, I followed the install guide so something is not right with owncloud or documentation. What am I missing here?
Operating system: Ubuntu 16.04
Web server: Apache/2.4.18
Database: Mysql 5.7
PHP version: PHP 7.0.22-0ubuntu0.16.04.1
ownCloud version: (see ownCloud admin page) 10.0.3.3
The content of config/config.php:
I don't see admin page anywhere even though I have added my user to admin groups, was the UI changed?
root@nuclear:~# sudo -u www-data php occ config:list system
Could not open input file: occ
Documentation should reflect that absolute path is required (at least for me):
sudo -u www-data php /var/www/owncloud/occ config:list system
{
"system": {
"instanceid": "oc3pd4evmqud",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"owncloud.**************.com"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "http:\/\/owncloud.*************.com",
"dbtype": "mysql",
"version": "10.0.3.3",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
I have also followed https://doc.owncloud.org/server/10.0/admin_manual/installation/source_installation.html
I added te following to /etc/apache2/sites-available/owncloud.conf with no change:
Alias /owncloud "/var/www/owncloud/"
<Directory /var/www/owncloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
</Directory>
I also ran the following commands:
a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
a2enmod ssl
a2ensite default-ssl
service apache2 reload
Looking at console in chrome with updater error window open I see the following error:
Failed to load resource: the server responded with a status of 403 (Forbidden)
https://owncloud.***********.com/data/htaccesstest.txt?t=1514545984534
This seemed to me like htaccess related but I already tried following owncloud setup apache documentation as outlined above with no change. The file gets recreated after deletion when updater is opened.