New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

bubba-horde post update problems . . .

Got problems with your B2 or B3? Share and get helped!
Ton
Posts: 17
Joined: 29 Sep 2008, 06:16

bubba-horde post update problems . . .

Post by Ton »

Hello,

I did an update of my BUBBA 2 system, and found poblems with the auto configuration of the bubba-horde and bubba-backend, as seen in the log at the end of my post.

What happened, first i did an apt-get update and upgrade, not installing all packages. After a reboot I did the apt-get dist-upgrade.
In this process the install script asked for migrating my database, I confirmed with OK. After this it requested an admin paswort for the database. Because I did not now the specific paswort I gave the admin passwort, which was apperently false, which probably serulted in not finishing the bubba-horde install, as shown below in the log.

After this I tried an dpkg --configure bubba-horde, where I was asked if the migration was ok, I confirmed, but no database passwort was asked, and the config was stopped with the log as shown below.

Question : How do I get the bubba-horde and bubba-backend correctly configured ?? Is there a defult paswort for the database to be merged, I don't recall changing it . . .

Best regards,

Ton.

apt-get dist-upgrade log :

Installing new version of config file /etc/horde/dimp1/conf.xml ...
Installing new version of config file /etc/horde/kronolith2/prefs.php ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
Setting up bubba-apt (0.0.4) ...
Setting up libcrypt-passwdmd5-perl (1.3-8) ...
Setting up libxml-libxml-common-perl (0.13-5) ...
Setting up libxml-namespacesupport-perl (1.09-3) ...
Setting up libxml-sax-perl (0.12-5) ...

Setting up libxml-libxml-perl (1.59-2) ...
update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX::Parser...
update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...

Setting up libxml-simple-perl (2.18-1) ...
Setting up liburi-perl (1.35-2) ...
Setting up libhtml-tagset-perl (3.10-2) ...
Setting up libhtml-parser-perl (3.55-1) ...
Setting up libhtml-tree-perl (3.19.01-2) ...
Setting up libwww-perl (5.805-1) ...
Setting up libxml-parser-perl (2.34-4.2) ...
Setting up libperl6-say-perl (0.12-1) ...
dpkg: dependency problems prevent configuration of bubba-backend:
bubba-backend depends on bubba-horde; however:
Package bubba-horde is not configured yet.
dpkg: error processing bubba-backend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bubba-horde
bubba-backend
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg --configure bubba-horde log :

dpkg --configure bubba-horde
Setting up bubba-horde (0.0.56) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bubba-horde
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa »

There is no password for this, it should be left blank.

/PA
Ton
Posts: 17
Joined: 29 Sep 2008, 06:16

Post by Ton »

Thanks for your quick reply !

But as I wrote I tried to redo the config with the following output :

dpkg --configure bubba-horde
Setting up bubba-horde (0.0.56) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bubba-horde

In between it asked if it was ok to merge the library, which I again confirmed, after this no passwort was asked like the first time, but the script just stops . . . :cry:

Any ideas how to get the config of bubba-horde and bubba-backend done ?

BR

Ton.
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

It can be difficult to find what might have done wring in that output, could you try making a modification to the postinst script and post it here; Open the file less /var/lib/dpkg/info/bubba-horde.postinst and add abouve the "set -e" the line "set -x", and run dpkg --configure bubba-horde.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Ton
Posts: 17
Joined: 29 Sep 2008, 06:16

Post by Ton »

Hi,

am back home now, so tried your set -x.

Got an interesting output, where the script or something remembered the requested password of the first install run where the password was asked. ( dbc_dbadmpass=ABCDEFG )

Do you know where this is stored, because a grep did not realy find a config file with the password ( is it in a database, or stored encrypted ? ) or how I can undo this password setting ?

Thanks again,

Ton.

Setting up bubba-horde (0.0.56) ...
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/bubba-horde.postinst configure 0.0.48
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ . /usr/share/dbconfig-common/dpkg/postinst.mysql
++ dbc_hardcoded_dbtype=mysql
++ . /usr/share/dbconfig-common/dpkg/postinst configure 0.0.48
+ dbc_generate_include_owner=www-data:www-data
+ dbc_generate_include_perms=0660
+ dbc_generate_include=php:/etc/horde/debian-db.php
+ dbc_go bubba-horde configure 0.0.48
+ local importing_from_non_dbc upgrading reconfiguring f tsubstfile upgrades_pending dumpfile _dbc_asuser reinstall
+ . /usr/share/dbconfig-common/dpkg/common
++ . /usr/share/dbconfig-common/internal/common
+ dbc_debug '(postinst) dbc_go() bubba-horde' configure 0.0.48
+ '[' '' ']'
+ dbc_config bubba-horde configure 0.0.48
+ dbc_debug 'dbc_config() bubba-horde' configure 0.0.48
+ '[' '' ']'
+ dbc_share=/usr/share/dbconfig-common
+ dbc_package=bubba-horde
+ dbc_command=configure
+ dbc_oldversion=0.0.48
+ _dbc_sanity_check package command
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' command ']'
+ case "$1" in
+ '[' -z configure ']'
+ shift
+ '[' '' ']'
+ dbc_confdir=/etc/dbconfig-common
+ dbc_globalconfig=/etc/dbconfig-common/config
+ dbc_packageconfig=/etc/dbconfig-common/bubba-horde.conf
+ dbc_standard_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed'
+ dbc_mysql_templates='mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_pgsql_templates='pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords'
+ dbc_sqlite_templates='db/dbname db/basepath'
+ dbc_all_supported_dbtypes='mysql pgsql sqlite'
+ dbc_authenticated_dbtypes='mysql pgsql'
+ dbc_remote_dbtypes='mysql pgsql'
+ dbc_fs_dbtypes=sqlite
+ '[' -f /etc/dbconfig-common/config ']'
+ . /etc/dbconfig-common/config
++ dbc_remember_admin_pass=false
++ dbc_remote_questions_default=false
+ '[' false = true ']'
+ dbc_remote_questions_priority=low
+ dbc_set_dbtype_defaults
+ dbc_debug 'dbc_set_dbtype_defaults() '
+ '[' '' ']'
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ dbc_default_basepath=
+ case $dbc_dbtype in
+ . /usr/share/dbconfig-common/internal/mysql
++ . /usr/share/dbconfig-common/internal/common
+ dbc_createuser_cmd=dbc_mysql_createuser
+ dbc_checkuser_cmd=dbc_mysql_check_user
+ dbc_createdb_cmd=dbc_mysql_createdb
+ dbc_dropdb_cmd=dbc_mysql_dropdb
+ dbc_dropuser_cmd=dbc_mysql_dropuser
+ dbc_sqlexec_cmd=dbc_mysql_exec_command
+ dbc_sqlfile_cmd=dbc_mysql_exec_file
+ dbc_dump_cmd=dbc_mysql_dump
+ dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_default_admin=root
++ echo bubba-horde
++ tr -d +.
++ cut -c -16

+ dbc_default_dbuser=bubba-horde
+ dbc_dbvendor=MySQL
+ '[' '' ']'
+ '[' configure = configure ']'
+ dbc_read_package_debconf
+ dbc_debug 'dbc_read_package_debconf() '
+ '[' '' ']'
+ _dbc_sanity_check package
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' '' ']'
+ '[' '!' mysql ']'
+ dbc_set_dbtype_defaults mysql
+ dbc_debug 'dbc_set_dbtype_defaults() mysql'
+ '[' '' ']'
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ dbc_default_basepath=
+ case $dbc_dbtype in
+ . /usr/share/dbconfig-common/internal/mysql
++ . /usr/share/dbconfig-common/internal/common
+ dbc_createuser_cmd=dbc_mysql_createuser
+ dbc_checkuser_cmd=dbc_mysql_check_user
+ dbc_createdb_cmd=dbc_mysql_createdb
+ dbc_dropdb_cmd=dbc_mysql_dropdb
+ dbc_dropuser_cmd=dbc_mysql_dropuser
+ dbc_sqlexec_cmd=dbc_mysql_exec_command
+ dbc_sqlfile_cmd=dbc_mysql_exec_file
+ dbc_dump_cmd=dbc_mysql_dump
+ dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user'
+ dbc_default_admin=root
++ echo bubba-horde
++ tr -d +.
++ cut -c -16
+ dbc_default_dbuser=bubba-horde
+ dbc_dbvendor=MySQL
+ '[' '' ']'
+ db_get bubba-horde/dbconfig-install
+ _db_cmd 'GET bubba-horde/dbconfig-install'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-install'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_install=true
+ db_get bubba-horde/dbconfig-upgrade
+ _db_cmd 'GET bubba-horde/dbconfig-upgrade'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_upgrade=true
+ db_get bubba-horde/dbconfig-remove
+ _db_cmd 'GET bubba-horde/dbconfig-remove'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-remove'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_remove=
+ '[' true '!=' true ']'
+ _dbc_sanity_check dbtype
+ '[' dbtype ']'
+ case "$1" in
+ '[' -z mysql ']'
+ shift
+ '[' '' ']'
+ echo 'mysql pgsql'
+ grep -q mysql
+ db_get bubba-horde/db/app-user
+ _db_cmd 'GET bubba-horde/db/app-user'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/db/app-user'
+ IFS='
'
+ read -r _db_internal_line
+ RET=horde
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbuser=horde
+ db_get bubba-horde/mysql/app-pass
+ _db_cmd 'GET bubba-horde/mysql/app-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/app-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=aBFds74vxy
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbpass=aBFds74vxy
+ db_get bubba-horde/mysql/admin-user
+ _db_cmd 'GET bubba-horde/mysql/admin-user'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-user'
+ IFS='
'
+ read -r _db_internal_line
+ RET=root
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmin=root
+ db_get bubba-horde/mysql/admin-pass
+ _db_cmd 'GET bubba-horde/mysql/admin-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=ABCDEFG
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmpass=ABCDEFG
+ echo 'mysql pgsql'
+ grep -q mysql
+ db_get bubba-horde/remote/host
+ _db_cmd 'GET bubba-horde/remote/host'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/remote/host'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbserver=
+ db_get bubba-horde/remote/port
+ _db_cmd 'GET bubba-horde/remote/port'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/remote/port'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbport=
+ echo sqlite
+ grep -qa mysql
+ db_get bubba-horde/db/dbname
+ _db_cmd 'GET bubba-horde/db/dbname'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/db/dbname'
+ IFS='
'
+ read -r _db_internal_line

+ RET=horde
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbname=horde
+ case $dbc_dbtype in
+ '[' '' ']'
+ dbc_write_package_config
+ local iformat ofile tfile
+ dbc_debug 'dbc_write_package_config() '
+ '[' '' ']'
+ _dbc_sanity_check packageconfig
+ '[' packageconfig ']'
+ case "$1" in
+ '[' -z /etc/dbconfig-common/bubba-horde.conf ']'
+ shift
+ '[' '' ']'
+ echo 'dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf'
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
++ mktemp -t dbconfig-package-config.XXXXXX
+ tfile=/tmp/dbconfig-package-config.Sk3891
+ '[' mysql ']'
+ dbc_dbtype=mysql
+ '[' '' = 'tcp/ip + ssl' ']'
+ cat
+ ucf /tmp/dbconfig-package-config.Sk3891 /etc/dbconfig-common/bubba-horde.conf
+ rm -f /tmp/dbconfig-package-config.Sk3891
+ '[' php:/etc/horde/debian-db.php ']'
+ '[' www-data:www-data ']'
+ dbc_generate_include_args=' -O www-data:www-data'
+ '[' 0660 ']'
+ dbc_generate_include_args=' -O www-data:www-data -m 0660'
+ echo php:/etc/horde/debian-db.php
+ grep -q -E '^[^:]*:'
++ echo php:/etc/horde/debian-db.php
++ cut -d: -f1
+ iformat=php
++ echo php:/etc/horde/debian-db.php
++ cut -d: -f2
+ ofile=/etc/horde/debian-db.php
+ dbconfig-generate-include -a -f php -O www-data:www-data -m 0660 -U /etc/dbconfig-common/bubba-horde.conf /etc/horde/debian-db.php
Replacing config file /etc/horde/debian-db.php with new version
+ dbc_read_package_config
+ dbc_debug 'dbc_read_package_config() '
+ '[' '' ']'
+ _dbc_sanity_check package packageconfig
+ '[' package ']'
+ case "$1" in
+ '[' -z bubba-horde ']'
+ shift
+ '[' packageconfig ']'
+ case "$1" in
+ '[' -z /etc/dbconfig-common/bubba-horde.conf ']'
+ shift
+ '[' '' ']'
+ dbc_install=true
+ dbc_upgrade=true
+ '[' -f /etc/dbconfig-common/bubba-horde.conf ']'
+ . /etc/dbconfig-common/bubba-horde.conf
++ dbc_install=true
++ dbc_upgrade=true
++ dbc_remove=
++ dbc_dbtype=mysql
++ dbc_dbuser=horde
++ dbc_dbpass=aBFds74vxy
++ dbc_dbserver=
++ dbc_dbport=
++ dbc_dbname=horde
++ dbc_dbadmin=root
++ dbc_basepath=
++ dbc_ssl=
++ dbc_authmethod_admin=
++ dbc_authmethod_user=
+ '[' -z '' ']'
+ dbc_dballow=localhost
+ '[' true '!=' true ']'
+ '[' php:/etc/horde/debian-db.php ']'
++ echo php:/etc/horde/debian-db.php
++ sed -e 's/^[^:]*://'
+ dbc_config_include=/etc/horde/debian-db.php
+ export dbc_generate_include
+ export dbc_config_include
+ '[' 0.0.48 ']'
+ db_get bubba-horde/internal/reconfiguring
+ _db_cmd 'GET bubba-horde/internal/reconfiguring'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/internal/reconfiguring'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ reconfiguring=false
+ db_reset bubba-horde/internal/reconfiguring
+ _db_cmd 'RESET bubba-horde/internal/reconfiguring'
+ IFS=' '
+ printf '%s\n' 'RESET bubba-horde/internal/reconfiguring'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = false ']'
+ upgrading=yes
+ '[' yes ']'
+ '[' '' ']'
+ '[' '!' yes ']'
+ '[' '' ']'
+ '[' yes ']'
++ _dbc_find_upgrades
++ local f s sqldir admsqldir scriptdir upgradedirs pending sorted placed tlist
++ sqldir=/usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql
++ admsqldir=/usr/share/dbconfig-common/data/bubba-horde/upgrade-dbadmin/mysql
++ scriptdir=/usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql ']'
++ upgradedirs=' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql'
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/data/bubba-horde/upgrade-dbadmin/mysql ']'
++ for f in '$sqldir' '$admsqldir' '$scriptdir'
++ '[' -d /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql ']'
++ upgradedirs=' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql'
++ '[' '!' ' /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql' ']'
+++ find /usr/share/dbconfig-common/data/bubba-horde/upgrade/mysql /usr/share/dbconfig-common/scripts/bubba-horde/upgrade/mysql -type f -print0
+++ xargs --no-run-if-empty -0 -n1 basename
+++ sort -n
+++ uniq
++ for f in '`find $upgradedirs -type f -print0 | xargs --no-run-if-empty -0 -n1 basename | sort -n | uniq`'
++ dpkg --compare-versions 0.0.48 lt 0.0.53
++ pending=' 0.0.53'
++ for f in '$pending'
++ '[' '!' '' ']'
++ sorted=0.0.53
++ echo 0.0.53
+ upgrades_pending=0.0.53
+ '[' 0.0.53 ']'
+ db_set bubba-horde/dbconfig-upgrade true
+ _db_cmd 'SET bubba-horde/dbconfig-upgrade' true
+ IFS=' '
+ printf '%s\n' 'SET bubba-horde/dbconfig-upgrade true'
+ IFS='
'
+ read -r _db_internal_line
+ RET='value set'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset bubba-horde/dbconfig-upgrade seen false
+ _db_cmd 'FSET bubba-horde/dbconfig-upgrade' seen false
+ IFS=' '
+ printf '%s\n' 'FSET bubba-horde/dbconfig-upgrade seen false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_input high bubba-horde/dbconfig-upgrade
+ _db_cmd 'INPUT high' bubba-horde/dbconfig-upgrade
+ IFS=' '
+ printf '%s\n' 'INPUT high bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET='question will be asked'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_go
+ _db_cmd 'GO '
+ IFS=' '
+ printf '%s\n' 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_get bubba-horde/dbconfig-upgrade
+ _db_cmd 'GET bubba-horde/dbconfig-upgrade'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/dbconfig-upgrade'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_upgrade=true
+ '[' true '!=' true ']'
+ '[' '!' '' ']'
+ '[' '!' mysql = pgsql ']'
+ dbc_get_admin_pass
+ local have_admin_pass pass1
+ dbc_debug 'dbc_get_admin_pass() '
+ '[' '' ']'
+ db_fget bubba-horde/mysql/admin-pass seen
+ _db_cmd 'FGET bubba-horde/mysql/admin-pass' seen
+ IFS=' '
+ printf '%s\n' 'FGET bubba-horde/mysql/admin-pass seen'
+ IFS='
'
+ read -r _db_internal_line
+ RET=true
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' true = true ']'
+ have_admin_pass=yes
+ '[' '!' yes ']'
+ db_get bubba-horde/mysql/admin-pass
+ _db_cmd 'GET bubba-horde/mysql/admin-pass'
+ IFS=' '
+ printf '%s\n' 'GET bubba-horde/mysql/admin-pass'
+ IFS='
'
+ read -r _db_internal_line
+ RET=ABCDEFG
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dbc_dbadmpass=ABCDEFG
+ dumpfile=/var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql
+ dbc_logline 'creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql'
+ echo -e 'creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.'
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.
+ '[' '' ']'
+ dbc_log='creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.'
+ _dbc_asuser=
+ dbc_mysql_dump /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql
+ local mycnf dumperr db dumpfile
+ _dbc_sanity_check dbname dbadmin mysql
+ '[' dbname ']'
+ case "$1" in
+ '[' -z horde ']'
+ shift
+ '[' dbadmin ']'
+ case "$1" in
+ '[' -z root ']'
+ shift
+ '[' mysql ']'
+ case "$1" in
+ which mysql
+ shift
+ '[' '' ']'
+ _dbc_mysql_check_connect
+ local constat mycnf
+ constat=bad
++ _dbc_generate_mycnf
++ local mycnf l_date
+++ mktemp -t dbconfig-common_my.cnf.XXXXXX
++ mycnf=/tmp/dbconfig-common_my.cnf.zk3997
++ '[' '!' /tmp/dbconfig-common_my.cnf.zk3997 ']'
+++ date
++ l_date='Fri Dec 19 17:56:15 UTC 2008'
++ cat
++ echo /tmp/dbconfig-common_my.cnf.zk3997
+ mycnf=/tmp/dbconfig-common_my.cnf.zk3997
++ mysql --defaults-extra-file=/tmp/dbconfig-common_my.cnf.zk3997
+ dbc_error='ERROR 1045 (28000): Access denied for user '\''root'\''@'\''localhost'\'' (using password: YES)'
+ rm -f /tmp/dbconfig-common_my.cnf.zk3997
+ '[' bad = bad ']'
+ dbc_logline='unable to connect to mysql server'
+ return 1
+ return 1
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bubba-horde
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

The passwords can be found in /var/cache/debconf/passwords.dat

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

After the update i get this error when i login the horde
Fatal error: Call to undefined function xcache_get() in /usr/share/horde3/lib/Horde/Cache/xcache.php on line 114

thanks.
Ton
Posts: 17
Joined: 29 Sep 2008, 06:16

Post by Ton »

Thanks Carl !!!!

This is how it has to be, good product with good support ! :D

The passwort realy went in the passwort file you mentioned. After removing the passwort i could run dpkg --configure bubba-horde and dpkg --configure bubba-backend without problems.

Best regards,

Ton.
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

paolol61 wrote:After the update i get this error when i login the horde
Fatal error: Call to undefined function xcache_get() in /usr/share/horde3/lib/Horde/Cache/xcache.php on line 114

thanks.
This could be an regression error from an failed rc7 update (did you have that problem before?) If you are able to SSH into the bubba, can you verify that the package bubba-frontend is fully installed?

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

Hi Carl,
I restarted the server and now I can't log in horde at all,
all this happen after the update to 1.0.13 :(
Now the error is

Fatal error: Call to undefined function xcache_get() in /usr/share/horde3/lib/Horde/Cache/xcache.php on line 114

thanks
8)
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

paolol61 wrote:Hi Carl,
I restarted the server and now I can't log in horde at all,
all this happen after the update to 1.0.13 :(
Now the error is

Fatal error: Call to undefined function xcache_get() in /usr/share/horde3/lib/Horde/Cache/xcache.php on line 114

thanks
8)
This might need some direct working via SSH; If you are able to SSH into the bubba, can you give us the output of following commands:

Code: Select all

apt-cache policy bubba-frontend
apt-cache policy bubba-backend
dpkg -l | grep -v ^ii
ls -lR /etc/php5
The output should look like this:

Code: Select all

[0:0][azatoth@bubba ~]$ apt-cache policy bubba-frontend
bubba-frontend:
  Installed: 1.0.13-22
  Candidate: 1.0.13-22
  Version table:
 *** 1.0.13-22 0
        999 http://update.excito.org marielle/main Packages
        100 /var/lib/dpkg/status
[0:0][azatoth@bubba ~]$ apt-cache policy bubba-backend
bubba-backend:
  Installed: 1.0.18-8
  Candidate: 1.0.18-8
  Version table:
 *** 1.0.18-8 0
        999 http://update.excito.org marielle/main Packages
        100 /var/lib/dpkg/status
[0:0][azatoth@bubba ~]$ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                             Version                              Description
+++-================================-====================================-============================================
[0:0][azatoth@bubba ~]$ ls -lR /etc/php5 
/etc/php5:
total 16
drwxr-xr-x 3 root root 4096 2008-11-20 16:48 apache2
drwxr-xr-x 3 root root 4096 2008-11-14 18:45 cgi
drwxr-xr-x 3 root root 4096 2008-11-21 15:18 cli
drwxr-xr-x 2 root root 4096 2008-12-04 14:52 conf.d

/etc/php5/apache2:
total 48
drwxr-xr-x 2 root root  4096 2008-11-20 16:48 conf.d
-rw-r--r-- 1 root root 44722 2008-12-04 14:51 php.ini

/etc/php5/apache2/conf.d:
total 32
-rw-r--r-- 1 root root   50 2008-11-20 16:48 gd.ini
-rw-r--r-- 1 root root   54 2008-11-20 16:48 imap.ini
-rw-r--r-- 1 root root   58 2008-11-20 16:48 mcrypt.ini
-rw-r--r-- 1 root root   57 2008-11-20 16:48 mysqli.ini
-rw-r--r-- 1 root root   56 2008-11-20 16:48 mysql.ini
-rw-r--r-- 1 root root   52 2008-11-20 16:48 pdo.ini
-rw-r--r-- 1 root root   60 2008-11-20 16:48 pdo_mysql.ini
-rw-r--r-- 1 root root 2324 2008-11-20 16:48 xcache.ini

/etc/php5/cgi:
total 48
drwxr-xr-x 2 root root  4096 2008-12-17 16:06 conf.d
-rw-r--r-- 1 root root 44722 2008-12-04 14:52 php.ini

/etc/php5/cgi/conf.d:
total 36
-rw-rw-rw- 1 root root   61 2008-12-04 19:27 admin.ini
-rw-r--r-- 1 root root   50 2008-11-20 16:48 gd.ini
-rw-r--r-- 1 root root   54 2008-11-20 16:48 imap.ini
-rw-r--r-- 1 root root   58 2008-11-20 16:48 mcrypt.ini
-rw-r--r-- 1 root root   57 2008-11-20 16:48 mysqli.ini
-rw-r--r-- 1 root root   56 2008-11-20 16:48 mysql.ini
-rw-r--r-- 1 root root   52 2008-11-20 16:48 pdo.ini
-rw-r--r-- 1 root root   60 2008-11-20 16:48 pdo_mysql.ini
-rw-r--r-- 1 root root 2324 2008-11-20 16:48 xcache.ini

/etc/php5/cli:
total 48
drwxr-xr-x 2 root root  4096 2008-11-21 15:18 conf.d
-rw-r--r-- 1 root root 44720 2008-12-04 14:51 php.ini

/etc/php5/cli/conf.d:
total 32
-rw-r--r-- 1 root root   50 2008-11-21 15:18 gd.ini
-rw-r--r-- 1 root root   54 2008-11-21 15:18 imap.ini
-rw-r--r-- 1 root root   58 2008-11-21 15:18 mcrypt.ini
-rw-r--r-- 1 root root   57 2008-11-21 15:18 mysqli.ini
-rw-r--r-- 1 root root   56 2008-11-21 15:18 mysql.ini
-rw-r--r-- 1 root root   52 2008-11-21 15:18 pdo.ini
-rw-r--r-- 1 root root   60 2008-11-21 15:18 pdo_mysql.ini
-rw-r--r-- 1 root root 2324 2008-11-21 15:18 xcache.ini

/etc/php5/conf.d:
total 32
-rw-r--r-- 1 root root   50 2008-05-10 14:02 gd.ini
-rw-r--r-- 1 root root   54 2008-05-10 14:02 imap.ini
-rw-r--r-- 1 root root   58 2008-05-10 14:02 mcrypt.ini
-rw-r--r-- 1 root root   57 2008-05-10 14:02 mysqli.ini
-rw-r--r-- 1 root root   56 2008-05-10 14:02 mysql.ini
-rw-r--r-- 1 root root   52 2008-05-10 14:02 pdo.ini
-rw-r--r-- 1 root root   60 2008-05-10 14:02 pdo_mysql.ini
-rw-r--r-- 1 root root 2324 2008-07-07 10:02 xcache.ini
[0:0][azatoth@bubba ~]$ 
/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

hi Carl this is the result :
paolol61@bubba2:~$ apt-cache policy bubba-frontend
bubba-frontend:
Installed: 1.0.13-22
Candidate: 1.0.13-22
Version table:
*** 1.0.13-22 0
999 http://update.excito.org marielle/main Packages
100 /var/lib/dpkg/status
paolol61@bubba2:~$ apt-cache policy bubba-backend
bubba-backend:
Installed: 1.0.18-7
Candidate: 1.0.18-7
Version table:
*** 1.0.18-7 0
999 http://update.excito.org marielle/main Packages
100 /var/lib/dpkg/status
paolol61@bubba2:~$
paolol61@bubba2:~$ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-====================================-============================================
iU bubba-backend 1.0.18-7 This is the backend of the bubba administrat
iU bubba-frontend 1.0.13-22 This is the codeigniter based frontend for t
iU bubba-horde 0.0.56 Horde installation for the bubba platform
rc horde3 3.2.1+debian0-1ex6 horde web application framework
rc ingo1 1.1.2-1 email filter component for Horde Framework
rc kronolith2 2.2-1ex2 calendar component for Horde Framework
iF mldonkey-server 2.8.1-2etch1 Door to the 'donkey' network
paolol61@bubba2:~$

paolol61@bubba2:~$ ls -lR /etc/php5
/etc/php5:
total 16
drwxr-xr-x 3 root root 4096 2008-12-19 22:23 apache2
drwxr-xr-x 2 root root 4096 1970-01-01 00:07 cgi
drwxr-xr-x 2 root root 4096 1970-01-01 00:07 cli
drwxr-xr-x 2 root root 4096 2008-12-19 22:25 conf.d

/etc/php5/apache2:
total 48
drwxr-xr-x 2 root www-data 4096 2008-12-19 22:23 conf.d
-rw-r--r-- 1 root root 44722 2008-12-19 22:23 php.ini

/etc/php5/apache2/conf.d:
total 0

/etc/php5/cgi:
total 44
lrwxrwxrwx 1 root root 9 1970-01-01 00:07 conf.d -> ../conf.d
-rw-r--r-- 1 root root 44722 2008-12-19 22:23 php.ini

/etc/php5/cli:
total 44
lrwxrwxrwx 1 root root 9 1970-01-01 00:07 conf.d -> ../conf.d
-rw-r--r-- 1 root root 44720 2008-12-19 22:23 php.ini

/etc/php5/conf.d:
total 36
-rw-rw-rw- 1 root root 61 2008-12-04 18:27 admin.ini
-rw-r--r-- 1 root root 50 2008-05-10 12:02 gd.ini
-rw-r--r-- 1 root root 54 2008-05-10 12:02 imap.ini
-rw-r--r-- 1 root root 58 2008-05-10 12:02 mcrypt.ini
-rw-r--r-- 1 root root 57 2008-05-10 12:02 mysqli.ini
-rw-r--r-- 1 root root 56 2008-05-10 12:02 mysql.ini
-rw-r--r-- 1 root root 52 2008-05-10 12:02 pdo.ini
-rw-r--r-- 1 root root 60 2008-05-10 12:02 pdo_mysql.ini
-rw-r--r-- 1 root root
thanks
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

paolol61 wrote:paolol61@bubba2:~$ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-====================================-============================================
iU bubba-backend 1.0.18-7 This is the backend of the bubba administrat
iU bubba-frontend 1.0.13-22 This is the codeigniter based frontend for t
iU bubba-horde 0.0.56 Horde installation for the bubba platform
rc horde3 3.2.1+debian0-1ex6 horde web application framework
rc ingo1 1.1.2-1 email filter component for Horde Framework
rc kronolith2 2.2-1ex2 calendar component for Horde Framework
iF mldonkey-server 2.8.1-2etch1 Door to the 'donkey' network
This is intresting, above states that mldonkey-server has failed configuration (Failed-Config), and is thus not installed; Aslo both bubba-backend and frontend isn't installed, but only unpacked.
Have you tried an "apt-get dist-upgrade"? what does that say?

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Post by Binkem »

I've got some problems with bubba-backend too:
bubba:/# apt-get install bubba-backend --fix-missing
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
bubba-backend
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 35.3kB of archives.
After unpacking 32.8kB of additional disk space will be used.
Get:1 http://update.excito.org marielle/main bubba-backend 1.0.18-7 [35.3kB]
Fetched 35.3kB in 0s (168kB/s)
Failed to fetch http://update.excito.org/pool/main/b/bu ... owerpc.deb Size mismatch
Setting up bubba-horde (0.0.56) ...
dbconfig-common: writing config to /etc/dbconfig-common/bubba-horde.conf
Replacing config file /etc/horde/debian-db.php with new version
creating database backup in /var/cache/dbconfig-common/backups/bubba-horde_0.0.48.mysql.
dpkg: error processing bubba-horde (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bubba-horde
E: Sub-process /usr/bin/dpkg returned an error code (1)

Additionally the services tab and the updat function don't work
Any ideas?
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Post by Binkem »

What worries met that trying to update it first tries to fetch:
http://update.excito.org marielle/main bubba-backend 1.0.18-7
and then fails to fetch
May it be that there is something wrong with the distribution information I get when trying to apt-get update?
Post Reply