Nextcloud version: 12.0.2
Operating system and version: Debian 9
Apache or nginx version: Nginx 1.10.3-1
PHP version: 7.1.9-1
Is this the first time you’ve seen this error?: no
Can you reliably replicate it? (If so, please outline steps): yes
The issue you are facing:
N.B. I am currently on v12 but the same exact thing happened with v11.
I installed a fresh copy of NC by unpacking the tar file and pointing my nginx configuration to it.
I created a separate data directory, gave www-data (the nginx process owner) read/write permissions to it and changed the configuration to reflect this setup.
When I initialize the application I create an admin user and the app creates the files in the data directory following the skeleton directory.
If I browse the files on the NC interface, the “All files” directory is empty. I can only see the home button, and no “Add files” button. If I go to “Recent files” I see the sample files that are in the directory but attempting to download or display them results in an error. No errors are reported in my nginx log, php-errors log (from php-fpm) or the NC log file.
My configuration is as follows:
Also, in the admin panel I see the message “Your web server is not yet set up properly to allow file synchronization because the WebDAV interface seems to be broken.”. I have seen possible solutions for that in separate forums but I’m trying to solve one thing at a time. Could that be related?
Any help would be appreciated.
Thanks,
s
The output of your Nextcloud log in Admin > Logging: Nothing
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
The output of your Apache/nginx/system log in /var/log/____
:
$CONFIG = array (
'instanceid' => '*******',
'passwordsalt' => '*******************',
'secret' => '******************************************',
'trusted_domains' =>
array (
0 => 'cloud.mydomain.net',
),
'datadirectory' => '/data/nextcloud/',
'overwrite.cli.url' => 'https://mydomain.net',
'dbtype' => 'pgsql',
'version' => '12.0.2.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '***********',
'logtimezone' => 'America/Chicago',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'updater.secret' => '****************************************************************',
'theme' => '',
'loglevel' => 1,
'log_rotate_size' => 104857600,
'maintenance' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/nextcloud/current/apps',
'url' => '/apps',
'writable' => true,
),
),
);
Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.