Skip to content

Error 500 with NC 12 and PHP 7.1.5 #5130

@jamfx

Description

@jamfx

Hi, I am Running a NC 12 with PHP-Version 5.6 .
I wanted to upgrade (update) my PHP-Version to 7.1.5. When I do so, I got an Error 500 and Nextcloud is not loading.

Steps to reproduce

  1. Run a NC-Server with php lower then 7
  2. Upgrade to 7.1.5
  3. Reload page --> See Error 500 with following Logentry:

Expected behaviour

Page should reload nice and smooth. :)

Actual behaviour

I get an Error 500

Server configuration

Debian
Apache2

Database:
MySQL

PHP version:
5.6. --> Error on switching to 7+

Nextcloud version:
12.0.0

Where did you install Nextcloud from:
From Nexctloud.com

List of activated apps:
Activity
Auditing / Logging
Clllaborative tags
Comments
Deleted files
Federation
Filesharing
First run wizzard
Gallery
Log Reader
Monitorein
Nexcloud Announcement
Notifications
Password Policy
PDF Viewer
Share by Mail
Text editor
Theming
Update Notification
Usage Survey
Version
Video Player
Activities for shared file downloads
Bookmarks
Brute Force Settings
Calendar
Contacts
Notizen
Tasks

Nextcloud configuration:
CONFIG: <?php
$CONFIG = array (
'instanceid' => 'MYID',
'passwordsalt' => 'MYSALTHERE',
'trusted_domains' =>
array (
0 => 'MYSERVERDOMAIN.DE',
),
'datadirectory' => '/users/MYUSERNAME/MYSERVERDOMAIN.DE/data',
'dbtype' => 'mysql',
'version' => '12.0.0.29',
'dbname' => 'MYDBNAME',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'MYDBUSER',
'dbpassword' => 'MYDBPASSWD',
'installed' => true,
'forcessl' => true,
'theme' => '',
'maintenance' => false,
'secret' => 'MYSECRET',
'forceSSLforSubdomains' => true,
'loglevel' => 0,
'trashbin_retention_obligation' => 'auto',
'overwrite.cli.url' => 'https://MYSERVERDOMAIN.DE',
);

Are you using external storage, if yes which one: local/smb/sftp/...
No.

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Firefox / Chrome

Hopefully I did not forget anything. Please let me know, what I can do.
Thanks.
JamFX

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions