[Koha] KOHA Upgrade fails from v20.05 to v22.11

2023-03-12 Thread zen zenitram
Good day!


Anyone encountered this kind of error while upgrading KOHA?

Upgrading database schema for lrc
Upgrade to 22.06.00.063  [05:39:06]: Bug 31569
 -
Add primary key for import_biblios
ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate
entry '11545' for key 'import_biblios.PRIMARY' at
/usr/share/koha/lib/C4/Installer.pm line 739

and this one

ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate
entry '24064' for key 'import_biblios.import_biblios_ibfk_1' at
/usr/share/koha/lib/C4/Installer.pm line 739


need help with this.


THank you!
___

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


[Koha] Call for news - Newsletter March 2023

2023-03-12 Thread Koha Newsletter
Hi

I'm collecting news for the March 2023 Koha Community Newsletter.
Please send anything noteworthy to:

kohanews (at) gmail (dot) com

News criteria:
* News items can be of any length.
* Images are fine.
* Anything and everything Koha.
* Submit by the 26th of the month.

Text format criteria:
* Just structured plain text, or
* HTML text to include tables or similar

For events:
* Consider adding your event to the Koha Community calendar at
https://koha-community.org/calendar/

Thank you!

Michael Kuhn
Editor, Koha Community Newsletter
___

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


Re: [Koha] 500 Internal Server Error

2023-03-12 Thread Thomas Daly
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  On Behalf Of Thomas Daly
Sent: 27 February 2023 14:41
To: koha@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@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
___

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


Re: [Koha] Upgrade to 21.11 Fails

2023-03-12 Thread Bruce A. Metcalf

On 3/12/23 10:34, Katrin Fischer wrote:


the internal server error will resolve to something more meaningful in
the logs. Check your logs on the server for the full error message.



I've looked at the tail of all logs in /var/log/koha/(instance)/, but 
most are empty and the others don't give me any meaning.


One example, intranet-error.log gives:

[Sun Mar 12 09:18:00.882412 2023] [cgi:error] [pid 25446] [client 
185.224.128.17:41784] AH01215: Configuration not defined at 
/usr/share/perl5/Log/Log4perl/Config.pm line 579.: 
/usr/share/koha/intranet/cgi-bin/mainpage.pl


I've viewed both files listed, but not being a programmer, I can't see 
what might be wrong with them.



To review, an upgrade to 21.11 (OldOldStable) and Debian 10 results in 
[Internal Server Error] screens.


TIA,
/ Bruce /
Bruce A. Metcalf, Librarian
The Augustan Library
___

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


Re: [Koha] Upgrade to 21.11 Fails

2023-03-12 Thread Katrin Fischer

Hi Bruce,

the internal server error will resolve to something more meaningful in
the logs. Check your logs on the server for the full error message.

Hope this helps,

Katrin

On 11.03.23 20:48, Asst. Sec. Bruce A. Metcalf wrote:

Hi gang

Back again after a forced suspension of work.

I am trying to upgrade from Koha 21.05 on Debian 9 to 21.11
(OldOldStable) on Debian 10.

The upgrade appears to go through, but both public and staff interface
display [Internal Server Error].

System was working fine on 21.05/9, and all but Koha work under Debian
10.

All suggestions will be appreciated.

Cheers,
/ Bruce /
Bruce A. Metcalf, Librarian
Augustan Library

___

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

___

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


Re: [Koha] Can't delete fresh created biblio. DBI Exception: DBD::mysql::db do failed: Duplicate entry

2023-03-12 Thread Katrin Fischer

Hi Eugen,

it should not create any errors or problems to delete these tables.

There is even an option in the cleanup_database.pl script that will do
this type of deletions:

https://git.koha-community.org/Koha-community/Koha/src/branch/master/misc/cronjobs/cleanup_database.pl

--deleted-catalog

Hope this helps,

Katrin

On 07.03.23 08:32, DHIM IT wrote:

Dear colleagues,

the problem was that I had some old data in deletedbiblio_metadata. I think I 
forgot to clear the table after some test imports. Thanks Katrin for the tip.

Another question. Is it ok for KOHA to empty all deleted_TABLES ?

Best regards,
Eugen Bastron

Am 17.02.23, 12:35 schrieb "Koha im Auftrag von DHIM IT" mailto:koha-boun...@lists.katipo.co.nz> im Auftrag von itmana...@dhi-moskau.org 
>:


Hello Alvoro,


before deletion I don’t have any problems in koha-about/system. After I’m 
trying to delete the record I get an error in koha-about/system. But if I 
delete the record from deletedbiblio I can delete the biblio over Web without 
any problem.






I think the error is if I try to delete the biblio, koha put the biblionumber 
into deletedbiblio than check deletedbiblio and give me error. I can’t 
understand, why I can normally delete the record second time after I delete the 
biblio from deletedbiblio .


Maybe is it some Indexing problem? Any other ideas?




Server version: 10.5.18-MariaDB-0+deb11u1 Debian 11






init-file_koha_fix.sql is implemented.




Von: Alvaro Cornejo mailto:cornejo.alv...@gmail.com>>
Datum: Donnerstag, 16. Februar 2023 um 17:23
An: DHIM IT mailto:itmana...@dhi-moskau.org>>
Cc: "koha@lists.katipo.co.nz " mailto:koha@lists.katipo.co.nz>>
Betreff: Re: [Koha] Can't delete fresh created biblio. DBI Exception: 
DBD::mysql::db do failed: Duplicate entry


Hi,


Seems you have duplicated records and need to fix them. You can check that out 
in:


Go to koha-about/system information.


If that is the case, you will find there instructions on how to fix the issue 
as well as the duplicated record numbers..


Regards


Alvaro
||
[Das Bild wurde vom Absender entfernt.] Stay safe / Cuídate/ Reste sécurisé
7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure.
q Recycle always / Recicla siempre / Recyclez toujours
P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez 
seulement si nécessaire




Le jeu. 16 févr. 2023 à 03:05, DHIM IT mailto:itmana...@dhi-moskau.org>>> a écrit :
Dear colleagues,


I have problem on one of koha instance Version 22.05.09.000.


If I try to delete some biblio, fresh created too, I get this error:
An error has occurred!
Error 500




From: /var/log/koha/koha/plack-error.log




{UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry 
'61703-marcxml-MARC21' for key 'deletedbiblio_metadata_uniq_key' at 
/usr/share/koha/lib/C4/Biblio.pm line 2867










At the same time biblio landed in to the table deletedbiblio. After deleting of 
record from deletedbiblio and trying to delete the record again, it works.








Maybe have somebody idea about the error?




Mit besten Grüßen
IT-Manager
Eugen Bastron


___


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

___


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




___

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

___

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


Re: [Koha] Koha Identity Provider Setup

2023-03-12 Thread Katrin Fischer

Hi Agostino,

if you share the errors, maybe people on the list can help you resolve
them. It looks like the Identity providers haven't bee fully documented
yet, but questions will also help to see what needs to go into
documentation.

Katrin

On 08.03.23 23:54, Agostino M. Nigro wrote:

Hello,

I am looking to get more information on how to setup Koha OAuth2 Identity 
Providers - I have tried to figure it out myself and through trial and error 
with ADFS as well as with Azure Active Directory, but keep running into errors. 
Any assistance would be greatly appreciated!

--

Agostino “Austin” Nigro

agostino.ni...@nigroweb.com

​

This message is intended only for the personal and confidential use of the 
designated recipient(s) named above. The information contained in this e-mail 
transmission (including all attached files) is privileged and confidential and 
intended only for the use of the individual(s) and/or entity(ies) named above. 
If you are not the intended recipient, you are hereby notified that any 
unauthorized disclosure, copying, distribution or taking of any action in 
reliance on the contents of the e-mail materials is strictly prohibited. No 
confidentiality or privilege is waived or lost by any transmission errors. If 
you are not the intended recipient and have received this e-mail transmission 
in error, do not copy it, re-transmit it, use it or disclose its contents, but 
instead should notify myself, Agostino Nigro at agostino.ni...@nigroweb.com 
immediately and please delete it and all copies of it from your system. Thank 
you



___

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

___

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