Support intro
Nextcloud version : 14.0.7.1
Operating system and version : Ubuntu 18
Apache :
PHP version : 7.2.19
The issue you are facing:
I migrated my nextcloud, from a VPS to an anopther one… Now, I finished the migration process, but when I access the nextcloud page, I get the internal error message page, instead of the maintenance mode on page.
Thanks you for your help !!!
Is this the first time you’ve seen this error? : Yes
The output of your Nextcloud log in Admin > Logging: in maintenance mode, cannot access it ?
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'XXXXXX',
'secret' => 'XXXXXX',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nextcloud.XXXXX',
2 => 'nuage.XXXXXX',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'http://XXXXXXX',
'htaccess.RewriteBase' => '/',
'dbtype' => 'mysql',
'version' => '14.0.7.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'XXXXXXXXX',
'logfile' => '/var/log/nextcloud.log',
'loglevel' => '2',
'log_rotate_size' => '104857600',
'installed' => true,
'instanceid' => 'XXXXXXX',
'skeletondirectory' => '/var/www/nextcloud/data/skeleton/',
'mail_domain' => 'XXXXXXX',
'mail_from_address' => 'XXXXXX',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'default_language' => 'fr',
0 => 'php_value upload_max_filesize = 10G',
1 => 'php_value post_max_size = 10G',
'maintenance' => true,
'loglevel' => 2,
'mail_sendmailmode' => 'smtp',
);
The output of your Apache/nginx/system log in /var/log/____
:
{"reqId":"j91GOERfVs0SD0E5STdX",
"level"3,
"time":"2019-08-14T15:40:47+00:00",
"remoteAddr":"194.187.249.34",
"user":"--",
"app":"index",
"method":"GET",
"url":"\/",
"message":{"Exception":"Punic\\Exception\\DataFileNotFound",
"Message":"Unable to find the data file 'parentLocales'",
"Code":10004,
"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Data.php",
"line":465,
"function":"getGeneric",
"class":"Punic\\Data",
"type":"::",
"args":["parentLocales"]},
{"file":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Data.php",
"line":529,
"function":"explodeLocale",
"class":"Punic\\Data",
"type":"::",
"args":["fr"]},
{"file":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Data.php",
"line":503,
"function":"getLocaleAlternatives",
"class":"Punic\\Data",
"type":"::",
"args":["fr"]},
{"file":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Data.php",
"line":142,
"function":"getLocaleFolder",
"class":"Punic\\Data",
"type":"::",
"args":["fr"]},
{"file":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Calendar.php",
"line":743,
"function":"get",
"class":"Punic\\Data",
"type":"::",
"args":["calendar","fr"]},
{"file":"\/var\/www\/nextcloud\/lib\/private\/L10N\/L10N.php",
"line":173,
"function":"getDateFormat",
"class":"Punic\\Calendar",
"type":"::",
"args":["short","fr"]},
{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSConfigHelper.php",
"line":168,
"function":"l","class":"OC\\L10N\\L10N",
"type":"->","args":["jsdate",null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",
"line":176,
"function":"getConfig",
"class":"OC\\Template\\JSConfigHelper",
"type":"->",
"args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",
"line":210,
"function":"__construct",
"class":"OC\\TemplateLayout",
"type":"->",
"args":["guest",""]},
{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php",
"line":132,
"function":"fetchPage",
"class":"OC_Template",
"type":"->","args":[]},
{"file":"\/var\/www\/nextcloud\/lib\/base.php",
"line":297,
"function":"printPage",
"class":"OC\\Template\\Base",
"type":"->",
"args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php",
"line":935,"function":"checkMaintenanceMode",
"class":"OC",
"type":"::",
"args":[]},{"file":"\/var\/www\/nextcloud\/index.php",
"line":42,
"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]}],
"File":"\/var\/www\/nextcloud\/3rdparty\/punic\/punic\/code\/Data.php",
"Line":194,"CustomMessage":"--"},
"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko\/20100101 Firefox\/68.0","version":"14.0.7.1"}