[Koha] Upgrading from 3.14 to 3.20 (Oldstable)

Chris Cormack chrisc at catalyst.net.nz
Sun Dec 27 06:27:29 NZDT 2015



On 27 December 2015 6:11:18 am NZDT, Ata ur Rehman <ata.rehman at gmail.com> wrote:
>Dear Grex / All
>
>The same happened with me while upgrading from 3.20.6 to 3.20.7. using
>packages (oldstable).  All I get the web-installer again and again. 
>Thank
>God it was not a production server... :)
>
>Regards,
>
>Ata


Hi all

I can see the problem, it is a typo in the Koha.pm file. A quick fix until a new tarball/package is made is to find Koha.pm and edit line 32

Change
$VERSION = "3.20.07.001";
To
$VERSION = "3.20.07.000";

And everything will work again.

Chris
>
>On Sat, Dec 26, 2015 at 9:36 PM, le-grex <post at grex.is-lost.org> wrote:
>
>> Hello,
>>
>> well it's Christmas and i expected nobody to use Koha these days, so
>i
>> run a upgrade from a 3.14er Installation to 3.20 (from the oldstable
>> channel).
>>
>> It looked like it all went well, but now, the Web-Installer
>> (Updatestructure) doesn't go away. If i login with the "Superuser" i
>get:
>>
>> "All required Perl modules appear to be installed.
>> All dependencies installed."
>>
>> I can click next and get:
>>
>> "Updating database structure
>>
>> Everything went OK, update done."
>>
>> -> "Continue to log in to Koha"
>>
>> But if i click that it shows the first (All required Perl...) window
>> again, this:
>cgi-bin/koha/installer/install.pl?step=1&op=updatestructure
>>
>> The Log says:
>>
>> [Sat Dec 26 17:20:06 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:06 2015] mainpage.pl: Database update needed, redirecting to
>> Installer. Database is 3.2007000 and Koha is 3.2007001 at
>> /usr/share/koha/lib/C4/Auth.pm line 697., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:06 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:06 2015] Context.pm: Subroutine C4::Context::confess redefined
>at
>> /usr/share/perl/5.14/Exporter.pm line 67., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:06 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:06 2015] Context.pm: Subroutine C4::Context::croak redefined at
>> /usr/share/perl/5.14/Exporter.pm line 67., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:06 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:06 2015] Context.pm: Subroutine C4::Context::carp redefined at
>> /usr/share/perl/5.14/Exporter.pm line 67., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:08 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:08 2015] install.pl: Use of uninitialized value $version in
>> numeric lt (<) at /usr/share/perl5/Modern/Perl.pm line 25., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:08 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:08 2015] install.pl: Use of uninitialized value $version in
>> numeric lt (<) at /usr/share/perl5/Modern/Perl.pm line 25., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=3&op=updatestructure&checkmodule=1
>> [Sat Dec 26 17:20:08 2015] [error] [client 109.104.55.175] File does
>not
>> exist: /usr/share/koha/intranet/htdocs/favicon.ico, referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=1&op=updatestructure
>> [Sat Dec 26 17:20:09 2015] [error] [client 109.104.55.175] [Sat Dec
>26
>> 17:20:09 2015] 404.pl: Database update needed, redirecting to
>Installer.
>> Database is 3.2007000 and Koha is 3.2007001 at
>> /usr/share/koha/lib/C4/Auth.pm line 697., referer:
>>
>>
>https://koha.domain.de/cgi-bin/koha/installer/install.pl?step=1&op=updatestructure
>>
>> 3.2007001? The Upgrade didn't show that, i've seen only this:
>>
>> Upgrade to 3.20.07.000 done (3.20.7 release)
>> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a
>directory.
>> (Symbolic links are not supported at the moment)
>> Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more
>> information.
>> /usr/share/koha/opac/htdocs/opac-tmpl/ccsr/en/: Input must be a
>directory.
>> (Symbolic links are not supported at the moment)
>>
>> The latter is from the opac themes ccsr and prog which aren't used
>> anymore, as far as i see.
>>
>> But i don't get how to get this database to 3.2007001...
>>
>> Maybe someone can help me with that.
>>
>> Thank you and have some happy holidays though ;)
>>
>> Ciao,
>>
>> Grex
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha at lists.katipo.co.nz
>https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Koha mailing list