[Koha] 500 Internal Server Error

Thomas Daly letterbox at daladi.com
Mon Mar 13 12:42:18 NZDT 2023


I was using my development server which has been used previously for various
other projects.

I tried starting again with a clean installation of Debian 11 on another
machine.  This time the Koha installation worked flawlessly.

So it seems the original server was misconfigured in some way that caused
the problems below.

-----Original Message-----
From: Koha <koha-bounces at lists.katipo.co.nz> On Behalf Of Thomas Daly
Sent: 27 February 2023 14:41
To: koha at lists.katipo.co.nz
Subject: [Koha] 500 Internal Server Error

I'm finding that the Koha instance's intranet site is crashing with an
Internal Server Error.  It first happened when I tried to change the
superlibrarian's user ID.  I couldn't recover the system at all, and had to
delete and re-create the instance.

 

It has recurred in the installer when selecting the language.  Log files
are being filled with repeated errors about missing database tables, e.g.

 

indexer-output.log:

 

DBD::mysql::st execute failed: Table 'koha_zilib.zebraqueue' doesn't exist
at /usr/share/koha/lib/Koha/Database.pm line 152.

DBD::mysql::st fetchrow_arrayref failed: fetch() without execute() at
/usr/share/koha/lib/Koha/Database.pm line 152.

DBD::mysql::st execute failed: Table 'koha_zilib.zebraqueue' doesn't exist
at /usr/share/koha/lib/Koha/Database.pm line 152.

DBD::mysql::st fetchrow_arrayref failed: fetch() without execute() at
/usr/share/koha/lib/Koha/Database.pm line 152.

 

plack-intranet-error.log:

 

[2023/02/27 14:28:08] [WARN] DBD::mysql::st fetchrow_hashref failed:
fetch() without execute() at /usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.language_descriptions' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st fetchrow_hashref failed:
fetch() without execute() at /usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.language_descriptions' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st fetchrow_hashref failed:
fetch() without execute() at /usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.systempreferences' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.systempreferences' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.systempreferences' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] DBD::mysql::st execute failed: Table
'koha_zilib.systempreferences' doesn't exist at
/usr/share/koha/lib/Koha/Database.pm line 152.

[2023/02/27 14:28:08] [WARN] Install required, redirecting to Installer at
/usr/share/koha/lib/C4/Auth.pm line 762.

 

plack-error.log:

 

DBD::mysql::st execute failed: Table 'koha_zilib.systempreferences' doesn't
exist at /usr/share/koha/lib/Koha/Database.pm line 152.

DBD::mysql::st execute failed: Table 'koha_zilib.systempreferences' doesn't
exist at /usr/share/koha/lib/Koha/Database.pm line 152.

Template process failed: file error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en-GB/modules/installer/
s
tep1.tt: not found at /usr/share/koha/lib/C4/Templates.pm line 127.

Template process failed: file error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en-GB/modules/installer/
s
tep1.tt: not found at /usr/share/koha/lib/C4/Templates.pm line 127.

 

Any help appreciated.

 

_______________________________________________

Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list