Re: Gnumed
Karsten Hilbert <[email protected]> Thu, 11 Sep 2025 23:03:41 +0200
| Newsgroups | gmane.comp.gnu.medical.devel |
|---|---|
| Message-ID | <[email protected]> |
> habe einen neuerlichen Versuch gestartet. Dabei ist die Datei nun nicht > mehr leer. Das sagt uns mehr. Bei Dir l=E4uft PostgreSQL 16: > 2025-07-31 01:20:26 INFO gm.db_pool [127475885166720 MainThread= ] (/var/lib/gnumed/Gnumed/pycommon/gmConnectionPool.py::__log_on_first_co= ntact() #466): PostgreSQL version (numeric): 16.9 Das bei Dir zutage tretende Problem: > 2025-07-31 01:20:26 ERROR gm.bootstrapper [127475885166720 MainThr= ead] (/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py::boots= trap() #1506): Cannot bootstrap bundle [config]. > Traceback (most recent call last): > File "/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py", l= ine 1504, in bootstrap > database(aDB_alias =3D database_alias) > File "/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py", l= ine 607, in __init__ > db_server(self.server_alias, auth_group =3D self.name) > File "/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py", l= ine 360, in __init__ > if not self.__bootstrap(): > ^^^^^^^^^^^^^^^^^^ > File "/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py", l= ine 371, in __bootstrap > if not self.__connect_superuser_to_srv_template(): > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/var/lib/gnumed/server/bootstrap/./bootstrap_gm_db_system.py", l= ine 423, in __connect_superuser_to_srv_template > lc_ctype =3D data[0][0] > ~~~~^^^ > IndexError: list index out of range beruht darauf, da=DF es dort keine Einstellung lc_ctype mehr in der Tabelle pg_settings gibt. Dieser Wert ist nun in der Tabelle pg_database hinterlegt. Dieses Problem wurde im August behoben: commit 63affd228a4a991dbc0f6e3b648f9b0cb1de3309 Author: Karsten Hilbert <[email protected]> Date: Mon Aug 18 23:26:54 2025 +0200 Fix bootstrapper In PG 17 lc_collate is not a clusterwide GUC anymore but per-= database. Reported by Maria. (der Kommentar sagt PG 17, aber es trifft f=FCr PG 16 auch schon zu, dem Fix ist die Version egal) und ist in der aktuellen Ver=F6ffentlichung von GNUmed (1.8.22 / 22.32) enthalten: 22.32 FIX: crash on bootstrapping v15+ servers [thanks Maria] Es wird vermutlich noch keine Pakete f=FCr Ubuntu 24.04: > 2025-07-31 01:20:26 DEBUG gm.db_pool [127475885166720 MainThread= ] (/var/lib/gnumed/Gnumed/pycommon/gmConnectionPool.py::log_pg_settings()= #762): server_version: 16.9 (Ubuntu 16.9-0ubuntu0.24.04.1) (set from: [de= fault] // sess RESET will set to: [16.9 (Ubuntu 16.9-0ubuntu0.24.04.1)]) geben. Du kannst aber das aktuelle Release hier: https://www.gnumed.de/downloads/server/v22/ herunterladen und damit (hoffentlich) eine Datenbank erzeugen. Karsten =2D-=20 GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B