View Issue Details

IDProjectCategoryView StatusLast Update
0007919Talerotherpublic2023-09-23 15:09
ReporterHooligan0 Assigned ToChristian Grothoff  
PriorityurgentSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
OSdebianOS Version12.1 
Product Version0.9.2 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007919: Database initialisation error during install from packages
DescriptionOn a new fresh (newly installed) debian 12.1, when trying to install taler-merchant using debian packages, the following error is reported during database init :

Creating config file /etc/dbconfig-common/taler-merchant.conf with new version
creating postgres user taler-merchant-httpd: success.
verifying creation of user: success.
creating database talermerchant: success.
verifying database talermerchant exists: success.
populating database via scriptfile... psql:<stdin>:1: ERROR: database "pgsql" does not exist
done.
TagsNo tags attached.

Activities

Hooligan0

2023-08-18 15:13

reporter   ~0020418

Join the full log of install process
taler-log.txt (24,988 bytes)   
root@debian:~# wget -P /etc/apt/keyrings/ https://taler.net/taler-systems.gpg
--2023-08-18 11:48:44--  https://taler.net/taler-systems.gpg
Resolving taler.net (taler.net)... 147.87.255.221, 2a07:6b47:100:464:225:90ff:fe93:72cf
Connecting to taler.net (taler.net)|147.87.255.221|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1756 (1.7K) [application/octet-stream]
Saving to: ‘/etc/apt/keyrings/taler-systems.gpg’

taler-systems.gpg                                    100%[======================================================================================================================>]   1.71K  --.-KB/s    in 0s

2023-08-18 11:48:45 (4.18 MB/s) - ‘/etc/apt/keyrings/taler-systems.gpg’ saved [1756/1756]

root@debian:~# apt update
Get:1 https://deb.taler.net/apt/debian stable InRelease [1,637 B]
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://security.debian.org/debian-security bookworm-security InRelease
Get:5 https://deb.taler.net/apt/debian stable/main amd64 Packages [18.8 kB]
Fetched 20.4 kB in 1s (38.7 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@debian:~# apt install dbconfig-pgsql taler-merchant
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils dbconfig-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcommon-sense-perl libcurl4 libgnunet libjson-perl libjson-xs-perl libllvm14
  libltdl7 liblua5.3-0 libmicrohttpd12 libpq5 libqrencode4 libsensors-config libsensors5 libsodium23 libtalerexchange libtalermerchant libtypes-serialiser-perl libxslt1.1 libz3-4 postgresql postgresql-15
  postgresql-client postgresql-client-15 postgresql-client-common postgresql-common ssl-cert sysstat
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser lm-sensors postgresql-doc postgresql-doc-15 isag
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils dbconfig-common dbconfig-pgsql libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcommon-sense-perl libcurl4 libgnunet libjson-perl libjson-xs-perl
  libllvm14 libltdl7 liblua5.3-0 libmicrohttpd12 libpq5 libqrencode4 libsensors-config libsensors5 libsodium23 libtalerexchange libtalermerchant libtypes-serialiser-perl libxslt1.1 libz3-4 postgresql
  postgresql-15 postgresql-client postgresql-client-15 postgresql-client-common postgresql-common ssl-cert sysstat taler-merchant
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.6 MB of archives.
After this operation, 223 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bookworm/main amd64 libapr1 amd64 1.7.2-3 [102 kB]
Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 libcurl4 amd64 7.88.1-10+deb12u1 [386 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libaprutil1 amd64 1.6.3-1 [87.8 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.3-1 [13.6 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 libaprutil1-ldap amd64 1.6.3-1 [11.8 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 liblua5.3-0 amd64 5.3.6-2 [123 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 apache2-bin amd64 2.4.57-2 [1,364 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 apache2-data all 2.4.57-2 [160 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 apache2-utils amd64 2.4.57-2 [202 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 apache2 amd64 2.4.57-2 [215 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 libjson-perl all 4.10000-1 [87.5 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248 [35.1 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 ssl-cert all 1.1.2 [21.1 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 postgresql-common all 248 [179 kB]
Get:15 http://deb.debian.org/debian bookworm/main amd64 dbconfig-common all 2.0.24 [592 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 libpq5 amd64 15.3-0+deb12u1 [185 kB]
Get:17 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-15 amd64 15.3-0+deb12u1 [1,690 kB]
Get:18 http://deb.debian.org/debian bookworm/main amd64 postgresql-client all 15+248 [10.1 kB]
Get:19 http://deb.debian.org/debian bookworm/main amd64 dbconfig-pgsql all 2.0.24 [1,068 B]
Get:20 http://deb.debian.org/debian bookworm/main amd64 libcommon-sense-perl amd64 3.75-3 [23.0 kB]
Get:21 http://deb.debian.org/debian bookworm/main amd64 libltdl7 amd64 2.4.7-5 [393 kB]
Get:22 http://deb.debian.org/debian bookworm/main amd64 libmicrohttpd12 amd64 0.9.75-6 [119 kB]
Get:23 http://deb.debian.org/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1 [161 kB]
Get:24 http://deb.debian.org/debian bookworm/main amd64 libtypes-serialiser-perl all 1.01-1 [12.2 kB]
Get:25 http://deb.debian.org/debian bookworm/main amd64 libjson-xs-perl amd64 4.030-2+b1 [92.1 kB]
Get:26 http://deb.debian.org/debian bookworm/main amd64 libz3-4 amd64 4.8.12-3.1 [7,216 kB]
Get:27 http://deb.debian.org/debian bookworm/main amd64 libllvm14 amd64 1:14.0.6-12 [21.8 MB]
Get:28 https://deb.taler.net/apt/debian stable/main amd64 libgnunet amd64 0.19.3 [469 kB]
Get:29 https://deb.taler.net/apt/debian stable/main amd64 libtalerexchange amd64 0.9.2-2 [360 kB]
Get:30 https://deb.taler.net/apt/debian stable/main amd64 libtalermerchant amd64 0.9.2-2 [83.9 kB]
Get:31 https://deb.taler.net/apt/debian stable/main amd64 taler-merchant amd64 0.9.2-2 [2,842 kB]
Get:32 http://deb.debian.org/debian bookworm/main amd64 libqrencode4 amd64 4.1.1-1 [40.4 kB]
Get:33 http://deb.debian.org/debian bookworm/main amd64 libsensors-config all 1:3.6.0-7.1 [14.3 kB]
Get:34 http://deb.debian.org/debian bookworm/main amd64 libsensors5 amd64 1:3.6.0-7.1 [34.2 kB]
Get:35 http://deb.debian.org/debian bookworm/main amd64 libxslt1.1 amd64 1.1.35-1 [242 kB]
Get:36 http://deb.debian.org/debian bookworm/main amd64 postgresql-15 amd64 15.3-0+deb12u1 [16.6 MB]
Get:37 http://deb.debian.org/debian bookworm/main amd64 postgresql all 15+248 [10.1 kB]
Get:38 http://deb.debian.org/debian bookworm/main amd64 sysstat amd64 12.6.1-1 [596 kB]
Fetched 56.6 MB in 1s (51.7 MB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libapr1:amd64.
(Reading database ... 34523 files and directories currently installed.)
Preparing to unpack .../00-libapr1_1.7.2-3_amd64.deb ...
Unpacking libapr1:amd64 (1.7.2-3) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../01-libaprutil1_1.6.3-1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.3-1) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../02-libaprutil1-dbd-sqlite3_1.6.3-1_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.3-1) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../03-libaprutil1-ldap_1.6.3-1_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.6.3-1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../04-libcurl4_7.88.1-10+deb12u1_amd64.deb ...
Unpacking libcurl4:amd64 (7.88.1-10+deb12u1) ...
Selecting previously unselected package liblua5.3-0:amd64.
Preparing to unpack .../05-liblua5.3-0_5.3.6-2_amd64.deb ...
Unpacking liblua5.3-0:amd64 (5.3.6-2) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../06-apache2-bin_2.4.57-2_amd64.deb ...
Unpacking apache2-bin (2.4.57-2) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../07-apache2-data_2.4.57-2_all.deb ...
Unpacking apache2-data (2.4.57-2) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../08-apache2-utils_2.4.57-2_amd64.deb ...
Unpacking apache2-utils (2.4.57-2) ...
Selecting previously unselected package apache2.
Preparing to unpack .../09-apache2_2.4.57-2_amd64.deb ...
Unpacking apache2 (2.4.57-2) ...
Selecting previously unselected package libjson-perl.
Preparing to unpack .../10-libjson-perl_4.10000-1_all.deb ...
Unpacking libjson-perl (4.10000-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../11-postgresql-client-common_248_all.deb ...
Unpacking postgresql-client-common (248) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../12-ssl-cert_1.1.2_all.deb ...
Unpacking ssl-cert (1.1.2) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../13-postgresql-common_248_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (248) ...
Selecting previously unselected package dbconfig-common.
Preparing to unpack .../14-dbconfig-common_2.0.24_all.deb ...
Unpacking dbconfig-common (2.0.24) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../15-libpq5_15.3-0+deb12u1_amd64.deb ...
Unpacking libpq5:amd64 (15.3-0+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../16-postgresql-client-15_15.3-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.3-0+deb12u1) ...
Selecting previously unselected package postgresql-client.
Preparing to unpack .../17-postgresql-client_15+248_all.deb ...
Unpacking postgresql-client (15+248) ...
Selecting previously unselected package dbconfig-pgsql.
Preparing to unpack .../18-dbconfig-pgsql_2.0.24_all.deb ...
Unpacking dbconfig-pgsql (2.0.24) ...
Selecting previously unselected package libcommon-sense-perl:amd64.
Preparing to unpack .../19-libcommon-sense-perl_3.75-3_amd64.deb ...
Unpacking libcommon-sense-perl:amd64 (3.75-3) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../20-libltdl7_2.4.7-5_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.7-5) ...
Selecting previously unselected package libmicrohttpd12:amd64.
Preparing to unpack .../21-libmicrohttpd12_0.9.75-6_amd64.deb ...
Unpacking libmicrohttpd12:amd64 (0.9.75-6) ...
Selecting previously unselected package libsodium23:amd64.
Preparing to unpack .../22-libsodium23_1.0.18-1_amd64.deb ...
Unpacking libsodium23:amd64 (1.0.18-1) ...
Selecting previously unselected package libgnunet.
Preparing to unpack .../23-libgnunet_0.19.3_amd64.deb ...
Unpacking libgnunet (0.19.3) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../24-libtypes-serialiser-perl_1.01-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.01-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../25-libjson-xs-perl_4.030-2+b1_amd64.deb ...
Unpacking libjson-xs-perl (4.030-2+b1) ...
Selecting previously unselected package libz3-4:amd64.
Preparing to unpack .../26-libz3-4_4.8.12-3.1_amd64.deb ...
Unpacking libz3-4:amd64 (4.8.12-3.1) ...
Selecting previously unselected package libllvm14:amd64.
Preparing to unpack .../27-libllvm14_1%3a14.0.6-12_amd64.deb ...
Unpacking libllvm14:amd64 (1:14.0.6-12) ...
Selecting previously unselected package libqrencode4:amd64.
Preparing to unpack .../28-libqrencode4_4.1.1-1_amd64.deb ...
Unpacking libqrencode4:amd64 (4.1.1-1) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../29-libsensors-config_1%3a3.6.0-7.1_all.deb ...
Unpacking libsensors-config (1:3.6.0-7.1) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../30-libsensors5_1%3a3.6.0-7.1_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.6.0-7.1) ...
Selecting previously unselected package libtalerexchange.
Preparing to unpack .../31-libtalerexchange_0.9.2-2_amd64.deb ...
Unpacking libtalerexchange (0.9.2-2) ...
Selecting previously unselected package libtalermerchant.
Preparing to unpack .../32-libtalermerchant_0.9.2-2_amd64.deb ...
Unpacking libtalermerchant (0.9.2-2) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../33-libxslt1.1_1.1.35-1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.35-1) ...
Selecting previously unselected package postgresql-15.
Preparing to unpack .../34-postgresql-15_15.3-0+deb12u1_amd64.deb ...
Unpacking postgresql-15 (15.3-0+deb12u1) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../35-postgresql_15+248_all.deb ...
Unpacking postgresql (15+248) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../36-sysstat_12.6.1-1_amd64.deb ...
Unpacking sysstat (12.6.1-1) ...
Selecting previously unselected package taler-merchant.
Preparing to unpack .../37-taler-merchant_0.9.2-2_amd64.deb ...
debconf: template "keyboard-configuration/unsupported_options" has no owners; removing it.
debconf: template "console-setup/fontsize" has no owners; removing it.
debconf: template "tasksel/tasks" has no owners; removing it.
debconf: template "libpam-modules/disable-screensaver" has no owners; removing it.
debconf: template "tzdata/Zones/Africa" has no owners; removing it.
debconf: template "tzdata/Zones/Antarctica" has no owners; removing it.
debconf: template "linux-base/removing-title" has no owners; removing it.
debconf: template "tzdata/Zones/Etc" has no owners; removing it.
debconf: template "console-setup/codesetcode" has no owners; removing it.
debconf: template "keyboard-configuration/altgr" has no owners; removing it.
debconf: template "base-passwd/group-move" has no owners; removing it.
debconf: template "base-passwd/user-change-gid" has no owners; removing it.
debconf: template "tasksel/first" has no owners; removing it.
debconf: template "locales/default_environment_locale" has no owners; removing it.
debconf: template "tzdata/Zones/Indian" has no owners; removing it.
debconf: template "keyboard-configuration/xkb-keymap" has no owners; removing it.
debconf: template "keyboard-configuration/ctrl_alt_bksp" has no owners; removing it.
debconf: template "keyboard-configuration/toggle" has no owners; removing it.
debconf: template "tzdata/Areas" has no owners; removing it.
debconf: template "base-passwd/user-remove" has no owners; removing it.
debconf: template "keyboard-configuration/unsupported_layout" has no owners; removing it.
debconf: template "console-setup/fontsize-fb47" has no owners; removing it.
debconf: template "debian-installer/country" has no owners; removing it.
debconf: template "glibc/kernel-too-old" has no owners; removing it.
debconf: template "debconf-apt-progress/info" has no owners; removing it.
debconf: template "base-passwd/group-add" has no owners; removing it.
debconf: template "tzdata/Zones/Asia" has no owners; removing it.
debconf: template "tzdata/Zones/Europe" has no owners; removing it.
debconf: template "libpam0g/restart-failed" has no owners; removing it.
debconf: template "keyboard-configuration/compose" has no owners; removing it.
debconf: template "debian-installer/console-setup-udeb/title" has no owners; removing it.
debconf: template "keyboard-configuration/unsupported_config_layout" has no owners; removing it.
debconf: template "apparmor/homedirs" has no owners; removing it.
debconf: template "libpam0g/restart-services" has no owners; removing it.
debconf: template "console-setup/fontsize-text47" has no owners; removing it.
debconf: template "base-passwd/group-change-gid" has no owners; removing it.
debconf: template "keyboard-configuration/optionscode" has no owners; removing it.
debconf: template "keyboard-configuration/store_defaults_in_debconf_db" has no owners; removing it.
debconf: template "keyboard-configuration/layout" has no owners; removing it.
debconf: template "console-setup/framebuffer_only" has no owners; removing it.
debconf: template "tasksel/title" has no owners; removing it.
debconf: template "keyboard-configuration/model" has no owners; removing it.
debconf: template "tzdata/Zones/Pacific" has no owners; removing it.
debconf: template "libpam0g/xdm-needs-restart" has no owners; removing it.
debconf: template "base-passwd/user-change-gecos" has no owners; removing it.
debconf: template "console-setup/codeset47" has no owners; removing it.
debconf: template "base-passwd/user-change-uid" has no owners; removing it.
debconf: template "libraries/restart-without-asking" has no owners; removing it.
debconf: template "debconf/priority" has no owners; removing it.
debconf: template "debconf-apt-progress/media-change" has no owners; removing it.
debconf: template "base-passwd/group-remove" has no owners; removing it.
debconf: template "tzdata/Zones/America" has no owners; removing it.
debconf: template "console-setup/store_defaults_in_debconf_db" has no owners; removing it.
debconf: template "keyboard-configuration/other" has no owners; removing it.
debconf: template "glibc/restart-failed" has no owners; removing it.
debconf: template "glibc/kernel-not-supported" has no owners; removing it.
debconf: template "debconf-apt-progress/title" has no owners; removing it.
debconf: template "iproute2/setcaps" has no owners; removing it.
debconf: template "keyboard-configuration/variant" has no owners; removing it.
debconf: template "linux-base/removing-running-kernel" has no owners; removing it.
debconf: template "libpam-modules/profiles-disabled" has no owners; removing it.
debconf: template "console-setup/fontface47" has no owners; removing it.
debconf: template "debconf/frontend" has no owners; removing it.
debconf: template "base-passwd/user-move" has no owners; removing it.
debconf: template "base-passwd/user-change-shell" has no owners; removing it.
debconf: template "glibc/restart-services" has no owners; removing it.
debconf: template "keyboard-configuration/variantcode" has no owners; removing it.
debconf: template "libpam-modules/deprecate-tally" has no owners; removing it.
debconf: template "passwd/username" has no owners; removing it.
debconf: template "debian-installer/language" has no owners; removing it.
debconf: template "keyboard-configuration/layoutcode" has no owners; removing it.
debconf: template "console-setup/use_system_font" has no owners; removing it.
debconf: template "tzdata/Zones/Australia" has no owners; removing it.
debconf: template "keyboard-configuration/modelcode" has no owners; removing it.
debconf: template "base-passwd/user-add" has no owners; removing it.
debconf: template "base-passwd/user-change-home" has no owners; removing it.
debconf: template "tasksel/desktop" has no owners; removing it.
debconf: template "keyboard-configuration/switch" has no owners; removing it.
debconf: template "glibc/upgrade" has no owners; removing it.
debconf: template "debconf-apt-progress/preparing" has no owners; removing it.
debconf: template "tzdata/Zones/US" has no owners; removing it.
debconf: template "glibc/disable-screensaver" has no owners; removing it.
debconf: template "console-setup/charmap47" has no owners; removing it.
debconf: template "tzdata/Zones/Atlantic" has no owners; removing it.
debconf: template "locales/locales_to_be_generated" has no owners; removing it.
debconf: template "console-setup/guess_font" has no owners; removing it.
debconf: template "tzdata/Zones/Arctic" has no owners; removing it.
debconf: template "keyboard-configuration/unsupported_config_options" has no owners; removing it.
Unpacking taler-merchant (0.9.2-2) ...
Setting up postgresql-client-common (248) ...
Setting up libsodium23:amd64 (1.0.18-1) ...
Setting up libqrencode4:amd64 (4.1.1-1) ...
Setting up libsensors-config (1:3.6.0-7.1) ...
Setting up libpq5:amd64 (15.3-0+deb12u1) ...
Setting up libapr1:amd64 (1.7.2-3) ...
Setting up libcommon-sense-perl:amd64 (3.75-3) ...
Setting up postgresql-client-15 (15.3-0+deb12u1) ...
update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up dbconfig-common (2.0.24) ...

Creating config file /etc/dbconfig-common/config with new version
Setting up libmicrohttpd12:amd64 (0.9.75-6) ...
Setting up libz3-4:amd64 (4.8.12-3.1) ...
Setting up ssl-cert (1.1.2) ...
Setting up libsensors5:amd64 (1:3.6.0-7.1) ...
Setting up libltdl7:amd64 (2.4.7-5) ...
Setting up libllvm14:amd64 (1:14.0.6-12) ...
Setting up libtypes-serialiser-perl (1.01-1) ...
Setting up liblua5.3-0:amd64 (5.3.6-2) ...
Setting up libjson-perl (4.10000-1) ...
Setting up libxslt1.1:amd64 (1.1.35-1) ...
Setting up libcurl4:amd64 (7.88.1-10+deb12u1) ...
Setting up apache2-data (2.4.57-2) ...
Setting up sysstat (12.6.1-1) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Setting up libaprutil1:amd64 (1.6.3-1) ...
Setting up libjson-xs-perl (4.030-2+b1) ...
Setting up postgresql-client (15+248) ...
Setting up dbconfig-pgsql (2.0.24) ...
Setting up libaprutil1-ldap:amd64 (1.6.3-1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.3-1) ...
Setting up libgnunet (0.19.3) ...
Setting up postgresql-common (248) ...

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service.
Setting up postgresql-15 (15.3-0+deb12u1) ...
Creating new PostgreSQL cluster 15/main ...
/usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main --auth-local peer --auth-host scram-sha-256 --no-instructions
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/15/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Paris
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
update-alternatives: using /usr/share/postgresql/15/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up libtalerexchange (0.9.2-2) ...
Setting up apache2-utils (2.4.57-2) ...
Setting up libtalermerchant (0.9.2-2) ...
Setting up apache2-bin (2.4.57-2) ...
Setting up postgresql (15+248) ...
Setting up apache2 (2.4.57-2) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Setting up taler-merchant (0.9.2-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/taler-merchant.conf

Creating config file /etc/dbconfig-common/taler-merchant.conf with new version
creating postgres user taler-merchant-httpd:  success.
verifying creation of user: success.
creating database talermerchant: success.
verifying database talermerchant exists: success.
populating database via scriptfile...  psql:<stdin>:1: ERROR:  database "pgsql" does not exist
done.
dbconfig-common: flushing administrative password
taler-merchant-httpd.service is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
root@debian:~# 
taler-log.txt (24,988 bytes)   

Christian Grothoff

2023-08-19 23:20

manager   ~0020419

I've already completely revamped the DB initialization logic for the next revision. Still needs more testing though, but should be fixed in 0.9.3...

Christian Grothoff

2023-09-09 16:26

manager   ~0020510

Should be fixed in the latest packages. Note that there is now a tool taler-merchant-dbconfig to automate the database setup.

Issue History

Date Modified Username Field Change
2023-08-18 15:08 Hooligan0 New Issue
2023-08-18 15:13 Hooligan0 Note Added: 0020418
2023-08-18 15:13 Hooligan0 File Added: taler-log.txt
2023-08-19 23:20 Christian Grothoff Note Added: 0020419
2023-08-19 23:21 Christian Grothoff Assigned To => Christian Grothoff
2023-08-19 23:21 Christian Grothoff Status new => assigned
2023-09-01 14:30 Christian Grothoff Priority none => normal
2023-09-01 14:30 Christian Grothoff Target Version => 0.9.3
2023-09-06 21:41 Christian Grothoff Priority normal => urgent
2023-09-09 16:26 Christian Grothoff Status assigned => resolved
2023-09-09 16:26 Christian Grothoff Resolution open => fixed
2023-09-09 16:26 Christian Grothoff Fixed in Version => 0.9.3
2023-09-09 16:26 Christian Grothoff Note Added: 0020510
2023-09-23 15:09 Christian Grothoff Status resolved => closed