Installations fails

Bug #413092 reported by Daan Sprenkels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mai App
Won't Fix
Critical
Wouter Bulten
0.1
Won't Fix
Low
Wouter Bulten
0.2
Fix Released
High
Wouter Bulten
Trunk
Won't Fix
Critical
Wouter Bulten

Bug Description

I tried to install Mai on my computer, but it failed.

My system information:

  Ubuntu 8.04 (hardy)
  Linux 2.6.24-24-generic
  Php-5.2.9

Here's the console output:

~$ /opt/lampp/bin/php '/home/sprenkels/mai/manager/mai-manager'

---
 Mai Command Line Interface

 Copyright (C) 2009 Mai (Me Artificial Intelligence)
 Licensed under the GNU General Public License version 3 (GPLv3)
---

This CLI can install, update or change your Mai installation.
Please proceed with caution!

What do you want to do?

   [1] Install
   [2] Backup database
   [q] Exit

Option: 1

Checking requirements..
PHP: OK (5.2.9)
FrontBase: Not found!
InterBase / Firebird: Not found!
Microsoft SQL Server: OK
MySQL: OK
MySQLi: OK
Oracle: Not found!
PostgreSQL: Not found!
QuerySim: Not found!
SQLite 2: OK

Valid database extension found.
Creating new config..

Do you want to configure Mai? (recommended) (y/n) y

Mai creates 2 databases. Wich extension should be used? (e.g. mysql or psql) mysql

What host should be used? (default is localhost)

What databse name should be used for the base database? (default is mai_base)

What databse name should be used for the user database? (default is mai_user)

A database user is needed with rights to create the base database.
Please create a database named and a user with rights on it.
Alternatively you can create a user wich has the right to create a database.
What is the username of the user for the BASE db? root

What is the password of the user for the BASE db? *********

A database user is needed with rights to create the user database.
Please create a database named and a user with rights on it.
Alternatively you can create a user wich has the right to create a database.
What is the username of the user for the USER db? root

What is the password of the user for the USER db? *********

The config file will now be created. These values can be changed by editing the config file:
/home/sprenkels/mai/application\config\config.ini
Bootstrapping started..
Bootstrapping completed.
Testing database connection: base
Fatal error: Uncaught exception 'Doctrine_Manager_Exception' with message 'Could not parse dsn' in /home/sprenkels/mai/library/Doctrine/Manager.php:351
Stack trace:
#0 /home/sprenkels/mai/library/Doctrine/Manager.php(366): Doctrine_Manager->_buildDsnPartsArray('mysql://root:po...')
#1 /home/sprenkels/mai/library/Doctrine/Manager.php(230): Doctrine_Manager->parseDsn('mysql://root:po...')
#2 /home/sprenkels/mai/library/Doctrine/Manager.php(192): Doctrine_Manager->openConnection('mysql://root:po...', 'mai_basedb_conn...')
#3 /home/sprenkels/mai/application/models/Application/Cli.php(386): Doctrine_Manager::connection('mysql://root:po...', 'mai_basedb_conn...')
#4 /home/sprenkels/mai/application/models/Application/Cli.php(488): Application_Cli::testBaseDb()
#5 /home/sprenkels/mai/application/models/Application/Cli.php(84): Application_Cli::runInstall()
#6 /home/sprenkels/mai/manager/mai-manager(53): Application_Cli::run()
#7 {main}
  thrown in /home/sprenkels/mai/library/Doctrine/Manager.php on line 351

Changed in mai:
assignee: nobody → Wouter Bulten (wouterbulten)
importance: Undecided → Critical
milestone: none → app0.2.1
status: New → Confirmed
security vulnerability: no → yes
Revision history for this message
Daan Sprenkels (dsprenkels) wrote : Re: [Bug 413092] Re: Installations fails
Download full text (4.9 KiB)

Dudes, should we end series 0.1 completely?
(If possible.)

Daan Sprenkels

<email address hidden>
https://launchpad.net/~dsprenkels

On Thu, Aug 13, 2009 at 23:29, Wouter Bulten <email address hidden>wrote:

> ** Changed in: mai
> Importance: Undecided => Critical
>
> ** Changed in: mai
> Milestone: None => app0.2.1
>
> ** Changed in: mai
> Assignee: (unassigned) => Wouter Bulten (wouterbulten)
>
> ** Changed in: mai
> Status: New => Confirmed
>
> ** Also affects: mai/app0.1
> Importance: Undecided
> Status: New
>
> ** Also affects: mai/app0.2
> Importance: Undecided
> Status: New
>
> ** Also affects: mai/trunk
> Importance: Critical
> Assignee: Wouter Bulten (wouterbulten)
> Status: Confirmed
>
> ** Changed in: mai/app0.1
> Importance: Undecided => Low
>
> ** Changed in: mai/app0.1
> Status: New => Won't Fix
>
> ** Changed in: mai/app0.2
> Importance: Undecided => Critical
>
> ** Changed in: mai/app0.2
> Status: New => Confirmed
>
> ** Changed in: mai/app0.2
> Milestone: None => app0.2.1
>
> ** Changed in: mai/app0.2
> Assignee: (unassigned) => Wouter Bulten (wouterbulten)
>
> ** Changed in: mai/trunk
> Importance: Critical => Medium
>
> ** This bug has been flagged as a security vulnerability
>
> ** Changed in: mai/trunk
> Importance: Medium => Critical
>
> ** Changed in: mai/app0.2
> Importance: Critical => High
>
> --
> Installations fails
> https://bugs.launchpad.net/bugs/413092
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Mai (Me Artificial Intelligence): Confirmed
> Status in Mai app0.1 series: Won't Fix
> Status in Mai app0.2 series: Confirmed
> Status in Mai trunk series: Confirmed
>
> Bug description:
> I tried to install Mai on my computer, but it failed.
>
> My system information:
>
> Ubuntu 8.04 (hardy)
> Linux 2.6.24-24-generic
> Php-5.2.9
>
> Here's the console output:
>
>
> ~$ /opt/lampp/bin/php '/home/sprenkels/mai/manager/mai-manager'
>
> ---
> Mai Command Line Interface
>
> Copyright (C) 2009 Mai (Me Artificial Intelligence)
> Licensed under the GNU General Public License version 3 (GPLv3)
> ---
>
> This CLI can install, update or change your Mai installation.
> Please proceed with caution!
>
> What do you want to do?
>
> [1] Install
> [2] Backup database
> [q] Exit
>
> Option: 1
>
> Checking requirements..
> PHP: OK (5.2.9)
> FrontBase: Not found!
> InterBase / Firebird: Not found!
> Microsoft SQL Server: OK
> MySQL: OK
> MySQLi: OK
> Oracle: Not found!
> PostgreSQL: Not found!
> QuerySim: Not found!
> SQLite 2: OK
>
> Valid database extension found.
> Creating new config..
>
> Do you want to configure Mai? (recommended) (y/n) y
>
> Mai creates 2 databases. Wich extension should be used? (e.g. mysql or
> psql) mysql
>
> What host should be used? (default is localhost)
>
> What databse name should be used for the base database? (default is
> mai_base)
>
> What databse name should be used for the user database? (default is
> mai_user)
>
> A database user is needed with rights to create the base database.
> Please create a database named and a user with rights on it.
> Alternatively yo...

Read more...

Revision history for this message
Wouter Bulten (wouterbulten) wrote :

I will try to create a pre-relase version of Mai 0.2 this weekend. Besides that I will add extra (manual) install notes to the 0.1 series.

Support of Mai Manager will be stopped for all version below the pre-release.

Revision history for this message
Wouter Bulten (wouterbulten) wrote :

The bug in App0.1 will not be fixed. Instead of that extra install notes will be added.

Revision history for this message
Wouter Bulten (wouterbulten) wrote :
Revision history for this message
Wouter Bulten (wouterbulten) wrote :

I tried to re-install Mai App 0.1.1 but Mai Doctrine Command Line Interface failed. There is a bug inside one of the bootstrap files.

The 0.1 series will be ended and no support will be given anymore.

Revision history for this message
Wouter Bulten (wouterbulten) wrote :

Mai Manager is removed for release 0.2.0.
Mai Manager will not anymore be the standard way to install Mai. Only manual installations are now supported.

Revision history for this message
Wouter Bulten (wouterbulten) wrote :

Mai Manager will not be supported anymore. First we need to rewrite it.

Revision history for this message
Wouter Bulten (wouterbulten) wrote :

Mai Manger is not supported anymore. Use manual installation instead.

Changed in mai:
status: In Progress → Won't Fix
security vulnerability: yes → no
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.