Nextcloud version (eg, 10.0.2): 11.0.1
Operating system and version (eg, Ubuntu 16.04): 16.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.18
PHP version (eg, 5.6): 7.0.13
Is this the first time you’ve seen this error and can you replicate it?: No and I can replicate it
The issue you are facing:
I have trouble to get object storage with Ceph S3 as primary storage and Nextcloud server-side encryption for home storage enabled properly working. I can log in and everything is fine but when I upload files they won’t get a thumbnail and I can’t get a preview of them from the Nextcloud web interface. I tried several different file-types but none of them works. The sample files (which I suspect to be not encrypted) have thumbnails and previews. I already tried the setup steps in different order. First S3 as primary storage, then enabling encryption and then the other way around. But I always get the same behaviour. I noticed that files will get thumbnails in the trash bin. I get no log when I upload a file even when log is set to debug mode.
Is this a known issue or am I doing something wrong? Thanks for any help!
The output of your config.php file in /path/to/nextcloud
:
{
“system”: {
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”
],
“datadirectory”: “/data”,
“logfile”: “/var/log/nextcloud.log”,
“loglevel”: “0”,
“overwrite.cli.url”: “http://localhost”,
“dbtype”: “mysql”,
“version”: “11.0.1.2”,
“dbname”: “nextcloud”,
“dbhost”: “nextcloud_db”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“installed”: true,
“instanceid”: “ocsaqvw7qdgx”,
“objectstore”: {
“class”: “OC\Files\ObjectStore\S3”,
“arguments”: {
“bucket”: “nextcloud-test-gabriel”,
“autocreate”: true,
“key”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“hostname”: “REMOVED SENSITIVE VALUE”,
“use_ssl”: true,
“use_path_style”: true
}
}
}
}
The output of your Apache/nginx/system log in /var/log/____
:
_:443 172.20.0.1 - - [26/Jan/2017:16:42:02 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 2122 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0" _:443 172.20.0.1 - - [26/Jan/2017:16:42:02 +0000] "PUT /remote.php/webdav/serverwebui.png HTTP/1.1" 201 898 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0" _:443 172.20.0.1 - - [26/Jan/2017:16:42:03 +0000] "PROPFIND /remote.php/webdav/serverwebui.png HTTP/1.1" 207 1760 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0" _:443 172.20.0.1 - - [26/Jan/2017:16:42:04 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F HTTP/1.1" 200 1147 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"