Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
17.8.0
-
None
-
Unknown
-
Description
I ran an apt update and the database configuration was overwritten while I answered no ( see below snippet ), version :
Unpacking xwiki-pgsql-common (17.8.0+1) over (17.4.0) ...
Setting up xwiki-pgsql-common (17.8.0+1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.)
debconf: falling back to frontend: Readline
Configuring xwiki-pgsql-common
------------------------------
The xwiki package must have a database installed and configured before it can be used. This can be optionally handled with dbconfig-common.
If you are an advanced database administrator and know that you want to perform this configuration manually, or if your database has already been installed and configured, you should refuse this option. Details on what needs to be
done should most likely be provided in /usr/share/doc/xwiki.
Otherwise, you should probably choose this option.
Configure database for xwiki with dbconfig-common? [yes/no] no
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
Replacing config file /etc/dbconfig-common/xwiki.conf with new version
dbconfig-common: flushing administrative password
This resulted in my instance having a new database and the configuration being overwritten, without having a backup file, so I need to reconfigure everything to get my data back.
I kept the local versions of files that were suggested to review :
A new version (/usr/share/xwiki/default/xwiki.cfg) of configuration file /etc/xwiki/xwiki.cfg is available, but the version installed currently has been locally modified.
1. install the package maintainer's version 3. show the differences between the versions 5. show a 3-way difference between available versions 7. start a new shell to examine the situation
2. keep the local version currently installed 4. show a side-by-side difference between the versions 6. do a 3-way merge between available versions
What do you want to do about modified configuration file xwiki.cfg? 2
and
A new version (/usr/share/xwiki/default/xwiki.properties) of configuration file /etc/xwiki/xwiki.properties is available, but the version installed currently has been locally modified.
1. install the package maintainer's version 3. show the differences between the versions 5. show a 3-way difference between available versions 7. start a new shell to examine the situation
2. keep the local version currently installed 4. show a side-by-side difference between the versions 6. do a 3-way merge between available versions
What do you want to do about modified configuration file xwiki.properties? 2
seems like the choice for dbconfig-common as no should not have overwritten the file, at least that is what I understand from the description.
I would have expected at least a backup of the config file.