Steps to reproduce
- Activate Two Factor Authentication
- Upload new files
- Turn off Two Factor Authentication
- Log out on all devices and log in again
- Upload new files from phone
Expected behaviour
Everything should sync normally with owncloud app for windows/mac
Actual behaviour
Sync Error 503: Service Unavailable on every other device (windows/mac) for the newly uploaded files and I should logout and login again. But even after doing this a few times, the error still show up.
Server configuration
Operating system: Ubuntu 16.04.3 LTS
Web server: Apache2
Database: Mysql
PHP version: 7.0.28
ownCloud version: 10.0.7.2
Updated from an older ownCloud or fresh install: Updated from previous version
Where did you install ownCloud from: Ubuntu 16.04 Official PPA
Signing status (ownCloud 9.0 and above):
No Errors have been found
The content of config/config.php:
{
"system": {
"instanceid": "ocj0tt174fa1",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.the-hack.de"
],
"datadirectory": "\/home\/owncloud\/data",
"overwrite.cli.url": "https:\/\/domain.com",
"dbtype": "mysql",
"version": "10.0.7.2",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"mail_smtpmode": "php",
"mail_smtpsecure": "ssl",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"maintenance": false,
"loglevel": 2,
"trashbin_retention_obligation": "auto",
"log_rotate_size": 104857600,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\PDF",
"OC\\Preview\\MSOffice2007"
],
"forcessl": true,
"htaccess.RewriteBase": "\/",
"updatechecker": false,
"singleuser": false
}
}
List of activated apps:
Enabled:
- activity: 2.3.6
- announcementcenter: 1.2.0
- audioplayer: 2.2.4
- calendar: 1.5.7
- comments: 0.3.0
- configreport: 0.1.1
- contacts: 1.5.4
- dav: 0.3.2
- diagnostics: 0.1.2
- encryption: 1.3.1
- federatedfilesharing: 0.3.1
- federation: 0.1.0
- files: 1.5.1
- files_external: 0.7.1
- files_external_dropbox: 1.0.1
- files_pdfviewer: 0.8.2
- files_sharing: 0.10.1
- files_texteditor: 2.2.1
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 16.0.2
- market: 0.2.3
- music: 0.5.6
- notifications: 0.3.2
- oauth2: 0.2.1
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.2
- updatenotification: 0.2.1
Disabled:
- external
- theme-example
- twofactor_totp
- user_external
Are you using external storage, if yes which one: no
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Safari
Operating system: MacOS
Logs
Web server error log
No Error
ownCloud log (data/owncloud.log)
{"reqId":"a92179ac-9bbb-43e7-ab21-4e3730e5b430","level":4,"time":"2018-03-31T17:48:03+00:00","remoteAddr":"******","user":"*****","app":"webdav","method":"GET","url":"\/remote.php\/dav\/files\/******\/InstantUpload\/Photo-2018-03-27-19-35-59_5561.HEIC","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Encryption not ready: Private Key missing for user: please try to log-out and log-in again\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(85): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->get()\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(263): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":369,\"User\":\"*****\"}"}