Bug 6101 - Debian packaging error on koha-create second and next instances
Summary: Debian packaging error on koha-create second and next instances
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 - low enhancement (vote)
Assignee: Robin Sheat
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 17:03 UTC by Serhij Dubyk
Modified: 2014-12-07 20:02 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serhij Dubyk 2011-04-06 17:03:40 UTC
It was installed koha-common on Debian Squeezy.

Creating of first instance by
  koha-create --create-db ukr_unimarc
was ok and web-installer started
After next creating
  koha-create --create-db rus_unimarc
in web installer was next error
{
Software error:

Can't call method "param" on an undefined value at InstallAuth.pm line 243.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the erro
}
(but the corresponding OPAC-page started without error)

I also tried to create another 3 and 4 instances but obtain similar errors for web-installer (OPAC-web-pages appear without error (System Maintenance...))

P.S. Also tried this on Debian testing machine with similar results.
Comment 1 Robin Sheat 2011-04-06 22:50:12 UTC
This means the session isn't initialising correctly. Do the apache error logs give you any more information? I'd expect to see something like it failing to write a file somewhere, or something along those lines.
Comment 2 Serhij Dubyk 2011-04-07 13:18:21 UTC
Appropriate Apache log from "/var/log/koha/rus_unimarc/intranet-error.log" is next:
~~~[Thu Apr 07 15:36:51 2011] [error] [client 127.0.0.1] [Thu Apr  7 15:36:51 2011] install.pl: DBD::mysql::st execute failed: Table 'koha_rus_unimarc.lan
guage_subtag_registry' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 192., referer: http://localhost/
[Thu Apr 07 15:36:51 2011] [error] [client 127.0.0.1] [Thu Apr  7 15:36:51 2011] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without ex
ecute() at /usr/share/koha/lib/C4/Languages.pm line 193., referer: http://localhost/
[Thu Apr 07 15:36:51 2011] [error] [client 127.0.0.1] [Thu Apr  7 15:36:51 2011] install.pl: Can't call method "param" on an undefined value at Install 
Auth.pm line 243., referer: http://localhost/~~~

But what's interesting - the first 2 messages are present in the output "/var/log/koha/ukr_unimarc/intranet-error.log" of first instance, but web-installer for ukr_unimarc work in browser without errors.

P.S. On another server with 2 instanes situation more interesting: yesterday not started web-installer for second instance, but today second ok and it not started for first intance.
Comment 3 Robin Sheat 2011-04-07 23:15:37 UTC
How far through the installer do you get? Is it the moment you try to bring up the page, or do you get to select (in particular) the MARC framework? Can you also attach the output of running 'locale'?
Comment 4 Serhij Dubyk 2011-04-08 20:50:49 UTC
(In reply to comment #3)
> How far through the installer do you get? Is it the moment you try to bring up
> the page, or do you get to select (in particular) the MARC framework? Can you
> also attach the output of running 'locale'?

I seem to find how it goes ... I created four instances using "koha-create ...". Then I tried immediately access to the web pages of the web-installers (in my case it is: localhost:7777, localhost:6666, localhost:5555 and localhost:4444).
Only one of four pages display login, three other bring pages with above "param"-errors.

Now I saw that access to the following instance web-installer appears after the successful completion of the previous instance web-installer.

(my locale: uk_UA.UTF-8)
Comment 5 Robin Sheat 2011-04-10 23:35:15 UTC
That is really weird, they should be completely independent from one another. I'm at a loss to see how that would happen, when I get a chance I'll have to see if I can reproduce it.
Comment 6 Magnus Enger 2013-04-10 06:43:15 UTC
This is now 2 years old without any further activity, and I have been doing lots of koha-creates in the meantime. Closing, but please reopen if this is still an issue for anyone.