Steps to reproduce
- update Owncloud from 9.1.8 to 10.0.10
Comment: it’s an old OwnCloud installation previously upgraded from 8 to 9.
Expected behaviour
ownCloud should show file in the web interface and sync clients should start to sync
Actual behaviour
Admin panel shows:
- Your web server is not yet set up properly to allow file synchronization because the WebDAV interface seems to be broken.
Sync clients show:
No connection to ownCloud. Server replied “403 Forbidden” to “PROPFIND https://OWNCLOUDSERVERADDRESS/remote.php/webdav/”
Server configuration
Operating system:
Debian 9.6
Web server::
Apache 2.4.25
Database:
MySQL 5.5.9999
PHP version:
7.2
“Loaded Modules”: “core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php7 mod_proxy mod_proxy_html mod_proxy_http mod_reqtimeout mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status mod_xml2enc”,
ownCloud version:
10.0.10
Updated from an older ownCloud or fresh install:
updated from 9.1.8
Where did you install ownCloud from:
apt repository
Signing status (ownCloud 9.0 and above):
No errors have been found.
ownCloud config:
‘instanceid’ => ‘REMOVED SENSITIVE VALUE’,
‘passwordsalt’ => ‘REMOVED SENSITIVE VALUE’,
‘trusted_domains’ =>
array (
0 => ‘REMOVED SENSITIVE VALUE’,
1 => ‘REMOVED SENSITIVE VALUE’,
),
‘mail_domain’ => ‘REMOVED SENSITIVE VALUE’,
‘mail_smtpdebug’ => false,
‘mail_smtpmode’ => ‘smtp’,
‘mail_smtphost’ => ‘REMOVED SENSITIVE VALUE’,
‘mail_smtpport’ => ‘587’,
‘mail_smtpauth’ => 1,
‘mail_smtpsecure’ => ‘tls’,
‘mail_smtpname’ => ‘REMOVED SENSITIVE VALUE’,
‘mail_smtppassword’ => ‘REMOVED SENSITIVE VALUE’,
‘datadirectory’ => ‘/data/shared’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘10.0.10.4’,
‘installed’ => true,
‘forcessl’ => true,
‘theme’ => ‘’,
‘maintenance’ => false,
‘secret’ => ‘REMOVED SENSITIVE VALUE’,
‘mail_from_address’ => ‘system’,
‘loglevel’ => 2,
‘trashbin_retention_obligation’ => ‘auto’,
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘filelocking.enabled’ => true,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 0,
‘password’ => ‘’,
),
‘updatechecker’ => false,
‘dbname’ => ‘owncloud’,
‘dbhost’ => ‘localhost’,
‘dbuser’ => ‘oc_mysql_user’,
‘dbpassword’ => ‘REMOVED SENSITIVE VALUE’,
‘debug’ => false,
‘appstore.experimental.enabled’ => true,
List of activated apps:
Enabled:
- bookmarks: 0.10.5
- comments: 0.3.0
- configreport: 0.1.1
- dav: 0.4.0
- external: 1.2
- federatedfilesharing: 0.3.1
- files: 1.5.1
- files_external: 0.7.1
- files_pdfviewer: 0.10.0
- files_sharing: 0.11.0
- files_texteditor: 2.3.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- market: 0.3.0
- notifications: 0.3.5
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.4.0
- updatenotification: 0.2.1
Disabled: - activity
- calendar
- encryption
- federation
- gallery
- tasks
- user_external
Are you using external storage, if yes which one:
no
Are you using encryption:
no
Are you using an external user-backend, if yes which one:
no
Logs
Web server error log
[Tue Jan 15 08:04:53.219755 2019] [access_compat:error] [pid 20252] [client REMOVED SENSITIVE VALUE:53501] AH01797: client denied by server configuration: /var/www/owncloud/remote.php
[Tue Jan 15 08:04:53.221708 2019] [access_compat:error] [pid 20351] [client REMOVED SENSITIVE VALUE:53502] AH01797: client denied by server configuration: /var/www/owncloud/remote.php
[Tue Jan 15 08:04:53.628617 2019] [access_compat:error] [pid 20396] [client REMOVED SENSITIVE VALUE:62189] AH01797: client denied by server configuration: /var/www/owncloud/remote.php
[Tue Jan 15 08:04:53.635510 2019] [access_compat:error] [pid 20515] [client REMOVED SENSITIVE VALUE:62190] AH01797: client denied by server configuration: /var/www/owncloud/remote.php
[Tue Jan 15 08:04:57.506813 2019] [access_compat:error] [pid 20602] [client REMOVED SENSITIVE VALUE:50796] AH01797: client denied by server configuration: /var/www/owncloud/remote.php
ownCloud log (data/owncloud.log)
lots of:
“level”:3,“time”:“2019-01-15T06:59:01+00:00”,“remoteAddr”:"",“user”:"–",“app”:“files”,“method”:"–",“url”:"–",“message”:“Exception: {“Exception”:“OC\\ForbiddenException”,“Message”:”",“Code”:0,“Trace”:"#0 \/var\/www\/owncloud\/lib\/private\/Files\/Utils\/Scanner.php(139): OC\\Files\\Utils\\Scanner->shouldScan(Object(OC\\Files\\Mount\\MountPoint))\n#1 \/var\/www\/owncloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php(87): OC\\Files\\Utils\\Scanner->backgroundScan(’’)\n#2 \/var\/www\/owncloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php(111): OCA\\Files\\BackgroundJob\\ScanFiles->runScanner(Object(OC\\User\\User))\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/Job.php(57): OCA\\Files\\BackgroundJob\\ScanFiles->run(NULL)\n#4 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/TimedJob.php(53): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#5 \/var\/www\/owncloud\/cron.php(120): OC\\BackgroundJob\\TimedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#6 {main}",“File”:"\/var\/www\/owncloud\/lib\/private\/Files\/Utils\/Scanner.php",“Line”:192}"}