Well another mantis update and another issue with it not using the
right username or password in the postinst script.
When running the upgrade debconf asks for the username for "Database
server administrator on localhost:3306"
I enter "root"
Then it asks for "Password for database server admini
Please add this code after line 407 in mantis.postint :
dbname="`php4 -r 'include "/etc/mantis/config.php";
print "$g_database_name";'`"
echo "I: Using database name from existing config file.">&2
Cheers,
Michel
This e-mail is intended only for the above a
The mantis.postinst script has another failure : it does not use the configured database name.
My /etc/mantis/config.php :
# --- database variables -
$g_hostname = 'localhost';
$g_db_username = 'mantis';
$g_db_password = '**';
$g_database_name =
Le mardi 24 janvier 2006 à 11:32 +0100, Igor Genibel a écrit :
* Anthony Tippett <[EMAIL PROTECTED]> [2006-01-23 11:53:31 -0800]:
> I agree this won't work for everyone.. however, I didn't start this bug and perhaps if we
> substituted dbname with dbadmname? if there is one then this would
I agree this won't work for everyone.. however, I didn't start this bug
and perhaps if we substituted dbname with dbadmname? if there is one
then this would be correct. All I know is that every time mantis is
upgraded I have to go hack the post.inst script. I didn't look at it
very closely to s
* Anthony Tippett <[EMAIL PROTECTED]> [2006-01-23 11:53:31 -0800]:
> I agree this won't work for everyone.. however, I didn't start this bug and
> perhaps if we
> substituted dbname with dbadmname? if there is one then this would be
> correct. All I know
> is that every time mantis is upgrad
I agree this won't work for everyone.. however, I didn't start this bug
and perhaps if we substituted dbname with dbadmname? if there is one
then this would be correct. All I know is that every time mantis is
upgraded I have to go hack the post.inst script. I didn't look at it
very closely t
* Anthony Tippett <[EMAIL PROTECTED]> [2006-01-20 11:28:18 -0800]:
Hi Anthony,
> Changing the following in mantis.postinst will fix the issue for me.
> Postinst is using the
> wrong variable. Should use dbadmpass
>
> 283c283
> < mysqldump -u"$dbuser" -h"$dbserver" -p"$dbpass" "$d
Changing the following in mantis.postinst will fix the issue for me.
Postinst is using the wrong variable. Should use dbadmpass
283c283
< mysqldump -u"$dbuser" -h"$dbserver" -p"$dbpass" "$dbname" \
---
> mysqldump -u"$dbuser" -h"$dbserver" -p"$dbadmpass" "$dbname" \
--
I'm also experiencing this issue and mantis fails to upgrade:
Setting up mantis (0.19.2-4.1) ...
I: Using password from existing config file.
I: Restarting webservers: apache
E: webserver restart failed: ERROR! But /etc/init.d/apache is not
installed (or not executable).
Rotated `/var/backups/m
Package: mantis
Version: 0.19.2-4
Severity: important
Hello!
When trying to upgrade Mantis I encountered a few problems:
1. I'm forced to create database backup. I strongly believe it should be
optional (for example, person performing an upgrade may not have data about
database admin user/passw
11 matches
Mail list logo