[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: database upgrade fails, was 1.3.28 make test fails
- Subject: Re: database upgrade fails, was 1.3.28 make test fails
- From: David <..hidden..>
- Date: Sun, 17 Feb 2013 13:10:49 +1100
I'm now up to the database upgrade, and after entering some vendor
numbers and customer numbers that the system seemed to be asking for,
and the country/default accounts, I click "upgrade" and I get a
premature end of script from setup.pl
The old data base seems to be trashed, because if I re-run setup.pl I
get <Unknown database found>
Yes, I do have a backup. I just hope it works properly :)
Log follows.
[Sun Feb 17 12:10:43 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:10:59 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:10:59 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:11:07 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:11:07 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:11:17 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:11:17 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:14:02 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:14:03 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:18:34 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:18:35 2013] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:19:48 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:01 2013] [error] [client 127.0.0.1] commit ineffective
with AutoCommit enabled at scripts/setup.pl line 617., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:13 2013] [error] [client 127.0.0.1] sh: 1: cannot
create /tmp/ledgersmb/dblog_stdout: Permission denied, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:13 2013] [error] [client 127.0.0.1] sh: 1: cannot
create /tmp/ledgersmb/dblog_stdout: Permission denied, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:13 2013] [error] [client 127.0.0.1] sh: 1: cannot
create /tmp/ledgersmb/dblog_stdout: Permission denied, referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:16 2013] [error] [client 127.0.0.1]
/tmp/ledgersmb/1.2-1.3-upgrade.sql: Permission denied at
LedgerSMB/Template/TXT.pm line 103., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:16 2013] [error] [client 127.0.0.1] Compilation failed
in require at /usr/local/ledgersmb/setup.pl line 8., referer:
http://localhost/ledgersmb/setup.pl
[Sun Feb 17 12:58:17 2013] [error] [client 127.0.0.1] Premature end of
script headers: setup.pl, referer: http://localhost/ledgersmb/setup.pl
On 17/02/13 12:07, David wrote:
> On 17/02/13 09:57, David wrote:
>> On 17/02/13 06:56, Robert J. Clay wrote:
>>> David,
>>>
>>> On Sat, Feb 16, 2013 at 6:07 AM, David <..hidden..> wrote:
>>>> I have just run <# make test> and I get this report at the end.
>>>> Any suggestions what to do about it?
>>>> I have done <sudo apt-get install texlive>
>>> Which version of which OS are you running?
>> Ubuntu 12.04
>>
>>>> so I'm assuming latex is installed.
>>> But not necessarily the Perl support for it.... Do you have the
>>> following packages installed?
>>>
>>> liblatex-driver-perl
>> Installed
>>> libtemplate-plugin-latex-perl (which depends on the latex driver package)
>> doesn't seem to exist :(
>> ..hidden..:/usr/local/ledgersmb$ sudo aptitude install
>> libtemplate-plugin-latex-perl
>> Couldn't find any package whose name or description matched
>> "libtemplate-plugin-latex-perl"
> I found the package here:
>
> http://packages.debian.org/sid/libtemplate-plugin-latex-perl
>
> downloaded and installed using dpkg.
>
> Tests now pass. I'm hoping there are no version conflicts that are hidden.
>
> Now I'm stuck at the "backup to email" option of the setup.pl script.
> Obviously I can do a manual backup, but I get this is the apache error log:
>
>
> [Sun Feb 17 12:01:18 2013] [error] [client 127.0.0.1] DBD::Pg::st
> execute failed: ERROR: column "version" does not exist, referer:
> http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:18 2013] [error] [client 127.0.0.1] LINE 1: SELECT
> version FROM defaults, referer: http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:18 2013] [error] [client 127.0.0.1] ^ at
> LedgerSMB/Database.pm line 326., referer:
> http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:45 2013] [error] [client 127.0.0.1] pg_dump: [custom
> archiver] could not open output file
> "/tmp/ledgersmb/backup_kenpro_2013-02-17.bak": Permission denied,
> referer: http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:45 2013] [error] [client 127.0.0.1] 2013/02/17
> 12:01:45 - ERROR - LedgerSMB::Database::db_backup LedgerSMB/Database.pm
> (167) -- backup failed: non-zero exit code from pg_dump, referer:
> http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:45 2013] [error] [client 127.0.0.1] Died at
> LedgerSMB.pm line 952., referer: http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:45 2013] [error] [client 127.0.0.1] Compilation failed
> in require at /usr/local/ledgersmb/setup.pl line 8., referer:
> http://localhost/ledgersmb/setup.pl
> [Sun Feb 17 12:01:45 2013] [error] [client 127.0.0.1] Directory index
> forbidden by Options directive: /usr/local/ledgersmb/css/, referer:
> http://localhost/ledgersmb/setup.pl
>
>
> I'm having a lot of problems with this upgrade. If I get through
> successfully I will post all the solutions I found. That's if there are
> any 1.2 users left to care :)
>
>
>
> ------------------------------------------------------------------------------
> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
> is your hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials, tech docs,
> whitepapers, evaluation guides, and opinion stories. Check out the most
> recent posts - join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
--
David McQuire
0418 310312
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users