Steps to reproduce
- rsync data filder to NAS
- delete file from ownCloud, delete from trash
- restore corresponding “files” and “files_encryption”
- sudo -u www-data php5.6 occ files:scan “username”
Expected behaviour
File should be restored
Actual behaviour
File appears in web browser, but an attempt to download it results in “ERR_EMPTY_RESPONSE”
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache/2.4.18 (Ubuntu)
Database: 10.0.34-MariaDB-0ubuntu0.16.04.1
PHP version: 5.6.30-10+deb.sury.org~xenial+2
ownCloud version: 9.1.5
Updated from an older ownCloud or fresh install: fresh install
Where did you install ownCloud from: official site
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
No errors have been found.
The content of config/config.php:
<?php $CONFIG = array ( 'updatechecker' => false, 'instanceid' => 'oci2c0zg8c7a', 'passwordsalt' => '*******', 'secret' => '*************', 'trusted_domains' => array ( 0 => '192.168.123.184', 1 => '192.168.123.194', 2 => 'cloud.123gostovanje.si', 3 => '192.168.123.195', 4 => '84.255.242.101', ), 'datadirectory' => '/var/www/owncloud/data', 'overwrite.cli.url' => 'https://cloud.123gostovanje.si/', 'dbtype' => 'mysql', 'version' => '9.1.5.2', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => '************', 'logtimezone' => 'UTC', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'tls', 'mail_smtphost' => 'mail.123gostovanje.si', 'mail_smtpport' => '587', 'mail_from_address' => 'noreply', 'mail_domain' => '123gostovanje.si', 'mail_smtpauthtype' => 'LOGIN', 'loglevel' => 0, 'mail_smtpauth' => 1, 'mail_smtpname' => '*************', 'mail_smtppassword' => '***********', ); ``` Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder Cannot upload config report ```