Re: [Koha] To hide empty biblio records in OPAC

2017-02-07 Thread Pedro Amorim
Hello lukasz,

If you have indeed deleted the records, and they still appear on search
results then the following must be happening:
- When you click on a record from the search results, a page with "the
requested record does not exist".

If that is indeed happening, it means the record is no longer in the
database but it is still indexed.

If the record is still indexed, it means the database and the index are no
longer in sync, and that happens when the indexer is not running.

You didn't provide your koha version, but if you're running Debian package *>=
16.05* you need to access the server (ssh) and run, at any directory:

*koha-indexer --start *

If running an older version or zebra is not running, run:

*koha-start-zebra *

If you don't know your instance name, run:

*koha-list*

If the above was successful, but the records still show, you'll have to
full reindex:

*koha-rebuild-zebra -v -f *

Hope this helps, good luck!

Pedro Amorim


2017-02-07 13:38 GMT-01:00 Joy Nelson <j...@bywatersolutions.com>:

> Lukasz -
> You need access to the server command line in order to reindex.  I'm not
> positive about that command you pasted.  My knowledge is more database
> centered.  Perhaps someone else on the list can assist with the reindexing
> command.
>
> joy
>
> On Tue, Feb 7, 2017 at 6:56 AM, <lukasz.me...@alingsas.se> wrote:
>
> > Hello Joy,
> >
> > Unfortunatelly we in the library have no access to database, or I do not
> > know how to get into it.
> > All the IT job was done for us by the IT who has a private company.
> > Do I need deep IT knowledge to do reindexing?
> > I have found a sequence of reindexing in KOHA manual:
> >
> > $ zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios
> init
> >
> > but do not know where to paste it.
> >
> > Med vänlig hälsning
> > Lukasz Mesek
> > Vuxenbibliotekarie
> > Alingsås bibliotek
> > lukasz.me...@alingsas.se
> >
> >
> > -Joy Nelson <j...@bywatersolutions.com> skrev: -
> > Till: lukasz.me...@alingsas.se, Koha <Koha@lists.katipo.co.nz>
> > Från: Joy Nelson <j...@bywatersolutions.com>
> > Datum: 2017-02-06 15:42
> > Ärende: Re: Re: [Koha] To hide empty biblio records in OPAC
> >
> > Lukasz-
> > OpacHiddenItems will not help you here.  That system preference will only
> > work when you have items attached to the bibliographic record and the
> > bibliographic record exists in the system (not deleted).
> >
> > It definitely sounds like you need to reindex your system.  Once you have
> > that done, make sure that the indexer is running on the server as well.
> >
> > joy
> >
> >
> > On Mon, Feb 6, 2017 at 3:41 AM, <lukasz.me...@alingsas.se> wrote:
> >
> >> Hello Joy,
> >>
> >> Yes, I've deleted them in staff client and there they still appear, so
> in
> >> OPAC as well.
> >> In staff client it is just information: The record you requested does
> not
> >> exist (19653). In OPAC it is 404 error.
> >> I have hoped that using OpacHiddenItems to supress these in the OPAC
> >> helps but I'm not really sure what command should I use.
> >>
> >> Med vänlig hälsning
> >> Lukasz Mesek
> >> Vuxenbibliotekarie
> >> Alingsås bibliotek
> >> lukasz.me...@alingsas.se
> >>
> >>
> >> -Joy Nelson <j...@bywatersolutions.com> skrev: -
> >> Till: lukasz.me...@alingsas.se
> >> Från: Joy Nelson <j...@bywatersolutions.com>
> >> Datum: 2017-02-03 15:04
> >> Ärende: Re: [Koha] To hide empty biblio records in OPAC
> >>
> >> Lukasz -
> >> If you deleted them in the staff client and they still appear in the
> >> Opac, they are probably 'broken' links, yes?  When you click on them do
> you
> >> see information?  Or do you get a message that record couldn't be found?
> >> If so, then you will need a reindex to clean up the search results.
> >>
> >> -joy
> >>
> >> On Fri, Feb 3, 2017 at 4:40 AM, <lukasz.me...@alingsas.se> wrote:
> >>
> >>> Hi,
> >>>
> >>>
> >>>
> >>> I have deleted quite a lot of empty biblio records lately, but they
> >>> still appear in database.
> >>>
> >>> Till moment we do restart of index I would like to hide them at least
> in
> >>> OPAC.
> >>>
> >>> Is it any way in Koha administration to do this or in any other place?
> >>>
> >>>
> >>>
> >>>
>

Re: [Koha] To hide empty biblio records in OPAC

2017-02-07 Thread Joy Nelson
Lukasz -
You need access to the server command line in order to reindex.  I'm not
positive about that command you pasted.  My knowledge is more database
centered.  Perhaps someone else on the list can assist with the reindexing
command.

joy

On Tue, Feb 7, 2017 at 6:56 AM, <lukasz.me...@alingsas.se> wrote:

> Hello Joy,
>
> Unfortunatelly we in the library have no access to database, or I do not
> know how to get into it.
> All the IT job was done for us by the IT who has a private company.
> Do I need deep IT knowledge to do reindexing?
> I have found a sequence of reindexing in KOHA manual:
>
> $ zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
>
> but do not know where to paste it.
>
> Med vänlig hälsning
> Lukasz Mesek
> Vuxenbibliotekarie
> Alingsås bibliotek
> lukasz.me...@alingsas.se
>
>
> -Joy Nelson <j...@bywatersolutions.com> skrev: -
> Till: lukasz.me...@alingsas.se, Koha <Koha@lists.katipo.co.nz>
> Från: Joy Nelson <j...@bywatersolutions.com>
> Datum: 2017-02-06 15:42
> Ärende: Re: Re: [Koha] To hide empty biblio records in OPAC
>
> Lukasz-
> OpacHiddenItems will not help you here.  That system preference will only
> work when you have items attached to the bibliographic record and the
> bibliographic record exists in the system (not deleted).
>
> It definitely sounds like you need to reindex your system.  Once you have
> that done, make sure that the indexer is running on the server as well.
>
> joy
>
>
> On Mon, Feb 6, 2017 at 3:41 AM, <lukasz.me...@alingsas.se> wrote:
>
>> Hello Joy,
>>
>> Yes, I've deleted them in staff client and there they still appear, so in
>> OPAC as well.
>> In staff client it is just information: The record you requested does not
>> exist (19653). In OPAC it is 404 error.
>> I have hoped that using OpacHiddenItems to supress these in the OPAC
>> helps but I'm not really sure what command should I use.
>>
>> Med vänlig hälsning
>> Lukasz Mesek
>> Vuxenbibliotekarie
>> Alingsås bibliotek
>> lukasz.me...@alingsas.se
>>
>>
>> -Joy Nelson <j...@bywatersolutions.com> skrev: -
>> Till: lukasz.me...@alingsas.se
>> Från: Joy Nelson <j...@bywatersolutions.com>
>> Datum: 2017-02-03 15:04
>> Ärende: Re: [Koha] To hide empty biblio records in OPAC
>>
>> Lukasz -
>> If you deleted them in the staff client and they still appear in the
>> Opac, they are probably 'broken' links, yes?  When you click on them do you
>> see information?  Or do you get a message that record couldn't be found?
>> If so, then you will need a reindex to clean up the search results.
>>
>> -joy
>>
>> On Fri, Feb 3, 2017 at 4:40 AM, <lukasz.me...@alingsas.se> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> I have deleted quite a lot of empty biblio records lately, but they
>>> still appear in database.
>>>
>>> Till moment we do restart of index I would like to hide them at least in
>>> OPAC.
>>>
>>> Is it any way in Koha administration to do this or in any other place?
>>>
>>>
>>>
>>>
>>> Med vänlig hälsning
>>> Lukasz Mesek
>>> Vuxenbibliotekarie
>>> Alingsås bibliotek
>>> lukasz.me...@alingsas.se
>>> ___
>>> Koha mailing list  http://koha-community.org
>>> Koha@lists.katipo.co.nz
>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>>
>>
>> --
>> Joy Nelson
>> Director of Migrations
>>
>> ByWater Solutions <http://bywatersolutions.com>
>> Support and Consulting for Open Source Software
>> Office: Fort Worth, TX
>> Phone/Fax (888)900-8944
>> What is Koha? <http://bywatersolutions.com/what-is-koha/>
>>
>>
>
>
> --
> Joy Nelson
> Director of Migrations
>
> ByWater Solutions <http://bywatersolutions.com>
> Support and Consulting for Open Source Software
> Office: Fort Worth, TX
> Phone/Fax (888)900-8944
> What is Koha? <http://bywatersolutions.com/what-is-koha/>
>
>


-- 
Joy Nelson
Director of Migrations

ByWater Solutions <http://bywatersolutions.com>
Support and Consulting for Open Source Software
Office: Fort Worth, TX
Phone/Fax (888)900-8944
What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] To hide empty biblio records in OPAC

2017-02-06 Thread Indranil Das Gupta
Joy is absolutely correct!

My bad! I must have been half asleep when I replied... :-(

-idg
On Feb 6, 2017 8:12 PM, "Joy Nelson" <j...@bywatersolutions.com> wrote:

> Lukasz-
> OpacHiddenItems will not help you here.  That system preference will only
> work when you have items attached to the bibliographic record and the
> bibliographic record exists in the system (not deleted).
>
> It definitely sounds like you need to reindex your system.  Once you have
> that done, make sure that the indexer is running on the server as well.
>
> joy
>
>
> On Mon, Feb 6, 2017 at 3:41 AM, <lukasz.me...@alingsas.se> wrote:
>
> > Hello Joy,
> >
> > Yes, I've deleted them in staff client and there they still appear, so in
> > OPAC as well.
> > In staff client it is just information: The record you requested does not
> > exist (19653). In OPAC it is 404 error.
> > I have hoped that using OpacHiddenItems to supress these in the OPAC
> helps
> > but I'm not really sure what command should I use.
> >
> > Med vänlig hälsning
> > Lukasz Mesek
> > Vuxenbibliotekarie
> > Alingsås bibliotek
> > lukasz.me...@alingsas.se
> >
> >
> > -Joy Nelson <j...@bywatersolutions.com> skrev: -
> > Till: lukasz.me...@alingsas.se
> > Från: Joy Nelson <j...@bywatersolutions.com>
> > Datum: 2017-02-03 15:04
> > Ärende: Re: [Koha] To hide empty biblio records in OPAC
> >
> > Lukasz -
> > If you deleted them in the staff client and they still appear in the
> Opac,
> > they are probably 'broken' links, yes?  When you click on them do you see
> > information?  Or do you get a message that record couldn't be found?  If
> > so, then you will need a reindex to clean up the search results.
> >
> > -joy
> >
> > On Fri, Feb 3, 2017 at 4:40 AM, <lukasz.me...@alingsas.se> wrote:
> >
> >> Hi,
> >>
> >>
> >>
> >> I have deleted quite a lot of empty biblio records lately, but they
> still
> >> appear in database.
> >>
> >> Till moment we do restart of index I would like to hide them at least in
> >> OPAC.
> >>
> >> Is it any way in Koha administration to do this or in any other place?
> >>
> >>
> >>
> >>
> >> Med vänlig hälsning
> >> Lukasz Mesek
> >> Vuxenbibliotekarie
> >> Alingsås bibliotek
> >> lukasz.me...@alingsas.se
> >> ___
> >> Koha mailing list  http://koha-community.org
> >> Koha@lists.katipo.co.nz
> >> https://lists.katipo.co.nz/mailman/listinfo/koha
> >>
> >
> >
> >
> > --
> > Joy Nelson
> > Director of Migrations
> >
> > ByWater Solutions <http://bywatersolutions.com>
> > Support and Consulting for Open Source Software
> > Office: Fort Worth, TX
> > Phone/Fax (888)900-8944
> > What is Koha? <http://bywatersolutions.com/what-is-koha/>
> >
> >
>
>
> --
> Joy Nelson
> Director of Migrations
>
> ByWater Solutions <http://bywatersolutions.com>
> Support and Consulting for Open Source Software
> Office: Fort Worth, TX
> Phone/Fax (888)900-8944
> What is Koha? <http://bywatersolutions.com/what-is-koha/>
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] To hide empty biblio records in OPAC

2017-02-06 Thread Joy Nelson
Lukasz-
OpacHiddenItems will not help you here.  That system preference will only
work when you have items attached to the bibliographic record and the
bibliographic record exists in the system (not deleted).

It definitely sounds like you need to reindex your system.  Once you have
that done, make sure that the indexer is running on the server as well.

joy


On Mon, Feb 6, 2017 at 3:41 AM, <lukasz.me...@alingsas.se> wrote:

> Hello Joy,
>
> Yes, I've deleted them in staff client and there they still appear, so in
> OPAC as well.
> In staff client it is just information: The record you requested does not
> exist (19653). In OPAC it is 404 error.
> I have hoped that using OpacHiddenItems to supress these in the OPAC helps
> but I'm not really sure what command should I use.
>
> Med vänlig hälsning
> Lukasz Mesek
> Vuxenbibliotekarie
> Alingsås bibliotek
> lukasz.me...@alingsas.se
>
>
> -Joy Nelson <j...@bywatersolutions.com> skrev: -
> Till: lukasz.me...@alingsas.se
> Från: Joy Nelson <j...@bywatersolutions.com>
> Datum: 2017-02-03 15:04
> Ärende: Re: [Koha] To hide empty biblio records in OPAC
>
> Lukasz -
> If you deleted them in the staff client and they still appear in the Opac,
> they are probably 'broken' links, yes?  When you click on them do you see
> information?  Or do you get a message that record couldn't be found?  If
> so, then you will need a reindex to clean up the search results.
>
> -joy
>
> On Fri, Feb 3, 2017 at 4:40 AM, <lukasz.me...@alingsas.se> wrote:
>
>> Hi,
>>
>>
>>
>> I have deleted quite a lot of empty biblio records lately, but they still
>> appear in database.
>>
>> Till moment we do restart of index I would like to hide them at least in
>> OPAC.
>>
>> Is it any way in Koha administration to do this or in any other place?
>>
>>
>>
>>
>> Med vänlig hälsning
>> Lukasz Mesek
>> Vuxenbibliotekarie
>> Alingsås bibliotek
>> lukasz.me...@alingsas.se
>> ___
>> Koha mailing list  http://koha-community.org
>> Koha@lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
>
>
> --
> Joy Nelson
> Director of Migrations
>
> ByWater Solutions <http://bywatersolutions.com>
> Support and Consulting for Open Source Software
> Office: Fort Worth, TX
> Phone/Fax (888)900-8944
> What is Koha? <http://bywatersolutions.com/what-is-koha/>
>
>


-- 
Joy Nelson
Director of Migrations

ByWater Solutions <http://bywatersolutions.com>
Support and Consulting for Open Source Software
Office: Fort Worth, TX
Phone/Fax (888)900-8944
What is Koha? <http://bywatersolutions.com/what-is-koha/>
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] To hide empty biblio records in OPAC

2017-02-03 Thread Indranil Das Gupta
Hi,

You could use a workaround - use OpacHiddenItems to supress these in
the OPAC and *then* deleting them, followed by a zebra reindex

See https://wiki.koha-community.org/wiki/OpacHiddenItems

hope this helps
-idg

--
Indranil Das Gupta
L2C2 Technologies

Phone : +91-98300-20971
WWW  : http://www.l2c2.co.in
Blog: http://blog.l2c2.co.in
IRC : indradg on irc://irc.freenode.net
Twitter : indradg


On Fri, Feb 3, 2017 at 4:10 PM,   wrote:
> Hi,
>
>
>
> I have deleted quite a lot of empty biblio records lately, but they still 
> appear in database.
>
> Till moment we do restart of index I would like to hide them at least in OPAC.
>
> Is it any way in Koha administration to do this or in any other place?
>
>
>
>
> Med vänlig hälsning
> Lukasz Mesek
> Vuxenbibliotekarie
> Alingsås bibliotek
> lukasz.me...@alingsas.se
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha