Installing 1.5.9 on Debian Bullseye fails
-
I have a fresh Debian Bullseye install. I cloned fog 1.5.9. Running ./install.sh initially failed on the php-gettext, but found on this forum that you edit lib/ubuntu/config.sh and change php-gettext to php-php-gettext. That worked.
However, now it failed with this error:
Failed to stop php-fpm.service: Unit php-fpm.service not loaded.
It should be called php7.4-fpm.service
systemctl status php7.4-fpm.service ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-10-27 15:15:51 PDT; 22min ago
Is there a method I could correct this on my install like I did with the package list?
-
@kibade Please switch over to the dev branch and try your install again. FOg 1.5.9.115 or later should support bullseye.
-
@george1421 Just installed the Dev-Branch and it worked. Everything looks great
Thanks.One minor point, even though I selected N for DHCP service
* Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services.
It still installed isc-dhcp-server
* Installing package: isc-dhcp-server.........................OK
I confirm it didn’t enable dhcp, just odd that it installed the package.
* Setting up and starting DHCP Server.........................Skipped
systemctl status isc-dhcp-server.service ● isc-dhcp-server.service - LSB: DHCP server Loaded: loaded (/etc/init.d/isc-dhcp-server; generated) Active: failed (Result: exit-code) since Mon 2022-10-31 09:48:44 PDT; 5min ago Docs: man:systemd-sysv-generator(8) CPU: 47ms Oct 31 09:48:42 fog dhcpd[53890]: before submitting a bug. These pages explain the proper Oct 31 09:48:42 fog dhcpd[53890]: process and the information we find helpful for debugging. Oct 31 09:48:42 fog dhcpd[53890]: Oct 31 09:48:42 fog dhcpd[53890]: exiting. Oct 31 09:48:44 fog isc-dhcp-server[53875]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... Oct 31 09:48:44 fog isc-dhcp-server[53895]: failed! Oct 31 09:48:44 fog isc-dhcp-server[53896]: failed! Oct 31 09:48:44 fog systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE Oct 31 09:48:44 fog systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'. Oct 31 09:48:44 fog systemd[1]: Failed to start LSB: DHCP server.
-
@kibade So do you need dhcp services or not from the fog server? We’ll need to look into why when you say no, it installs the dhcp services but not configures them. I guess in the end it will not create a functional dhcp server, but still something appears a bit messed up.
-
I opened a GitHub issue for the DHCP thing: https://github.com/FOGProject/fogproject/issues/510
-
If there is no one starting on this, I’d love to take a crack at it.
-
@lukebarone You mean Debian bullseye support? This was fixed in FOG
dev-branch
months ago… But you are more than welcome to help with FOG. Are you good with bash scripting? -
@sebastian-roth I believe I am. The pull request I opened works on a fresh Bullseye install (does not include isc-dhcp-server if the user answers
N
or passes-y
to the installer).Link: https://github.com/FOGProject/fogproject/pull/522
In terms of Debian Bullseye support, I know this is working in
dev-branch
. I worked on just the DHCP server part that @kibade mentioned, and @george1421 mentioned. -
@lukebarone said in Installing 1.5.9 on Debian Bullseye fails:
Ahhh, I see. This is not specific for Debian Bullseye but ought to work for any of the supported distros as far as I can see. Thanks!
-
@kibade This is fixed in the latest
dev-branch
on Github.