GLPI (ITSM)
Self-hosted GLPI (12.0.2, GPLv3) — open-source IT asset & service management tool (helpdesk tickets, inventory, etc.).
| Guest | srv-glpi — Rocky Linux 9, VM 125 on rumba, 192.168.88.34, 1024 MB RAM, 30G (local-lvm, scsi0) |
| URL (people) | https://glpi.isc3.isc-vs.ch/ — over NetBird (staff), certificate from the ISC3 private web CA |
| URL (machines) | https://srv-glpi.isc3.isc-vs.ch/ — AWX and the API (apirest.php), FreeIPA certificate |
| Source | Release archive glpi-12.0.2.tgz (from GLPI GitHub releases), extracted to /var/www/glpi; web root is the public/ subfolder |
| Version | 12.0.2 (updated November 2026) |
| Stack | Apache (httpd) + PHP 8.3 (Remi module, php-8.3.37 in December 2026) + MariaDB 10.11 |
| Database | MariaDB, database glpi, user glpi@localhost |
| Auth | FreeIPA LDAP (password), no Keycloak/SSO — see Access |
| Time zone | Europe/Zurich since 2026-12-01, UTC before — see Time zone |
| Open items | ops todo → GLPI |
glpi.isc3.isc-vs.ch is the name people use: keep this CNAME in DNS, it is the only name on the
private-CA certificate. srv-glpi.isc3.isc-vs.ch (canonical) keeps the FreeIPA certificate, which
AWX trusts. Each name has its own vhost; do not put glpi.isc3.isc-vs.ch back as a ServerAlias
in glpi.conf, or people would get the FreeIPA certificate and a browser warning.
Access
People log in with their FreeIPA login and password (LDAP server FreeIPA ISC, id 1). Edu-ID
and the VPN play no part in the GLPI login itself. The profile comes from the FreeIPA group, through
GLPI authorization rules:
| FreeIPA group | GLPI profile | Rule |
|---|---|---|
app-isc3-prod-glpi-selfservice | Self-Service | 92 |
app-isc3-prod-glpi-technician | Technician (+ Self-Service) | 95 |
app-isc3-prod-glpi-admin | Admin | 96 |
All three sit in access-isc3-prod-glpi. None of them gives SSH or sudo on any host.
Give someone Technician access:
ipa group-add-member app-isc3-prod-glpi-technician --users=<login>- The account needs a FreeIPA password. If it has none, create it in Vaultwarden first
(
bw-create-login.ps1), then pipe it toipa user-mod <login> --password— never on a command line. SetkrbPasswordExpirationahead, or the first LDAP bind fails on an expired password. - Check the GLPI account type: many people already exist in GLPI as local accounts (created
for tickets,
authtype 1, no password). The group rule only runs for LDAP accounts, so switch it: in GLPI, Actions → Change the authentication method → LDAPFreeIPA ISC, or in SQLauthtype=3, auths_id=1, user_dn='uid=<login>,cn=users,cn=accounts,dc=ipa,dc=isc-vs,dc=ch'. - Sync and check:
cd /var/www/glpi && sudo -u apache php bin/console ldap:synchronize_users --only-update-existing --ldap-server-id=1 --ldap-filter='(uid=<login>)'— the user then shows the Technician profile (dynamic).
Approvals — VM requests
The native form Request a Virtual Machine creates a ticket and sends an approval request to the
GLPI group vm-admin (id 11). This group is a local GLPI group, not a FreeIPA one: add
and remove its members in GLPI (Administration > Groups > vm-admin > Users).
To approve, a person needs both:
- To be a member of
vm-admin. A Super-Admin outside the group cannot approve. - To use a profile that has Approve a request (Profiles > profile > Assistance > Approvals).
| Profile | Approve a request / an incident |
|---|---|
| Self-Service | no (on purpose; the ticket is not even visible there) |
| Technician | yes (since 2026-11-19) |
| Super-Admin | yes |
A member who has both Self-Service and Technician approves from the Technician view. To approve: open the ticket, go to the Approvals tab, click the waiting line and choose Approve.
If no member of the group can approve, the ticket stays in Waiting for approval and nobody sees anything wrong: check the group members and their profile first.
Storage layout
GLPI's config/data/log directories are moved out of the webroot (FHS-style), so nothing sensitive is served publicly by Apache:
| Directive | Path | Purpose |
|---|---|---|
GLPI_CONFIG_DIR | /etc/glpi | DB connection config, local_define.php |
GLPI_VAR_DIR | /var/lib/glpi/files | Uploaded files, cache, sessions, etc. |
GLPI_LOG_DIR | /var/log/glpi | Application logs |
Wired up via /var/www/glpi/inc/downstream.php (loads GLPI_CONFIG_DIR) and
/etc/glpi/local_define.php (sets GLPI_VAR_DIR / GLPI_LOG_DIR). Ownership: apache:apache
on all three; /etc/glpi is 750 during setup, tightened to 550 (root:apache) once
installed, since GLPI only needs to read its config afterwards.
Mail
Notifications go out through the rack's outbound relay rather than a direct credential:
| Setting | Value |
|---|---|
| Server address | srv-mail.isc3 (192.168.88.163), port 25, no auth/TLS |
| Sender | 192.168.88.34 is in MYNETWORKS of provisioning/mail/deploy-relay.sh (2026-09-21), otherwise Client host rejected (Email) |
| Sending | GLPI first puts each mail in its queue (glpi_queuednotifications). The automatic action queuednotification sends it, from the system cron, every 2 minutes (Operations) |
| Recipients | Only the admins and the few people listed in EXTRA get through (how to add someone). Any other requester, and every …-w1@ipa.isc-vs.ch address, is refused by the relay: GLPI retries 6 times, then drops the mail |
queuednotification stays in run mode CLISetup > Automatic actions > queuednotification > Run mode: CLI. In mode GLPI it runs only
when browsing GLPI triggers it: until 2026-12-01, mails waited days in the queue
(incident).
Mails still waiting:
mysql glpi -e "select id, event, create_time, sent_try, recipient from glpi_queuednotifications where is_deleted=0"
Time zone
GLPI runs in Europe/Zurich since 2026-12-01: date.timezone = Europe/Zurich in
/etc/php.d/99-timezone.ini and public $use_timezones = true; in /etc/glpi/config_db.php
(MariaDB time zone tables loaded, glpi@localhost may read mysql.time_zone_name).
Before that, PHP ran in UTC and GLPI stored and showed every date in UTC, one hour early in winter.
The stored dates were moved to Zurich time on 2026-12-01, except the begin and end of reservations
typed by hand (already local) and glpi_crontasks.lastrun / next_run. Mails sent before
2026-12-01 15:33 keep their UTC times. The dump taken just before, and the SQL that moved the dates,
are in /root/backup-glpi-tz/ on srv-glpi.
Without one of them, GLPI writes UTC again next to the Zurich dates.
Plugins and GLPI Network
The plugin Marketplace (Setup > Plugins > Discover) only lists plugins once the instance carries a GLPI Network registration key. Ours is a free key (no time limit) entered under Setup > General > GLPI Network (November 2026).
| GLPI Network account | services.glpi-network.com, login rack-admins@isc-vs.ch |
| Password | Vaultwarden (srv-vw), entry glpi - key registration |
| Plugins on disk | /var/www/glpi/marketplace/ (installed from the Marketplace) |
| Plugin | Version | State | Use |
|---|---|---|---|
Order Management (order) | 2.12.12 | active | Purchase orders: product references per supplier, orders charged to a GLPI budget, delivery that creates the asset records with their financial data. Menu Management > Orders; rights per profile in the profile's Orders tab |
Formcreator End-of-Life Updater (formcreator) | 3.0.1 | installed, not active | Only migrates Formcreator forms from GLPI 10. Not needed here: GLPI 11 has native forms (Administration > Forms). Can be uninstalled |
Purchase requests are meant to go: native form → ticket with approval → Order Management order → delivery creates the assets.
# plugin state on srv-glpi (state 1 = active, 2 = installed, not active)
mysql -N -e "select directory,name,version,state from glpi_plugins" glpi
Operations
- Virtual hosts:
/etc/httpd/conf.d/glpi.conf(srv-glpi.isc3.isc-vs.ch, certmonger requestglpi-tls,glpi.crt/glpi.key) andzz-glpi-web.conf(glpi.isc3.isc-vs.ch,glpi-web.crt/glpi-web.key, private web CA, expires 2026-12-18, renewal in ISC3 private web CA). SameDocumentRoot/var/www/glpi/public(never the GLPI root itself), withmod_rewriterouting everything throughindex.php. - SELinux: enforcing;
httpd_sys_rw_content_tapplied to/etc/glpi,/var/lib/glpi,/var/log/glpi(all outside the default webroot label),httpd_sys_content_ton/var/www/glpi. install/directory: removed after setup (/var/www/glpi/install) — GLPI refuses to run normally while it's present, which forces this step.- Cron:
front/cron.phpevery 2 minutes asapache(/var/spool/cron/apache):It runs only the automatic actions in run mode CLI: 23 of 53 in December 2026,*/2 * * * * /usr/bin/php /var/www/glpi/front/cron.php &>/dev/nullqueuednotificationamong them. The 30 others are in mode GLPI and run only when someone browses GLPI (todo). - Database dump by hand:
mysqldump --single-transaction glpi. With--routinesit fails (Cannot load from mysql.proc, December 2026, todo).