[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unexpected version error



Hi Chris,

Thanks for your quick response and assistance.

I did reply with the version output a few e-mails back.

It was:

aels=# SELECT * FROM defaults WHERE setting_key = 'version';

setting_key | value

-------------+-------

version | 1.3.0

(1 row)

I set up ledgersmb the second time more or less using the directions

provided by Andres Basile for me in the password error thread.

When I try to run the setup.pl a second time (logging in as
postgres) against the same database name, 

The following occurs

A screen with the following messages appears

Confirm Operation

Unknown version found.

Cancel?

Yes No

Where choosing either Yes or No returns me to the prior screen (the Data Management Console) in an endless loop.

Thanks again for all your help.

Billy

-------------+-------

version | 1.3.0

(1 row)

I set up ledgersmb the second time more or less using the directions



On Tue, Mar 20, 2012 at 10:36 AM, Chris Travers <..hidden..> wrote:
On Mon, Mar 19, 2012 at 2:11 PM, billy akazawa <..hidden..> wrote:
> Hi everyone,
> How do I connect to the database I want to use through ledgersmb?
> The endless loop still keeps me from logging in.
> I need some way to change the database version from 1.3.0 to 1.3.12 before
> it will let me log in and get rid of the following error message (hopefully
> forever).
>
> Error!
> Database is not the expected version. Was 1.3.0, expected 1.3.12. Please
> re-run setup.pl against this database to correct.
> Thanks in advance.

First I haven't really seen a response to my original question.

I assume if you run psql -U postgres [dbname] and run the query Erik
gave you, you will get "1.3.0"

I don't understand how this happened.  How did you install LedgerSMB?

Secondly if you try to run the setup.pl a second time (logging in as
postgres) against the same database name, what happens?

The setup.pl has a number of functions.  Along other things, backup
functionality, upgrading between versions, etc, has all been moved
there.  We detect the database version before we give you options as
to what to do.

Best Wishes,
Chris Travers

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users