Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2): 14.0.3
Operating system and version (eg, Ubuntu 17.04): Linux alfa3206 4.9.44-040944-generic
Apache or nginx version (eg, Apache 2.4.25): Apache 2.0
PHP version (eg, 7.1): 7.1
The issue you are facing:
Since the update to version 14.0.3 I have this PHP Error in the Log:
PHP Directive ‘safe_mode_protected_env_vars’ is no longer available in PHP 5.4 or newer at Unknown#0
Is this the first time you’ve seen this error? (Y/N):
Yes
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
{"reqId":"ly4UwZzB9OwGn7eU8rKC","level":3,"time":"2018-06-07T15:53:34+00:00","remoteAddr":"46.237.244.210","user":"Administrator","app":"PHP","method":"GET","url":"\/cloud\/index.php\/css\/files\/4fda-a4fe-merged.css?v=8a6574c3-0","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"kn7ZgqLEtEMywasgrZwO","level":3,"time":"2018-06-07T15:53:34+00:00","remoteAddr":"46.237.244.210","user":"Administrator","app":"PHP","method":"GET","url":"\/cloud\/index.php\/css\/files_trashbin\/1980-a4fe-trash.css?v=8a6574c3-0","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"557cEyn28VLpC5pmVimt","level":3,"time":"2018-06-07T16:38:49+00:00","remoteAddr":"46.237.244.210","user":"Administrator","app":"PHP","method":"GET","url":"\/cloud\/index.php\/css\/files\/4fda-a4fe-merged.css?v=8a6574c3-0","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"7iPBEQPrC2MLkhVmabaT","level":3,"time":"2018-06-07T16:38:50+00:00","remoteAddr":"46.237.244.210","user":"Administrator","app":"PHP","method":"GET","url":"\/cloud\/index.php\/css\/files_trashbin\/1980-a4fe-trash.css?v=8a6574c3-0","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/66.0.3359.181 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"zcS3oU2bF8Rmzlpe9rhB","level":2,"time":"2018-06-08T12:57:31+00:00","remoteAddr":"62.91.85.60","user":"--","app":"core","method":"GET","url":"\/cloud\/","message":"Trusted domain error. \"62.91.85.60\" tried to access using \"fischer-engstingen.de\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/67.0.3396.79 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"cumeIz3JcaQekBxQfs3m","level":2,"time":"2018-06-08T12:57:31+00:00","remoteAddr":"62.91.85.60","user":"--","app":"core","method":"GET","url":"\/cloud\/index.php\/js\/core\/merged-template-prepend.js?v=8a6574c3-0","message":"Trusted domain error. \"62.91.85.60\" tried to access using \"fischer-engstingen.de\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/67.0.3396.79 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"AUH8S2p3EMpWQow78p3A","level":3,"time":"2018-06-08T13:04:01+00:00","remoteAddr":"62.91.85.60","user":"Andreas","app":"PHP","method":"MKCOL","url":"\/cloud\/remote.php\/webdav\/FischerICT","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/67.0.3396.79 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"q3hAIKtGRfCYAm7PHQKP","level":3,"time":"2018-06-08T13:04:07+00:00","remoteAddr":"62.91.85.60","user":"Andreas","app":"PHP","method":"GET","url":"\/cloud\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/67.0.3396.79 Safari\/537.36","version":"13.0.3.2"}
{"reqId":"fYLuqMjIAYI1QLpr5kax","level":3,"time":"2018-06-08T13:04:07+00:00","remoteAddr":"62.91.85.60","user":"Andreas","app":"PHP","method":"GET","url":"\/cloud\/index.php\/apps\/activity\/","message":"Directive 'safe_mode_protected_env_vars' is no longer available in PHP 5.4 or newer at Unknown#0","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/67.0.3396.79 Safari\/537.36","version":"13.0.3.2"}
.......
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'instanceid',
'passwordsalt' => 'passwordsalt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'www.domain.de',
1 => 'domain.de',
),
'datadirectory' => '/var/www/web23256488/htmlcloud/data',
'overwrite.cli.url' => 'https://www.domain.de/cloud',
'dbtype' => 'mysql',
'version' => '14.0.3.0',
'dbname' => 'dbname',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'tls',
'mail_from_address' => 'admin',
'mail_domain' => 'domain.de',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.domain.com',
'mail_smtpport' => '587',
'mail_smtpname' => 'admin@domain.de',
'mail_smtppassword' => 'mailpass',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
This is a webspace, I don´t Have access to the Apache log file. Sorry!