View Issue Details

IDProjectCategoryView StatusLast Update
0004330Talerobsolete componentpublic2016-03-24 15:16
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004330: taler-bank-manage insists on database $USER, not 'talertest'
DescriptionDespite what the help page says, taler-bank-manage wants to create a database 'grothoff' on my system:

$ taler-bank-manage --definetables
Creating tables...
psql: FATAL: database "grothoff" does not exist
Please create db (--create-db) before running this option

Note that 'talertest' exists:
postgres@spec:~$ createdb talertest
createdb: database creation failed: ERROR: database "talertest" already exists

Also, passing 'grothoff' or 'talertest' as OWNER to --createdb doesn't help.
TagsNo tags attached.

Activities

Marcello Stanisci

2016-03-21 12:02

reporter   ~0010305

All that --definetables does is to call the following two
commands that don't create any db, but just define tables
and other "internal" stuff. Could it be that you have some
old "reference" to the 'grothoff' db?

      python manage.py makemigrations
      python manage.py migrate

Christian Grothoff

2016-03-24 15:15

manager   ~0010334

I found the issue, the postgres commands you invoked required that a per-user default DB existed. This has now been fixed.

Issue History

Date Modified Username Field Change
2016-03-21 00:35 Christian Grothoff New Issue
2016-03-21 00:35 Christian Grothoff Status new => assigned
2016-03-21 00:35 Christian Grothoff Assigned To => Christian Grothoff
2016-03-21 00:35 Christian Grothoff Assigned To Christian Grothoff => Marcello Stanisci
2016-03-21 12:02 Marcello Stanisci Note Added: 0010305
2016-03-24 15:15 Christian Grothoff Note Added: 0010334
2016-03-24 15:16 Christian Grothoff Assigned To Marcello Stanisci => Christian Grothoff
2016-03-24 15:16 Christian Grothoff Status assigned => resolved
2016-03-24 15:16 Christian Grothoff Fixed in Version => 0.0
2016-03-24 15:16 Christian Grothoff Resolution open => fixed
2016-03-24 15:16 Christian Grothoff Status resolved => closed
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component