msg:t('core','Your web server is not properly set up to resolve "{url}". Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.',{docLink:docUrl,url:url}),
msg:t('core','PHP does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.')+' '+
t(
'core',
'Please check the <a target="_blank" rel="noreferrer noopener" href="{docLink}">installation documentation ↗</a> for PHP configuration notes and the PHP configuration of your server, especially when using php-fpm.',
msg:t('core','The read-only config has been enabled. This prevents setting some configurations via the web-interface. Furthermore, the file needs to be made writable manually for every update.'),
type:OC.SetupChecks.MESSAGE_TYPE_INFO
});
}
if(!data.hasValidTransactionIsolationLevel){
messages.push({
msg:t('core','Your database does not run with "READ COMMITTED" transaction isolation level. This can cause problems when multiple actions are executed in parallel.'),
type:OC.SetupChecks.MESSAGE_TYPE_ERROR
});
}
if(!data.hasFileinfoInstalled){
messages.push({
msg:t('core','The PHP module "fileinfo" is missing. It is strongly recommended to enable this module to get the best results with MIME type detection.'),
type:OC.SetupChecks.MESSAGE_TYPE_INFO
});
}
if(data.outdatedCaches.length>0){
data.outdatedCaches.forEach(function(element){
messages.push({
msg:t(
'core',
'{name} below version {version} is installed, for stability and performance reasons it is recommended to update to a newer {name} version.',
element
),
type:OC.SetupChecks.MESSAGE_TYPE_WARNING
})
});
}
if(!data.hasWorkingFileLocking){
messages.push({
msg:t('core','Transactional file locking is disabled, this might lead to issues with race conditions. Enable "filelocking.enabled" in config.php to avoid these problems. See the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation ↗</a> for more information.',{docLink:oc_defaults.docPlaceholderUrl.replace('PLACEHOLDER','admin-transactional-locking')}),
type:OC.SetupChecks.MESSAGE_TYPE_WARNING
});
}
if(data.suggestedOverwriteCliURL!==''){
messages.push({
msg:t('core','If your installation is not installed at the root of the domain and uses system cron, there can be issues with the URL generation. To avoid these problems, please set the "overwrite.cli.url" option in your config.php file to the webroot path of your installation (suggestion: "{suggestedOverwriteCliURL}")',{suggestedOverwriteCliURL:data.suggestedOverwriteCliURL}),
type:OC.SetupChecks.MESSAGE_TYPE_WARNING
});
}
if(data.cronErrors.length>0){
varlistOfCronErrors="";
data.cronErrors.forEach(function(element){
listOfCronErrors+="<li>";
listOfCronErrors+=element.error;
listOfCronErrors+=' ';
listOfCronErrors+=element.hint;
listOfCronErrors+="</li>";
});
messages.push({
msg:t(
'core',
'It was not possible to execute the cron job via CLI. The following technical errors have appeared:'
)+"<ul>"+listOfCronErrors+"</ul>",
type:OC.SetupChecks.MESSAGE_TYPE_ERROR
})
}
if(data.cronInfo.diffInSeconds>3600){
messages.push({
msg:t('core','Last background job execution ran {relativeTime}. Something seems wrong.',{relativeTime:data.cronInfo.relativeTime})+
' <a href="'+data.cronInfo.backgroundJobsUrl+'">'+t('core','Check the background job settings')+'</a>',
msg:t('core','This server has no working Internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. Establish a connection from this server to the Internet to enjoy all features.'),
msg:t('core','No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.',{docLink:data.memcacheDocs}),
msg:t('core','/dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.',{docLink:data.securityDocs}),
msg:t('core','You are currently running PHP {version}. Upgrade your PHP version to take advantage of <a target="_blank" rel="noreferrer noopener" href="{phpLink}">performance and security updates provided by the PHP Group</a> as soon as your distribution supports it.',{version:data.phpSupported.version,phpLink:'https://secure.php.net/supported-versions.php'}),
msg:t('core','You are currently running PHP 5.6. The current major version of Nextcloud is the last that is supported on PHP 5.6. It is recommended to upgrade the PHP version to 7.0+ to be able to upgrade to Nextcloud 14.'),
msg:t('core','The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.',{docLink:data.reverseProxyDocs}),
msg:t('core','Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the <a target="_blank" rel="noreferrer noopener" href="{wikiLink}">memcached wiki about both modules</a>.',{wikiLink:'https://code.google.com/p/memcached/wiki/PHPClientComparison'}),
'Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>. (<a href="{codeIntegrityDownloadEndpoint}">List of invalid files…</a> / <a href="{rescanEndpoint}">Rescan…</a>)',
'The PHP OPcache module is not loaded. <a target="_blank" rel="noreferrer noopener" href="{docLink}">For better performance it is recommended</a> to load it into your PHP installation.',
'The PHP OPcache is not properly configured. <a target="_blank" rel="noreferrer noopener" href="{docLink}">For better performance it is recommended</a> to use the following settings in the <code>php.ini</code>:',
'The PHP function "set_time_limit" is not available. This could result in scripts being halted mid-execution, breaking your installation. Enabling this function is strongly recommended.'),
listOfMissingIndexes+=t('core','Missing index "{indexName}" in table "{tableName}".',element);
listOfMissingIndexes+="</li>";
});
messages.push({
msg:t(
'core',
'The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.'
'SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend.'
)+' '+t('core','This is particularly recommended when using the desktop client for file synchronisation.')+' '+
t(
'core',
'To migrate to another database use the command line tool: \'occ db:convert-type\', or see the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation ↗</a>.',
'Use of the the built in php mailer is no longer supported. <a target="_blank" rel="noreferrer noopener" href="{docLink}">Please update your email server settings ↗<a/>.',
msg:t('core','Your data directory and files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root.'),
varmsg=t('core','The "{header}" HTTP header is not set to "{expected}". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.',{header:header,expected:option});
msg=t('core','The "{header}" HTTP header is not set to "{expected}". Some features might not work correctly, as it is recommended to adjust this setting accordingly.',{header:header,expected:option});
msg:t('core','The "{header}" HTTP header is not set to "{val1}", "{val2}", "{val3}", "{val4}" or "{val5}". This can leak referer information. See the <a target="_blank" rel="noreferrer noopener" href="{link}">W3C Recommendation ↗</a>.',
msg:t('core','The "Strict-Transport-Security" HTTP header is not set to at least "{seconds}" seconds. For enhanced security, it is recommended to enable HSTS as described in the <a href="{docUrl}" rel="noreferrer noopener">security tips ↗</a>.',{'seconds':minimumSeconds,docUrl:tipsUrl}),
msg:t('core','Accessing site insecurely via HTTP. You are strongly adviced to set up your server to require HTTPS instead, as described in the <a href="{docUrl}">security tips ↗</a>.',{docUrl:tipsUrl}),