PHP error messages open_basedir

Hello anybody,

I have installed and configured my nextcloud. It is all configured, but I get error messages every second like these:

Error PHP file_exists(): open_basedir restriction in effect. File(/var/www/nextcloud.log) is not within the allowed path(s): (/var/www/nextcloud:/tmp:/dev/urandom:/proc/meminfo) at /var/www/nextcloud/lib/private/Log/File.php#60
2019-02-07T19:31:28+0100
2019-02-07T19:31:28+0100
Error PHP is_writable(): open_basedir restriction in effect. File(/var/www) is not within the allowed path(s): (/var/www/nextcloud:/tmp:/dev/urandom:/proc/meminfo) at /var/www/nextcloud/lib/private/Log/File.php#63
2019-02-07T19:31:28+0100
Error PHP file_exists(): open_basedir restriction in effect. File(/var/www/nextcloud.log) is not within the allowed path(s): (/var/www/nextcloud:/tmp:/dev/urandom:/proc/meminfo) at /var/www/nextcloud/lib/private/Log/File.php#60
2019-02-07T19:31:28+0100
Error PHP is_writable(): open_basedir restriction in effect. File(/var/www) is not within the allowed path(s): (/var/www/nextcloud:/tmp:/dev/urandom:/proc/meminfo) at /var/www/nextcloud/lib/private/Log/File.php#63
2019-02-07T19:31:27+0100
Error PHP file_exists(): open_basedir restriction in effect. File(/var/www/nextcloud.log) is not within the allowed path(s): (/var/www/nextcloud:/tmp:/dev/urandom:/proc/meminfo) at /var/www/nextcloud/lib/private/Log/File.php#60
2019-02-07T19:31:27+0100

Do you know how can I change this?

Best regards
HR_c

Have you resolved this issue yet?

I ask as I’ve just had the ’open_basedir restriction in effect’ error returned.