https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37020

Aditya <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Aditya <[email protected]> ---
I am having even bigger problems due to the mysql warnings. I have used
koha-dump to backup koha 23.11 in server 1. I have installed latest Koha 24.05
in server 2 and ran koha-restore. As it's a version upgrade, it's expected to
have web installer. 

When I am going through database upgrade step, I am getting errors and can't
proceed further: "WARNING: MYSQL_OPT_RECONNECT is deprecated and will be
removed in a future version.". 

I have used "apt install --reinstall koha-common", it seemed like the issue got
fixed with the same warning in terminal, but the database doesn't seem to be
upgraded as I am now getting "Error 500" in Circulation and Fine Rules page,
and empty fields in "Identity Provider" edit buttons, which was working
perfectly fine in version 23.11. 

I have checked through installer codebase, it seems like whenever DBD::mysql
generates any warning logs, the Koha's error handling mechanism mistakes it as
error instead of warnings (line 441 of
"/usr/share/koha/intranet/cgi-bin/installer/install.pl"). And I believe, the
same error mechanism is reflected either throughout the Koha codebase or in
DBD::mysql package. 

Possible fix: 
1. Change logic for error handling
2. Add "SET sql_notes=0" everywhere before having any query of SQL
3. Bundle error-free DBD::mysql perl package with Koha that has no such issue

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to