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

1.4.0-b3 config file differences to 1.3.28



This message is to provide feedback on my experience upgrading from 1.3.28
to 1.4.0-b3.

So far, I've been able to resolve the stumbling blocks I hit... this
documents what I found in case anybody else hits the same problems.

I am using Ubuntu 11.04, with ledgersmb installed from tarball.


-- Different Config File Format --
I tried to use the ledgersmb.conf configuration file from my 1.3.28
installation.

This gave an Internal Server Error trying to browse to setup.pl:

Line 1 in file ledgersmb.conf is mal-formed:
\tauth : DBLine 2 in file ledgersmb.conf is mal-formed:
\tlogging  : 0Line 4 in file ledgersmb.conf is mal-formed:
\ttempdir : /tmp/ledgersmb9: parameter found outside a section at
LedgerSMB/Sysconfig.pm line 100.
Compilation failed in require at lsmb-request.pl line 23.

This is because my ledgersmb.conf file (which works fine with 1.3.28) uses
':' rather than '=' as a key/value separator and that it is missing a
[main] section.

I manually edited the config file to change the separators and add a
[main] section tag.


-- Missing Perl Module Dependency --
I had to install an additional perl dependency: Contextual::Return:

# sudo apt-get install libcontextual-return-perl


-- Minor Errors In Log on Database Upgrade --
I was then able to click Rebuild/Upgrade. This returned a 'completed
successfully' message, however there were some errors reported in the
apache log:

[Mon Feb 04 11:16:19 2013] [error] [client 127.0.0.1] DBI
connect('dbname=template1','',...) failed: fe_sendauth: no password
supplied at LedgerSMB.pm line 873, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:23 2013] [error] [client 127.0.0.1] DBD::Pg::st execute
failed: ERROR:  column "version" does not exist, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:23 2013] [error] [client 127.0.0.1] LINE 1: SELECT
version FROM defaults, referer: http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:23 2013] [error] [client 127.0.0.1]                ^ at
LedgerSMB/Database.pm line 328., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1] DBD::Pg::st execute
failed: ERROR:  column "version" does not exist, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1] LINE 1: SELECT
version FROM defaults, referer: http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1]                ^ at
LedgerSMB/Database.pm line 328., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1] Issuing rollback()
due to DESTROY without explicit disconnect() of DBD::Pg::db handle
dbname=npbroadcast at LedgerSMB/Scripts/setup.pm line 854., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1] DBD::Pg::st execute
failed: ERROR:  column "version" does not exist, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1] LINE 1: SELECT
version FROM defaults, referer: http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:37 2013] [error] [client 127.0.0.1]                ^ at
LedgerSMB/Database.pm line 328., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:55 2013] [error] [client 127.0.0.1] Issuing rollback()
due to DESTROY without explicit disconnect() of DBD::Pg::db handle
dbname=npbroadcast at LedgerSMB/Scripts/setup.pm line 486., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:55 2013] [error] [client 127.0.0.1] Issuing rollback()
due to DESTROY without explicit disconnect() of DBD::Pg::db handle
dbname=npbroadcast at lsmb-request.pl line 109., referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/setup/iexplore.js, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/setup/opera.js, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/setup/firefox.js, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/setup/konqueror.js, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/setup/safari.js, referer:
http://localhost/ledgersmb/setup.pl
[Mon Feb 04 11:16:56 2013] [error] [client 127.0.0.1] File does not exist:
/usr/local/ledgersmb/UI/logout/epiphany.js, referer:
http://localhost/ledgersmb/setup.pl

I don't believe these errors are significant.


I can now log in successfully to 1.4.0

Many thanks for the hard work that has gone into 1.4. I'm looking forward
to testing it and will report anything I manage to break!

Best wishes,

Nick