Steps to reproduce
1. Provision virtual server.
2. I'm using Vultr, so it will let me provision an Owncloud app server.
3. Log in to new server via the IP address only
4. Verify access. Just looked at the admin page and version.
5. Log in to the new server via the domain name, which is already provisioned as the system hostname by Vultr. It exists before Owncloud is installed. It will ask me of course to add the domain name to the approved list, and once doing so proceeds with the login.
6. CSRF Check Failed - I get an error page informing me of this and no account can log in anymore.
CSRF Check should not be happening at all.
I get the CSRF check notice and I can never log in to the Owncloud instance ever again, from anywhere, ever.
Operating system: Centos 6
Web server: Nginx
Database: Probably MySQL, whatever was provisioned by Vultr.
PHP version: 2.6.0
ownCloud version (see ownCloud admin page): Owncloud Version 9.1.1 ($OC_VersionString = '9.1.1'
Updated from an older ownCloud or fresh install: Fresh Install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): None
ownCloud log (data/owncloud.log)
Nothing there except some squawking about MySQL, but the very first login shows a working Owncloud so it can probably be disregarded as installation errors that were corrected.
Integrity status for oC9+
I can't log in at all. Period.
It's worth noting that I'm running an older app server with Owncloud and it is running just fine. I've set it up with Letsencrypt and hardened the SSL. I have no problems with any of that. It's just this CSRF check that instantly fails and kills the Owncloud platform before I can begin to install certificates or do anything.
Last I checked this was a bug being seen in upgrades and I've waited patiently for a fix, but nothing is fixing this error I have. I would appreciate any help as I promised somebody I would deliver them an Owncloud about 2 weeks ago, and all Owncloud instances are dead on arrival at Vultr.
I destroyed the server and had a complete reinstallation from Vultr. After logging into console the very first time:
- yum update && yum upgrade
- Letsencrypt provisioning steps (This included modifications to the nginx configuration)
- Tested with Mozilla Observatory-- A-
- In /var/www/owncloud/config/config.php, I removed the IP address from trusted domains and added the domain I have for this server.
- Attempted to access Owncloud via the website and login
CSRF failure occurred instantly
$CONFIG = array (
'memcache.local' => '\OC\memcache\Redis',
'host' => 'localhost',
'port' => 6379,
'timeout' => 0,
'dbindex' => 0,
'instanceid' => 'ocy29uw8x0wn',
'passwordsalt' => 'C/opXt19IQVQl9ZVCzKOJxSdNVaTSG',
'secret' => 'zLMK3XIELVdn7ul4Y55f0IBVTTNM7drmOnN1RHDQGHAeTnIq',
0 => ''
'datadirectory' => '/var/www/owncloud_data/',
'overwrite.cli.url' => 'https://127.0.0.1',
'dbtype' => 'mysql',
'version' => '184.108.40.206',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => '',
'dbuser' => 'owncloud79831',
'dbpassword' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',
'logtimezone' => 'UTC',
'installed' => true,
listen 443 ssl;
ssl_protocols TLSv1.1 TLSv1.2;
resolver 220.127.116.11 18.104.22.168 valid=86400;
Is there a way to get an older version of Owncloud? I can install it myself instead of allowing Vultr to install the latest. Anything to get this working.