Bad gateway 502 on nextcloud after upgrading openmediavault to v4 (arrakis)

Nextcloud version : NC 13.0.4.0
Operating system and version : OMV 4.1.10 Arrakis
Apache or nginx version : nginx/1.12.2
PHP version (eg, 7.1): PHP 7.0

The issue you are facing: after upgrading OMV to 4.X (and php 5.x to php 7) can´t reach my nextcloud on my OMV Server

Is this the first time you’ve seen this error? (Y/N): Y (since a while now)

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:



The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):
<?php $CONFIG = array ( 'instanceid' => 'ocihxxxxjds', 'passwordsalt' => 'xxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxxx, 'trusted_domains' => array ( 0 => '192.168.178.xx', 1 => 'xxxxxxxxxxx', ), 'datadirectory' => '/srv/dev-disk-by-id-md-name-openmediavault-SoftwareRAID1/nextcloud/data', 'overwrite.cli.url' => 'https://192.168.178.xx', 'dbtype' => 'mysql', 'version' => '13.0.4.0', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextcloud', 'dbpassword' => 'xxxxx', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpsecure' => 'ssl', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'updater.secret' => 'xxxxxxxxxxx', ); ``` -------------- The output of your Apache/nginx/system log in `/var/log/____`: ``` can't find that... ``` ---------------- **anyone had the same problem? any solutions?** Michael