[Koha] upgrading from koha 3.0/debian lenny to koha 18/ubuntu 16

Tanzeem M.B tanzeem.mb at gmail.com
Thu Dec 13 22:25:42 NZDT 2018


Hi

I am upgrading from koha 3.0.2 to a latest supported version.
My present koha installation is koha version 3.0 installed in Debian Lenny
In the new installation on another machine I have loaded ubuntu 16
and installed the latest version of koha 18.
I took the backup of koha from debian.
Restored the database in the new installation of koha 18 in ubuntu16.
Then upgraded the database schema
and run zebra-rebuld indexing.
which run successfully. I rebooted the system and loaded the installed koha
in the browser with url
http://<koha-instance>.<domain-name>:8080
and the web-installer got run again and after the update database step I
got the following error
```Updating database structure

Update report :

   - Status: 500
   - Content-type: text/html
   -
   - <h1>Software error:</h1>
   - <pre>DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column
   'me.weight' in 'field list' at /usr/share/koha/lib/Koha/Objects.pm line 110
   - </pre>
   - <p>
   - For help, please send mail to the webmaster (<a href="mailto:[no
   address given]">[no address given]</a>), giving this error message
   - and the time and date of the error.
   -
   - </p>

Update errors :

   - [Thu Dec 13 14:28:24 2018] updatedatabase.pl: DBD::mysql::st execute
   failed: Unknown column 'me.weight' in 'field list' [for Statement "SELECT
   `me`.`id`, `me`.`name`, `me`.`label`, `me`.`type`, `me`.`weight` FROM
   `search_field` `me` WHERE ( `me`.`name` = ? )" with ParamValues: 0='ta'] at
   /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1834.
   - [Thu Dec 13 14:28:24 2018] updatedatabase.pl:
   DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column 'me.weight' in
   'field list' at /usr/share/koha/lib/Koha/Objects.pm line 110

```
Please help to move further.

With Thanks & Regards

Mr. Tanzeem M B
+91 9446705956

Thiruvananthapuram


More information about the Koha mailing list