[Koha] switching from 'standard' to 'dev'
Joshua Ferraro
jmf at liblime.com
Tue Aug 12 13:25:57 NZST 2008
Yea, you'll need to use the new zebra-ctl.sh ... and we've dropped support for
zebraqueue daemon, and switched to rebuild_zebra.pl with the -z option run
from cron (check the INSTALL file for details). I bet if you restart
Zebra you'll be
good to go. You can test by running zebrasrv directly:
zebrasrv -c /root/koha-dev/etc/koha-conf.xml
BTW: It's probably best to run Koha as a non-root user. I'd suggest creating
a 'koha' user and installing Koha as that user, running zebra as that user, etc.
Cheers,
Josh
On Mon, Aug 11, 2008 at 9:21 PM, Brendan Gallagher <gallabr at biblio.org> wrote:
> Josh -
>
> Yup removed both files...
>
> I think this is could be the issue... --- I still have the ln -s to
> zebra-ctl.sh (and zebraqueue) from the /usr/share {KOHA_DIR} and not the
> newly created koha-dev ( I was doing the export KOHA_CONF before running
> the rebuild_zebra.pl --> the first three lines all pointed to the newly
> created directories). But I feel like that could be the problem.
>
> Zebra biblio directory = /root/koha-dev/var/lib/zebradb/biblios
> Zebra authorities directory = /root/koha-dev/var/lib/zebradb/authorities
> Koha directory = /root/kohaclone
> BIBLIONUMBER in : 999$c
> BIBLIOITEMNUMBER in : 999$d
>
>
> I will change these in the morning, as I a busy until then.... I will post
> my results in the morning...
>
> thanks,
> Brendan
>
> On Aug 11, 2008, at 8:54 PM, Joshua Ferraro wrote:
>
>> On Mon, Aug 11, 2008 at 5:58 PM, Brendan Gallagher <gallabr at biblio.org>
>> wrote:
>>>
>>> No Luck -- (after running rebuild_zebra.pl none of my records are
>>> searchable) - zebra is running, all the files I can think of are pointing
>>> to
>>> the koha-dev and kohaclone, plus making appropriate changes to
>>> record.abs....
>>>
>>> Back to the drawing board in the morning.
>>>
>>> Should I see the web-installer page after I have re-installed from
>>> standard
>>> to dev? just curious because I did not see this happen...
>>
>> Are you sure your Koha installation is running off of the new filesystem
>> install
>> and not the old one? Did you remove the old koha httpd.conf and
>> koha-conf.xml
>> files to be sure?
>>
>> The web installer wouldn't show up because your database is already
>> created
>> and running.
>>
>> Josh
>>
>>> Thanks,
>>> Brendan
>>>
>>>
>>> On Aug 11, 2008, at 5:06 PM, Brendan Gallagher wrote:
>>>
>>>> All -
>>>>
>>>> I have created the new symlink for the koha site (it appears in the /
>>>> etc/apache2/sites-available)...
>>>>
>>>> I did not see a web-installer when navigating to the koha-
>>>> intranet.... should I see one when I make the reinstall from standard
>>>> to dev (I was already on Koha 3.00.00.107)...
>>>>
>>>>
>>>>
>>>> Made all my changes in the record.abs indexers and I am now rerunning
>>>> the zebra-indexer. (the indexer is showing the correct directories in
>>>> kohaclone like it did before)
>>>>
>>>> --I will let you all know what I see after the indexer completes.
>>>>
>>>> Further response in message below.
>>>>
>>>> Thanks,
>>>> Brendan
>>>>
>>>>
>>>> On Aug 11, 2008, at 4:45 PM, Joshua Ferraro wrote:
>>>>
>>>>> Hey Brendan,
>>>>>
>>>>> Can you please post your responses to the list, that way they are
>>>>> archived for
>>>>> others to see and others may spot stuff I don't.
>>>>>
>>>>> First off, are you on debian, and are you running apache2? Are you
>>>>> familiar with
>>>>> the apache2 sites-available and sites-enabled paradigm and with the
>>>>> 'a2ensite'
>>>>> and 'a2enmod' utilities? These are the best starting places :-)
>>>>
>>>> I have some kind of idea --
>>>>
>>>>>
>>>>>
>>>>> Josh
>>>>>
>>>>> On Mon, Aug 11, 2008 at 4:33 PM, Brendan Gallagher
>>>>> <gallabr at biblio.org> wrote:
>>>>>>
>>>>>> ln –s /root/koha-dev/etc/koha-httpd.conf /etc/apache2/sites-
>>>>>> available/koha
>>>>>> ln: target `/etc/apache2/sites-available/koha' is not a directory
>>>>>>
>>>>>> Stuck here...
>>>>>>
>>>>>> On Aug 11, 2008, at 4:26 PM, Joshua Ferraro wrote:
>>>>>>
>>>>>>> On Mon, Aug 11, 2008 at 4:21 PM, Brendan Gallagher
>>>>>>> <gallabr at biblio.org
>>>>>>>>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi All --
>>>>>>>>
>>>>>>>> I need a little help...
>>>>>>>>
>>>>>>>> I just recently tried to switch my Koha 3 install from a
>>>>>>>> 'standard' to a
>>>>>>>> 'dev' install...
>>>>>>>>
>>>>>>>> These are the steps that I completed...
>>>>>>>>
>>>>>>>> 1. cd kohaclone
>>>>>>>> 2. git pull --> (to get the most recent release)
>>>>>>>> 3. perl Makefile.PL
>>>>>>>
>>>>>>> Did you choose 'dev' at this point, and use the same database name,
>>>>>>> database
>>>>>>> user name, password, etc.?
>>>>
>>>> Yes - same for everything....
>>>>
>>>>>>>
>>>>>>>
>>>>>>>> 4. make
>>>>>>>> 5. make test
>>>>>>>> 6. make install
>>>>>>>
>>>>>>> At this point you should have fines in /home/myuser/koha-dev.
>>>>>>> Rather than
>>>>>>> use
>>>>>>> the koha-httpd.conf from before you want to symlink
>>>>>>> home/myuser/koha-dev/etc/koha-httpd.conf
>>>>>>> to /etc/apache2/sites-available/koha and then a2ensite koha. You
>>>>>>> no longer
>>>>>>> need that older installation's filesystem /user/share/koha or
>>>>>>> wherever
>>>>>>> else
>>>>>>> the old install files are, everything's now in kohaclone, and
>>>>>>> /home/myuser/koha-dev.
>>>>>>>
>>>>>>>> 7. make changes to the koha-httpd.conf (navigated to the intranet
>>>>>>>> homepage
>>>>>>>> and never got the web-installer screen like I did for all other
>>>>>>>> upgrades/installs)
>>>>>>>> 8. export KOHA_DIR and PERL5LIB
>>>>
>>>> Those are the directories that I identified....
>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Make sure PERL5LIB is kohaclone, and KOHA_CONF is
>>>>>>> /home/myuser/koha-dev/etc/koha-conf.xml
>>>>>>>
>>>>>>> Hope that helps,
>>>>>>>
>>>>>>> Josh
>>>>>>>
>>>>>>>> 9.. rebuild_zebra.pl -b -r (from the kohaclone/misc/migration_tools
>>>>>>>> directory)
>>>>>>>>
>>>>>>>> I originally made changes to my zebra indexer located here
>>>>>>>> /etc/koha/zebradb/marc_defs/marc21/biblios/record.abs
>>>>>>>> after all this I know that I must make changes to the zebra
>>>>>>>> indexer
>>>>>>>> /etc/zebradb/marc_defs/marc21/biblios/record.abs --> but I can
>>>>>>>> not find
>>>>>>>> that file... all I can find is this location -->
>>>>>>>> /root/kohaclone/etc/zebradb/marc_defs/marc21/biblios/record.abs
>>>>>>>> and I
>>>>>>>> made
>>>>>>>> the changes here plus ran my zebra indexer --> no luck
>>>>>>>>
>>>>>>>>
>>>>>>>> All of the changes/configs that I made in the standard install have
>>>>>>>> transferred to my new set up -- but none of my records or index's
>>>>>>>> have
>>>>>>>> changed. I realize that I need to reindex but I am stuck since
>>>>>>>> rebuilding
>>>>>>>> does not show my records...
>>>>>>>>
>>>>>>>> All of my item records are in the 949 field and not the 952
>>>>>>>> field(koha
>>>>>>>> default).
>>>>>>>>
>>>>>>>> Any advice would be greatly appreciated.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Brendan
>>>>>>>>
>>>>>>>>
>>>>>>>> ++++++++++++++++++++++++++++++++++++++++++++
>>>>>>>> Brendan A. Gallagher
>>>>>>>> Software Services Coordinator
>>>>>>>> Bibliomation, INC.
>>>>>>>> Middlebury, CT 06762
>>>>>>>> http://www.biblio.org
>>>>>>>> ++++++++++++++++++++++++++++++++++++++++++++
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
>>>>>>> CEO migration, training, maintenance, support
>>>>>>> LibLime Featuring Koha Open-Source ILS
>>>>>>> jmf at liblime.com |Full Demos at http://liblime.com/koha |
>>>>>>> 1(888)KohaILS
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
>>>>> CEO migration, training, maintenance, support
>>>>> LibLime Featuring Koha Open-Source ILS
>>>>> jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
>>>>
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>>
>>
>>
>>
>> --
>> Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
>> CEO migration, training, maintenance, support
>> LibLime Featuring Koha Open-Source ILS
>> jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
>
>
--
Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
CEO migration, training, maintenance, support
LibLime Featuring Koha Open-Source ILS
jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
More information about the Koha
mailing list