Hi René,

great! You are right, there is a daemon, I am not sure why it is/was not
running. Try the koha-indexer package command to start it. That will
give you almost immediate indexing of new records, instead of only every
5 minutes.

Hope this helps,

Katrin

On 10.02.23 23:04, René Seindal wrote:
Hi Katrin,

Thanks a million. This helped me forward.

Search engine is Zebra. I do have Elasticsearch installed on the
production server, but for now this on a test computer.

I ended up reinstalling everything to make sure I hadn't missed
something.

First issue, the instanced used UNIMARC but Zebra was set up to use
MARC21. That might have been part of the problem.

Then I could get the records to appear if I used koha-rebuild-zebra -f
but only if I did a full rebuild which would be excessive in a
production environment.

Second issue, I had to uncomment a line in /etc/cron.d/koha-common to
run koha-rebuild-zebra every five minutes. With that line active, my
records now appear in the OPAC.

In /etc/default/koha-common I do have USE_INDEXER_DAEMON=yes but the
link in there led me to the second issue above. I would have thought
that the indexer daemon meant it wouldn't be necessary to run the
indexer from cron, but that is not what this page says:
https://wiki.koha-community.org/wiki/PackagesIndexDaemon

In any case I can now import records into my OPAC, so for now I'm
happy :-)

Thanks again.

René

On 2023-02-10 20:16, Katrin Fischer wrote:
Hi René,

the reservoir is filled automatically everytime you do a Z39.50 search
and is separate from the catalog. As you found out already, you can
regularly clean it using the cronjob.

It sounds like you can import and save records, but later they are not
found in the catalog?

I think if you create a SQL report or query the database with something
like "SELECT * from biblio" you'd see that the records have been stored.
I suspect, that the search engine (either Zebra or Elasticsearch) is not
working and therefore the records are not indexed and searchable.

What is the setting of your SearchEngine system preference in
Administration? If you set it to Zebra, try (re)starting it using the
package commands.

Hope that helps

Katrin

On 10.02.23 14:46, Giacomo Visini wrote:
Hi René,

I'm not sure if I completely understand your post, but you want to
import 1 specific record using the Z39.50 application in the
cataloging section, right? Normally, when you get a hit (through
ISBN or whatever) you can import the data by clicking 'Import'. This
will bring you to the 'Add MARC record'-editor, with most fields
filled in. There you can add, delete, change your data the way you
like it. On the upper left side you'll have the option to 'Save' the
bibliographic record. That way the record will be saved and will be
visible in your OPAC.

AFAIK, no "reservoir" is needed, nor the 'Manage staged records' tool.

Note: this is the way to work to import 1 record at a time. For
batch imports, that's another question 😊

Best regards,

Giacomo Visini I Library assistant
DIVA, Antwerp Home of Diamonds
Visiting adress library (temporary): Kaasstraat 13, B-2000 Antwerpen
Postal adress: Kaasstraat 13, 2000 Antwerpen
T + 32 3 360 52 40 M + 32 485 66 49 98
giacomo.vis...@divaantwerp.be www.divaantwerp.be


-----Oorspronkelijk bericht-----
Van: Koha <koha-boun...@lists.katipo.co.nz> Namens René Seindal
Verzonden: vrijdag 10 februari 2023 8:40
Aan: koha@lists.katipo.co.nz
Onderwerp: [Koha] Beginners problems - Z39.50 and the reservoir

Hi,

I'm René Seindal, and I've been setting up an evaluation instance of
Koha for my wife. I'm not a librarian, but she is. We're in Italy.

I've installe Koha on an existing Debian testing system. Everything
apparently went smooth and after configuration the public and the
intra sites are functioning. As far as I can see the 'koha-common'
services are running as they should.

I then searched for an ISBN in the Italian National Library Service
through Z39.50. Found the book, imported it (got it twice for some
reason) and the records are now in the "reservoir".

I can see them in the Cataloging section but not anywhere else. It
is not in the public catalog. I cannot do anything with them. I
cannot move them to the real catalogue. I cannot remove them. I can
select "Add biblio" on a menu, but that doesn't lead me anywhere
either.

The "Manage staged records" section is empty.

I've managed to remove all the records in the reservoir by fiddling
with a database cleanup cron job, but that removed them. The public
catalog remained empty.

I'm stymied.

This is very basic, and I can't get it to work, so I presume I'm
doing it wrong.

I hope some of you can help me out.

Thanks,
René Seindal
_______________________________________________

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to