Hi Paul, it doesn't look like the series of commands you issued are exact matches for those given at https://wiki.koha-community.org/wiki/Koha_on_Debian. Specifically, there are some Apache modules that your list of commands suggest may not have been enabled. The Wiki specifies:
$ sudo a2enmod rewrite cgi headers proxy_http In your list, only 'rewrite' and 'cgi' were enabled. The command "sudo apachectl -M" will list your loaded modules. I'm not expert enough to say whether or not the others are needed for Plack. Additionally, you should check the status of Perl modules in the staff interface under "About Koha" > "Perl modules". If your Perl module list is complete and up to date, then I might be inclined to do the following: $ sudo koha-disable library $ sudo a2enmod rewrite cgi headers proxy_http $ sudo systemctl restart apache2 $ sudo koha-plack --disable libraryname $ sudo koha-plack --enable libraryname $ sudo systemctl restart apache2 $ sudo systemctl restart koha-common $ sudo systemctl status koha-common If Plack has been enabled and started, you should see a line to that effect with the last command (and in the "Server information" screen of "About Koha"): koha-common[12684]: Starting Plack daemon for library:. As I wrote before, there will also be UN-commented, Plack-specific directives in the Apache site config that refer to Koha configuration files, for example: $ sudo grep -i 'include' /etc/apache2/sites-enabled/library.conf Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-opac-plack.conf Include /etc/koha/apache-shared-opac.conf Include /etc/letsencrypt/options-ssl-apache.conf Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-intranet-plack.conf Include /etc/koha/apache-shared-intranet.conf Include /etc/letsencrypt/options-ssl-apache.conf The important thing is that your instance runs, and runs well. If and when you respond to these messages, please select "Reply to all" to ensure that the Koha mailing list is included. Hypothetically, IF you're still using the BeyondTrust/Bomgar Remote Support software there at JAARS, AND you have Shell Jump access to the Koha server, AND inviting External Representatives to sessions is enabled, THEN you could securely share a shell session with me when time zones and work periods play well. David On Wed, Feb 5, 2025 at 10:52 PM Paul Dokken <paul.dok...@jaars.org> wrote: > David, > > Here are the commands I used to install > > sudo apt-get update && sudo apt-get upgrade -y > > sudo apt update > > sudo apt install gnupg > > echo "deb http://debian.koha-community.org/koha oldoldstable main" | sudo > tee -a /etc/apt/sources.list.d/koha.list > > wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add > - > > sudo apt-get update > > sudo apt-get install koha-common > > sudo nano /etc/koha/koha-sites.conf > > Add or edit DOMAIN=”.myDNSName.org” > > INTRAPORT=”8080” > > INTRAPREFIX=”” > > INTRASUFFIX=”-intra” > > OPACPORT=”80” > > OPACPREFIX=”” > > OPACSUFFIX=”” > > sudo apt-get install mariadb-server > > sudo mysql_secure_installation > > sudo a2enmod rewrite > > sudo a2enmod cgi > > sudo systemctl restart apache2 > > sudo koha-create --create-db library > > sudo nano /etc/apache2/ports.conf > > Add or edit > > Listen 80 > > Listen 8080 > > sudo service apache2 restart > > sudo a2dissite 000-default > > sudo systemctl restart apache2 > > sudo a2enmod deflate users. > > sudo a2ensite library > > sudo service apache2 restart > > sudo koha-passwd library > Paul > > On Wed, Feb 5, 2025 at 7:44 AM David Liddle <da...@liddles.net> wrote: > >> 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 >> > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha