Cannot Login the OwnCloud

i finished the configure.when i trying to login,i meet a "HTTP 500" Error.

Server configuration

Operating system: CentOS 7

Web server: Nginx

Database: MySQL

PHP version: 7.2 Beta2

this is the error log in my Nginx:

2017/08/06 00:43:00 [error] 10007#10007: *81 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Declaration of OC\Files\Storage\Local::copyFromStorage(OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) must be compatible with OC\Files\Storage\Common::copyFromStorage(OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = false) in /home/web/cloud/lib/private/Files/Storage/Local.php on line 44" while reading response header from upstream, client: 58.63.96.139, server: cloud.ultgeek.com, request: "POST /index.php/login?redirect_url=%252Findex.php%252Fapps%252Ffiles%252F HTTP/2.0", upstream: "fastcgi://unix:/usr/local/compile/php/var/run/php-cgi.sock:", host: "cloud.ultgeek.com"

and this is my Nginx webserver config:

HTTPS Server

server {
server_name cloud.ultgeek.com;
listen 443 ssl http2;

location / {
        root   /home/web/cloud;
        index  index.php index.html index.htm;
    }

    ssl_certificate /etc/nginx/certs/cloud/214207376050117.pem;
    ssl_certificate_key /etc/nginx/certs/cloud/214207376050117.key;
    ssl_session_timeout 5m;
    ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_prefer_server_ciphers on;

    error_page 404 /404.html;
    	location = /40x.html {
    }

error_page   500 502 503 504  /50x.html;
    	location = /50x.html {
    }

location ~ \.php {
        root           /home/web/cloud;
        fastcgi_pass   unix:/usr/local/compile/php/var/run/php-cgi.sock;
        fastcgi_index  index.php;
        fastcgi_split_path_info ^(.+\.php)(.*)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

how to fix this?

I don't think that owncloud is compatible with PHP 7.2 yet.

Hi,

I can confirm the issue aswell. Upgrading to php 7.2.1 broke my setup. After downgrading to php 7.1.1, everything works again.

BR