DBD::mysql::db do failed: Table 'koha_library.roadtype' doesn't exist

I got following error message while upgrade to Koha version 3.16,

DBD::mysql::db do failed: Table 'koha_library.roadtype' doesn't exist at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
line 7987.
DBD::mysql::db do failed: Table 'koha_library.roadtype' doesn't exist at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
line 7987.
dpkg: error processing koha-common (--configure):
 subprocess installed post-installation script returned error exit status
255
E: Sub-process /usr/bin/dpkg returned an error code (1)

Up gradation process in web interface does not proceed and it repeat it again and again.

I solved the problem using following steps,
 
Open a terminal and open following file,

sudo su
leafpad /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl

Search > Jump To > 7985

Find the line
$dbh->{RaiseError} = 1;

Change the value 1 to 0.
Save file.

Go back to koha and refresh the page.

 

No comments:

Post a Comment