Re: 3.6.6 Biblio.pm With preference set to "do not use zebra", saving an "item" fails: "Can't call method "subfield" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 3104" (z39.50 and adding biblios works fine.) I see that there's a # FIXME ... ?? in the .pm but can't [easily] find a related bug: 3102 # get title of the record (to store the 10 first letters with the index) 3103 my ( $titletag, $titlesubfield ) = GetMarcFromKohaField( 'biblio.title', '' ); # FIXME: should be GetFrameworkCode($biblionumber) ?? 3104 $title = lc( $record->subfield( $titletag, $titlesubfield ) ); I tried using the FIXME, same error. I'm getting very close to restarting this sandbox project -- certainly with 3.6.7, but also maybe reverting to Ubuntu 11.10 (at least for me, I'll have a solid comparison with our production server.) Thoughts anyone? I genuinely set out to try and help the community (and it just might turn out that Ubuntu 12.04 is problematic - does anyone here use it?) as well as ensure a smooth upgrade to our production server. Thanks - Paul
Paul, Re: 3.6.6 Biblio.pm
With preference set to "do not use zebra", saving an "item" fails: "Can't call method "subfield" on an undefined value at /usr/share/koha/lib/C4/Biblio.**pm line 3104" (z39.50 and adding biblios works fine.)
There's your problem. You have your system set to not use Zebra. If you correct that, things should go fine. NoZebra is not supported, and does not work. It will get torn out as soon as there's a patch for that. Thoughts anyone? I genuinely set out to try and help the community (and it
just might turn out that Ubuntu 12.04 is problematic - does anyone here use it?) as well as ensure a smooth upgrade to our production server.
I found Ubuntu 12.04 very problematic, but Mark Tompsett has been doing a ton of work on making Koha 3.6.7 install so on Ubuntu 12.04 so smooth that you could sleep through it. Not only that, he and Tomas Cohen have been working on making the installation of all versions of Koha on Ubuntu smoother. They have a great set of instructions at http://wiki.koha-community.org/wiki/Koha_on_Ubuntu Regards, Jared -- Jared Camins-Esakov Bibliographer, C & P Bibliography Services, LLC (phone) +1 (917) 727-3445 (e-mail) jcamins@cpbibliography.com (web) http://www.cpbibliography.com/
On Tue, Jul 24, 2012 at 7:05 PM, Jared Camins-Esakov <jcamins@cpbibliography.com> wrote:
Paul,
Re: 3.6.6 Biblio.pm
With preference set to "do not use zebra", saving an "item" fails: "Can't call method "subfield" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 3104" (z39.50 and adding biblios works fine.)
There's your problem. You have your system set to not use Zebra. If you correct that, things should go fine. NoZebra is not supported, and does not work. It will get torn out as soon as there's a patch for that.
There's a bug on that: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7440 We should solve it so no NoZebra setup breaks after upgrading. Regards To+
Greetings, Zebra is necessary. I apologize the documentation isn't 100% perfect yet. I'm in the midst of revising INSTALL.ubuntu as well, and learning more about the install process while doing so. This will inevitably lead to more revisions. Koha 3.6.7 installs super cleanly on Ubuntu 12.04. I've done it! The ./koha_perl_deps.pl -m -u list is empty initially! There is no need for anything to be installed via CPAN. And best yet, you can get away with just the default Ubuntu repositories if you follow the instructions. If you wish to vary, put your MySQL server on another machine, use a memcached server, or something else, you may wish to add the external repository, and those are left as an exercise for the reader. The goal of the instructions is a basic working, single site setup. I agree that that first "sudo apt-get" in the wiki instructions is overkill. However, I was working with the old documentation in the first place. I merely expanded existing documentation, and did very little removal. If you look at http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11104 you will see my current attempt at revising the INSTALL.ubuntu file. These instructions add an external repository, debian.koha-community.org, to provide those libraries not packaged in Ubuntu by default. You will also note it does Apache and MySQL separately, like you prefer. I'm hoping to get the wiki and INSTALL files to be closer in content and order. SSH is not required to run Koha, and hence is beyond the scope of the documentation. Samba is not required to run Koha, and hence is beyond the scope of the documentation. This does not prevent you from installing those yourself. If you know about these, you probably are capable enough to install and configure them. Similarly, the instructions do not use memcached and memoize. They are not necessary for Koha to work. That is why the answers in Appendix A are 'no' for the memcached server. However, if you are familiar with setting them up, feel free to contribute documentation. I did not sit down and write in detail why the answers in Appendix A are the way they are. I hope to do that some time. It is my experience, while doing various installs, that Perl's memcached libraries are rather antiquated, at least in Ubuntu. I got warnings while grabbing them initially from CPAN. Yes, I admit it. I used CPAN, despite the warnings against it. I didn't know about the external repository at the time, and I prefer to use only Ubuntu default libraries on Ubuntu. It adds a level of cleanness. I must admit, I personally prefer doing the installation of SSH server and LAMP while installing Ubuntu. The disadvantage being this means PHP is installed and could create potential memory issues for systems with less memory. Our system initially only had 512MB. If you have had indexing issues, feel free to look at the bizarre journey I had here: http://koha.1045719.n5.nabble.com/Automatic-email-new-accounts-td5717388.htm... I hope some of this commentary is applicable and useful. Mark Tompsett
On Tue, Jul 24, 2012 at 5:06 PM, Paul <paul.a@aandc.org> wrote: <snip>
Thoughts anyone? I genuinely set out to try and help the community (and it just might turn out that Ubuntu 12.04 is problematic - does anyone here use it?) as well as ensure a smooth upgrade to our production server.
I just installed 3.8.3 via the package on Ubuntu 12.04 in a total of about an hour (subtracting the time I spent installing from squeeze-dev by mistake at first). The installation was basically a smooth one. The package will certainly make admin a whole heap easier. Kind Regards, Chris
participants (5)
-
Chris Nighswonger -
Jared Camins-Esakov -
Mark Tompsett -
Paul -
Tomas Cohen Arazi