-
-
Notifications
You must be signed in to change notification settings - Fork 289
Description
Describe the problem
Upon migrating from 3.9.2 to 4.0.0 using the migration script I am greeted by the following errors
Error: Invalid configuration: iface_index must be an string and one of the following values: cards, list
Error: Invalid configuration: iface_rowamount must be a positive integer
Error: Invalid configuration: iface_lang must be a non-empty string
Error: Invalid configuration: iface_enabled_languages must be a non-empty string and contain a list of languages separated by commas
Error: Invalid configuration: syslog_use must be a boolean value (unquoted true or false)
These values were set in the old config.inc.php as the following
$iface_lang = 'en_EN';
$iface_enabled_languages = 'en_EN';
$iface_rowamount = 30;
$iface_index = 'cards'; // or list
$syslog_use = false;
$syslog_ident = 'poweradmin';
$syslog_facility = LOG_USER;
In the new settings.php I have the relevant sections that have been converted by the migration tool
'interface' =>
[
'language' => 'en_EN',
'enabled_languages' => 'en_EN',
'style' => 'light',
'theme_base_path' => 'templates',
'title' => 'Poweradmin',
'session_timeout' => 1800,
'rows_per_page' => 30,
'display_serial_in_zone_list' => false,
'display_template_in_zone_list' => false,
'show_zone_comments' => true,
'search_group_records' => true,
'add_reverse_record' => true,
'theme' => 'default',
],
'logging' =>
[
'database_enabled' => false,
'syslog_enabled' => false,
'syslog_identity' => 'poweradmin',
'syslog_facility' => 8,
],
I was not expecting to see these errors and instead see the login page
Steps to reproduce
Move across an old config.inc.php with the values set for the interface as above.
run the config migration
migrate the database
restart the webserver pointing at the new directory as the site root
Poweradmin version
4.0.0
Database
MariaDB
Additional information (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore FeaturesCore Features