Vue normale

Reçu avant avant-hier Koha

How to read Koha error logs using the Tail command

Par :Vimal
16 janvier 2026 à 15:13
If you manage a Koha Library Management System, you will eventually run into a "500 Internal Server Error" or a screen that simply won't load. When this happens, the Koha error logs are the best assistant. The Linux system records events like a personal diary. It tells exactly what went wrong and where.

The most efficient way to watch these errors in real time is to use the tail command in the Linux terminal. Here are simple instructions on how to do it.


Location of the log files

In a standard Koha installation (on Debian or Ubuntu), the logs are stored in /var/log/koha/. Inside that folder, each "instance" (your library's specific setup) has its own directory.
The most important log file is usually plack-error.log or koha-error.log.
The general path looks like this: /var/log/koha/instancename/plack-error.log
Before using the command, find the Koha instance name. The following command will help you find the instance name.

sudo koha-list

Using the tail command

The tail command shows you the last few lines of a file. This is perfect for logs because the newest errors are always added to the bottom.

To see the last 20 lines
If you just want a quick snapshot of the recent activity, type: 

sudo tail -n 20 /var/log/koha/library/plack-error.log

To watch errors live (The "-f" switch)
This is the most helpful tool for troubleshooting. The -f stands for follow. It keeps the file open and updates your screen the exact second a new error occurs.

sudo tail -f /var/log/koha/library/plack-error.log

While this command is running, go to your Koha staff interface and refresh the page that is causing the error. You will see the technical details pop up instantly in your terminal.

When you are finished reading the logs and want to go back to the regular command prompt, simply press Ctrl + C

Reading logs might seem confusing at first, but it is the fastest way to fix Koha issues. Instead of guessing why a page isn't working, use tail -f and let the system tell you exactly what is broken.

Formations proposées par KohaLa

Par :kohala
13 janvier 2026 à 11:15

Tous les ans, KohaLa propose des formations.Ces formations sont gratuites pour les adhérents. Elles n’ont pas vocation à remplacer les formations initiales proposées par les prestataires, mais sont complémentaires.Les formations sont assurées par des formateurs bénévoles. Les thématiques peuvent donc dépendre des bonnes volontés disponibles ! Voici quelques exemples de formations proposées : rapports SQL, […]

The post Formations proposées par KohaLa first appeared on Association KohaLa.

Un symposium, c’est quoi ?

Par :kohala
13 janvier 2026 à 10:10

Chaque année, KohaLa organise son symposium. Ce rendez-vous est l’occasion de se rencontrer, utilisateurs de Koha actuels ou futurs, adhérents à l’association ou non. Au programme : analyses des nouvelles versions de Koha, mise en avant de fonctionnalités spécifiques mises en place par des établissements, retours d’expérience, découverte et prise en main d’outils communautaires… Mais […]

The post Un symposium, c’est quoi ? first appeared on Association KohaLa.

Un hackathon c’est quoi ?

Par :kohala
13 janvier 2026 à 09:54

Tous les ans, KohaLa organise, traditionnellement au mois de janvier, un « hackathon ». Cet événement s’apparente à un marathon de développement. Des utilisateurs de Koha et des développeurs se retrouvent pendant deux jours pour réfléchir aux évolutions de Koha, modifier, tester, faire des erreurs parfois…  Les sujets peuvent être variés : financement de développements, traduction, sessions […]

The post Un hackathon c’est quoi ? first appeared on Association KohaLa.

Hackathon 2026

Par :kohala
12 décembre 2025 à 11:39

Le Hackathon 2026 organisé par l’association Kohala se déroulera les 12 et 13 janvier 2026 (9h-12h, 14h-17h) à l’Université Lyon 3 – BU de la Manufacture des tabacs (6 rue Professeur Rollet, 69008 Lyon. Transports : Métro D ; Bus C5, C7, 69, T4) Si vous souhaitez participer à l’un des deux ateliers proposés, merci […]

The post Hackathon 2026 first appeared on Association KohaLa.

❌