View Issue Details

IDProjectCategoryView StatusLast Update
0004330Talerobsolete componentpublic2016-03-24 14:16
ReporterChristian Grothoff Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-03-21 11: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 14: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 ModifiedUsernameFieldChange
2016-03-20 23:35Christian GrothoffNew Issue
2016-03-20 23:35Christian GrothoffStatusnew => assigned
2016-03-20 23:35Christian GrothoffAssigned To => Christian Grothoff
2016-03-20 23:35Christian GrothoffAssigned ToChristian Grothoff => Marcello Stanisci
2016-03-21 11:02Marcello StanisciNote Added: 0010305
2016-03-24 14:15Christian GrothoffNote Added: 0010334
2016-03-24 14:16Christian GrothoffAssigned ToMarcello Stanisci => Christian Grothoff
2016-03-24 14:16Christian GrothoffStatusassigned => informing
2016-03-24 14:16Christian GrothoffFixed in Version => 0.0
2016-03-24 14:16Christian GrothoffResolutionopen => fixed
2016-03-24 14:16Christian GrothoffStatusinforming => closed
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component