I’m having trouble logging in on my NextCloud instance through the web (it seems the mobile app is able to log in although it has trouble syncing).
My first step to solving this issue is to get access to the logs but I can’t seem to convince NextCloud to log anything.
- Nextcloud version: 14:
- Operating system and version: Ubuntu 14.04
- Apache version: Apache 2.4.7
- PHP version: 5.5.9
Old stuff but I need to get up and running again before I can upgrade to a new server.
So my problem is there is nothing appearing in any of the logfiles I’ve check. Here’s my config.php:
<?php $CONFIG = array ( 'instanceid' => '...', 'passwordsalt' => '...', 'trusted_domains' => array ( ... ), 'datadirectory' => '/home/owncloud_data', 'overwrite.cli.url' => 'https://timelabdev.com/nextcloud', 'dbtype' => 'mysql', 'version' => '184.108.40.206', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => '...', 'installed' => true, 'mail_smtpmode' => 'smtp', 'forcessl' => true, 'loglevel' => '0', 'theme' => '', 'maintenance' => false, 'secret' => '...', 'forceSSLforSubdomains' => false, 'mail_from_address' => '...', 'mail_domain' => 'gmail.com', 'mail_smtpsecure' => 'tls', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'smtp.gmail.com', 'mail_smtpport' => '587', 'mail_smtpname' => '...@gmail.com', 'mail_smtppassword' => '...', 'trashbin_retention_obligation' => 'auto', );
With this config, I’m expecting the logs in
/home/owncloud_data/nextcloud.log but this file is not being updated. It’s ownded by www-data but just to be sure I set the permissions to 777. No luck.
There is no Nextcloud info in syslog (
grep -i Nextcloud /var/log/syslog yields nothing).
I also created a file
/var/log/nextcloud.log owned by
www-data and with 777 permissions, but it remains stubbornly empty.
Would you have any suggestion on what else to try?