(After update to 28.0.4) missing slash in ResourceLocator.php?

I’ve been getting errors like the following after the latest update (28.0.4):

is_file(): open_basedir restriction in effect. File(/srv/html/nextcloudapps//core/l10n/fi.mjs) is not within the allowed path(s): (/srv/html/nextcloud/:/srv/nextcloud/:/tmp/:/dev/urandom:/appinfo/:/img/:/l10n/:/templates/:/proc/cpuinfo) at /srv/html/nextcloud/lib/private/Template/ResourceLocator.php#100 

My nextcloud installation root is /srv/html/nextcloud, so evidently a slash is not being added after it, resulting in the error.

Nextcloud version (eg, 20.0.5): 28.0.4
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): 2.4.38
PHP version (eg, 7.4): 8.1

Please see Lot of errors in system log after update to Nextcloud 28.0.4 - #7 by SysKeeper

Thanks for the quick reply. This was hard to find just by Googling…

I don’t have a root server for NC.
I have “installed” it in a webspace at the provider netcup.
How can I fix it there? I guess many users using NC in a webspace environment and facing the same issue…

It’s solved.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.