Hi there,
I have an error in my nextcloud logging interface. Could you have a look on it and help me find the problem in my instance?
I would apreciate any help! Please finde the logs below!
Nextcloud version: 20.0.11.1
Operating system and version: Linux 4.9.0-16-amd64 x86_64
Apache or nginx version: Sorry, I don't know as it is a webhosting
PHP version: 7.4.22
Logs
The output of your Nextcloud log in Admin > Logging:
[PHP] Error: Error: is_file(): open_basedir restriction in effect. File(/l10n/en.js) is not within the allowed path(s): (/var/www/vhosts/path/domain/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/hosting/tmp) at /var/www/vhosts/path/domain/lib/private/Template/ResourceLocator.php#106 at <<closure>>
0. <<closure>>
OC\Log\ErrorHandler::onError(2, "is_file(): open ... )", "/var/www/vhosts ... p", 106, {root: false,fil ... e})
1. /var/www/vhosts/path/domain/lib/private/Template/ResourceLocator.php line 106
is_file("/l10n/en.js")
2. /var/www/vhosts/path/domain/lib/private/Template/JSResourceLocator.php line 91
OC\Template\ResourceLocator->appendIfExist(false, "l10n/en.js", false)
3. /var/www/vhosts/path/domain/lib/private/Template/ResourceLocator.php line 79
OC\Template\JSResourceLocator->doFind("l10n/en")
4. /var/www/vhosts/path/domain/lib/private/TemplateLayout.php line 364
OC\Template\ResourceLocator->find(["core/js/dist/m ... "])
5. /var/www/vhosts/path/domain/lib/private/TemplateLayout.php line 194
OC\TemplateLayout::findJavascriptFiles(["core/js/dist/m ... "])
6. /var/www/vhosts/path/domain/lib/private/legacy/OC_Template.php line 183
OC\TemplateLayout->__construct("user", "settings")
7. /var/www/vhosts/path/domain/lib/public/AppFramework/Http/TemplateResponse.php line 210
OC_Template->fetchPage({forms: {persona ... "})
8. /var/www/vhosts/path/domain/lib/private/AppFramework/Http/Dispatcher.php line 123
OCP\AppFramework\Http\TemplateResponse->render()
9. /var/www/vhosts/path/domain/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "index")
10. /var/www/vhosts/path/domain/lib/private/Route/Router.php line 309
OC\AppFramework\App::main("OCA\\Settings\\ ... r", "index", OC\AppFramework\ ... {}, {section: "loggi ... "})
11. /var/www/vhosts/path/domain/lib/base.php line 1008
OC\Route\Router->match("/settings/admin/logging")
12. /var/www/vhosts/path/domain/index.php line 37
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' =>
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
),
'datadirectory' => '/var/www/vhosts/hosting.net/path/data',
'dbtype' => 'mysql',
'version' => '20.0.11.1',
'overwrite.cli.url' => '',
'dbname' => '',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'mail_domain' => 'domain',
'mail_from_address' => 'tech',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'hoster.net',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'maintenance' => false,
'updater.release.channel' => 'stable',
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'occweb',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
I dont know how to get this, if its necessary I would love to share if you tell me where to find it.