Nextcloud version: 11.0.1
Operating system and version: Ubuntu 16.10.1
Apache or nginx version: Apache 2.4.18
PHP version: 7.0.13
Is this the first time you’ve seen this error and can you replicate it?: Yes and Yes.
Problem:
I just setup Nextcloud, and have been toying with it for a couple days. When I first set it up, I had created a folder that I then deleted. I then perminantly deleted it from the Deleted Files. However, I went back to my Files, and low and behold, the folder is still there. I try to open it, but it doesn’t open. I try to delete it, and it goes away, but if I refresh the Files screen, it comes back. I have two accounts setup right now, and the problem exists with both accounts. Right now, there are absolutely no files in either account, no other folders, and nothing in the Delete Files. However, when I run occ files:scan, it still returns results…
Log:
I’d upload the log, but I have a ton of the following entries, multiples every second. I’m not sure what that’s about, but it could be because my primary web server is Server 2012r2, and I have a URL rewrite to direct my NextCloud folder on my .com to my Ubuntu server. If anyone knows, please advise. I’d like to fix that too so I can actually read the log.
Error PHP preg_match(): Unknown modifier ‘/’ at /var/www/html/drive/lib/private/AppFramework/Http/Request.php#622
Config:
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxx',
'passwordsalt' => 'xxxxxxxx',
'secret' => 'xxxxxxxx',
'trusted_domains' =>
array (
0 => 'xxxxxxxx.com',
1 => 'www.xxxxxxxx.com',
2 => '10.0.0.23',
),
'overwritecondaddr' => 'http://xxxxxxxx.com',
'overwritehost' => 'xxxxxxxx.com',
'datadirectory' => '/var/www/html/drive/data',
'overwrite.cli.url' => 'http://xxxxxxxx.com/drive',
'dbtype' => 'mysql',
'version' => '11.0.1.2',
'dbname' => 'xxxxxxxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxxxxxxx',
'dbpassword' => 'xxxxxxxx',
'logtimezone' => 'UTC',
'installed' => true,
'mail_from_address' => 'mike',
'mail_smtpmode' => 'php',
'mail_domain' => 'xxxxxxxx.com',
'loglevel' => 0,
);