Hi Paul, you might want to also check the existence and content of the following files:
/etc/koha/apache-shared-intranet-plack.conf /etc/koha/apache-shared-opac-plack.conf as well as their references within the file of this instance-based name: /etc/apache2/sites-enabled/library.conf If you somehow wound up with an Apache configuration that isn't being managed by the Koha tools, then it could be interfering. David Liddle System Administrator david.lid...@wycliff.de (but not for this list) Wycliff e.V., https://wycliff.de Seminar für Sprache und Kultur, https://spracheundkultur.org Internationales Tagungszentrum Karimu, https://karimu.de On Wed, Feb 5, 2025 at 12:15 AM Michael Kuhn <m...@adminkuhn.ch> wrote: > Hi Paul > > Today you wrote: > > > I thought I had set up Plack but when I checked there was no variable > > 'PlackEnabled' in systempreferences when I ran this query. > > > > SELECT * > > FROM systempreferences > > WHERE variable = 'PlackEnabled'; > > There is no such system preference in Koha. > > > I ran this in the cli > > sudo koha-plack --enable library > > Plack not enabled for library OPAC > > Plack not enabled for library Intranet > > but when I run sudo koha-plack --start it says Plack already running > > for library > > > > Any ideas? > > There seems to be something wrong... When Plack is already running the > output should look as follows (as on my Koha demo installation with > instance "koha" and Plack running): > > $ sudo koha-plack --enable koha > Plack already enabled for koha OPAC > Plack already enabled for koha Intranet > $ sudo koha-plack --start koha > Error: Plack already running for koha: failed! > $ sudo koha-plack --status koha > Plack running for koha:. > > The following shows the instances with Plack enabled and the instances > with Plack disabled: > > $ sudo koha-list --plack > koha > $ sudo koha-list --noplack > > After enabling and starting Plack try restarting the Apache HTTP Server, > according to some mailinglist threads it seems to have helped some in > the past. Thus: > > $ sudo koha-plack --enable koha > $ sudo koha-plack --start koha > $ sudo systemctl restart apache2 > > And again: Have you checked the log files in directory > "/var/log/koha/instancename"? There should be various logfile names > starting with plack... > > Best wishes: Michael > -- > Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis > Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz > T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch > > > > > On Tue, Jan 28, 2025 at 4:32 PM Michael Kuhn <m...@adminkuhn.ch > > <mailto:m...@adminkuhn.ch>> wrote: > > > > Hi Paul > > > > You wrote: > > > > > I am running an instance of Koha 23.11.10 on Debian 12.8 on a > HyperV > > > VM. I have allocated 16gb of RAM and 16 virtual processors. I > have > > > not yet loaded all the data from another system we are exporting > > from > > > and just have a few patrons entered. It takes about 12 seconds > > before > > > it displays the list of patrons. Any suggestions on what to > check? > > > When I look at the top command it shows app.pl <http://app.pl> > > is taking 100% of the > > > CPU when searching. Other parts of Koha are running slow as > > well. Any > > > suggestions would be appreciated. > > > > Have you checked the log files in directory "/var/log/koha"? > > > > Have you set up Plack as described here? > > > > https://wiki.koha-community.org/wiki/Koha_on_Debian#Set_up_plack > > <https://wiki.koha-community.org/wiki/Koha_on_Debian#Set_up_plack> > > > > Hope this helps. > > > > Best wishes: Michael > > -- > > Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. > Fachausweis > > Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz > > T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch > > <mailto:m...@adminkuhn.ch> · W www.adminkuhn.ch < > http://www.adminkuhn.ch> > > _______________________________________________ > > > > Koha mailing list http://koha-community.org < > http://koha-community.org> > > Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> > > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > > <https://lists.katipo.co.nz/mailman/listinfo/koha> > > > > > > _______________________________________________ > > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha