Created attachment 169071 [details] Error Server was upgraded to 24.05.01 and it started showing Error 500 in Tools>HTML customizations option. In the browser console it shows Internal Server Error; GET https://matlis-intra.unitech.ac.pg/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations 500 (Internal Server Error)Understand this error jquery-migrate-3.3.2.min_24.0501000.js:2 JQMIGRATE: Migrate is installed, version 3.3.2 chext_driver.js:500 Initialized driver at: Wed Jul 17 2024 10:34:22 GMT+1000 (Papua New Guinea Time) chext_loader.js:66 Initialized chextloader at: 1721176462708 Any clue how to resolve it.
Running below command shows the following errors; perl -c /usr/share/koha/intranet/cgi-bin/tools/additional-contents.pl unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 171. Use of uninitialized value in subroutine entry at /usr/share/perl5/Module/Find.pm line 204. Use of uninitialized value in subroutine entry at /usr/share/perl5/Module/Find.pm line 204. unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 171. Use of uninitialized value $file in exists at /usr/share/koha/lib/Koha/Config.pm line 78. Use of uninitialized value $file in hash element at /usr/share/koha/lib/Koha/Config.pm line 79. Use of uninitialized value $file in hash element at /usr/share/koha/lib/Koha/Config.pm line 82. Use of uninitialized value $file in exists at /usr/share/koha/lib/Koha/Config.pm line 78. Use of uninitialized value $file in hash element at /usr/share/koha/lib/Koha/Config.pm line 82. unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 171. /usr/share/koha/intranet/cgi-bin/tools/additional-contents.pl syntax OK Please advice how this issue can be resolved.
You can't see the error by running perl -c. The correct way to extract the error from the sytem logs is: tail -f /var/log/koha/name_of_instance/*.log and then hit the page in your browser.