Image capturing: Updating Database...Failed
-
@EStegenburgs I do use the FOG DHCP and there should be no need to manually adjust vsftpd.conf.
All installer questions I answered as the are by default except for DHCP where no is default but I said yes.
-
I had a similar problem but I found that it was my max connections.
mysql -e"show status like '%used_connections%'" +----------------------+-------+ | Variable_name | Value | +----------------------+-------+ | Max_used_connections | 224 | +----------------------+-------+
mysql -e"SHOW VARIABLES LIKE '%max_connections%'" +-----------------------+-------+ | Variable_name | Value | +-----------------------+-------+ | extra_max_connections | 1 | | max_connections | 1000 | +-----------------------+-------+
Mariadb max_connections default Value: 151
I increased mine to 1000 and my DB connection issues seem to have gone away. -
@Sebastian-Roth So, in the end, I have entirely switched to a bridged network solution, and everything is working fine now. It seems that the problem was, in fact, as you mentioned, about the issue in the installer script with network adapter enumeration. But that also means it is some type of bug - all captures of an image were successful, only failed at the very end trying to update the database.
The difference that I noticed between bridged and internal NAT configuration is that in the latter one, the FOG installer script at the very beginning complains that
net-tools
is not installed. When it asked about the network adapters, it couldn’t get an IP at first because it tried to use a network adapterenp0s3 enp0s8
(NAT adapter for internet connection and internal NAT adapter), at which point I had to specify to useenp0s8
adapter manually.