On 16/03/2014 22:43, Erik Huelsmann wrote:
Once I get a 1.3 working I'll look through the upgrade script and amend it to account for my databases. I'll submit patches for this. I'm guessing (hoping) the upgrade from 1.3 to 1.4 will be easier when the time comes?
Thanks for the pointer.
The install file says:
One way you can create databases fairly easily is by directing your web browser to the setup.pl script at your installed ledgersmb directory. So if the base URL is http://localhost/ledgersmb/, you can access the database setup and upgrade script at http://localhost/ledgersmb/setup.pl. This is very different from the approaches taken by LedgerSMB 1.2.x and earlier and SQL-Ledger, but rather forms a wizard to walk you through the process. Please note that the setup.pl file assumes that LedgerSMB is already configured to be able to access the database and locate the relevant PostgreSQL contrib scripts. In particular, you must have the contrib_dir directive set to point to those scripts properly in your ledgersmb.conf before you begin.
Trying to login to a database that doesn't exist is counter intuitive and doesn't scream out as a way of creating a database. The instructions above only mention going to that script. Once at that script there is no mention of creating a database.
Yeah, I don't want to go there for my real accounts.