Our log gets flooded with (almost) the same lines after 25 > 26 update. The only difference is
php74
where its is php73
in the OP.
We have not noticed further issues so far.
We’re on shared webhosting based on Litespeed Web Server and DirectAdmin. Provider internettoday.nl. Nextcloud was installed using the web installer promoted here: Install - Nextcloud.
Details:
Nextcloud version : 26.0.1
Operating system and version : Linux 3.10.0-962.3.2.lve1.5.79.el7.x86_64 #1 SMP x86_64
Apache or nginx version : Apache/2 (litespeed)
PHP version : 8.1.17
The issue you are facing: same as OP above
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- update 25.0.5 > 26.0.1 (via 25.0.6 and 26.0)
- look ub /index.php/settings/admin/logging
The output of your Nextcloud log in Admin > Logging:
[PHP] Error: is_file(): open_basedir restriction in effect. File(/proc/cpuinfo) is not within the allowed path(s): (/home/<account>/:/tmp:/var/tmp:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php74/lib/php/) at /home/<account>/domains/example.com/public_html/cloud/lib/private/Preview/Generator.php#351
GET /index.php/core/preview?fileId=464&c=c5edf881068c4f84bc6c9eb94f3cdcc9&x=375&y=375&forceIcon=0&a=1
from 2a10:3781:15:1:64d0:faf:896:88ea by <admin account> at 2023-04-23T20:44:04+00:00
(as it seems this line appears at any activity)
The output of our config.php file in /path/to/nextcloud
:
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.example.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "26.0.1.1",
"overwrite.cli.url": "https:\/\/cloud.example.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"theme": "",
"loglevel": 2,
"default_language": "nl",
"default_locale": "nl_NL",
"defaultapp": "files",
"default_phone_region": "NL",
"skeletondirectory": "\/home\/<account>\/domains\/example.com\/public_html\/clouddata\/skeleton",
"templatedirectory": ""
}
The output of your Apache/nginx/system log in /var/log/____
: we have no access to that.
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
[Sat Apr 22 00:10:47.369999 2023] [ssl:warn] [pid 3548:tid 140332246354048] AH01909: www.cloud.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 22 00:24:45.679993 2023] [ssl:warn] [pid 3548:tid 140332246354048] AH01909: www.cloud.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 22 01:56:39.407407 2023] [authz_core:error] [pid 1131188:tid 140330959476480] [client 185.81.157.178:55732] AH01630: client denied by server configuration: /home/<account>/domains/example.com/public_html/cloud/.env
[Sat Apr 22 04:17:57.462229 2023] [authz_core:error] [pid 1568317:tid 140330791622400] [client 185.81.157.178:52064] AH01630: client denied by server configuration: /home/<account>/domains/example.com/public_html/cloud/.env