Retrieve Log Files and Configuration Settings
Generating configreports and preparing log files are essential to support identifying the cause of a problem. Here are instructions for how to collect them.
When you report a problem to ownCloud Support or our Forum (ownCloud Central) you will be asked to provide certain log files or configurations for our engineers or other supporting staff. This information is necessary in better understanding your issue, your specific configuration, and for further support.
You can use the webUI or the command line to generate a config report. The webUI includes the web server environment, while the command line generated one doesn’t as it can’t access it. Therefore, if possible, always generate it through the webUI. The configreport app is always part of bundled apps, but it may need to be enabled before it can be used.
Check if it is disabled:
sudo -u www-data ./occ app:list --disabled configreport
Enable it if it was formerly disabled:
sudo -u www-data ./occ app:enable configreport
You can use the webUI to download your ownCloud Server log file. To do so, navigate to:
If the log file is too big, you will need to transfer it from the command line. The location of the log file can be found in your config.php. By default it is in your data directory. Note that you may need to compress the logfile before uploading:
'datadirectory' => '/var/www/owncloud/data',
When not using the default location for the logfile, it can be specified via:
'logfile' => '<your-path>/owncloud.log',