https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30897 --- Comment #35 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #34)
Also, one final concern:
I might just test that quickly...
So the Starman worker launches a subprocess like the following: sh -c /kohadevbox/koha/installer/data/mysql/updatedatabase.pl >> /var/log/koha/kohadev/updatedatabase_2024-04-12T02:34:37_19.0600004_23.1200017.log 2>> /var/log/koha/kohadev/updatedatabase- error_2024-04-12T02:34:37_19.0600004_23.1200017.log So it's this shell process that gets HUPed, and then init takes over as the parent process: kohadev-koha@kohadevbox:koha(bug_30897_1)$ ps -fww -p 15743 UID PID PPID C STIME TTY TIME CMD kohadev+ 15743 1 13 02:32 ? 00:00:01 /usr/bin/perl /kohadevbox/koha/installer/data/mysql/updatedatabase.pl -- I think this is another unintended consequence, but... it probably won't cause any harm overall, and it would only affect people upgrading from <= 19.05 to >= 24.05. (Note that the upgrade crashed for me at 19.0600011 but that was for unrelated reasons.) -- Note that this is one of the reasons why I think the Starman restart should've been in a separate function to InstallPlugins(). While the psgi detection helped, it's not quite enough. In this case, the environmental variables are inherited from the web process by the shell process. -- You are receiving this mail because: You are watching all bug changes.