Hosts messed up and root password not accepted after package updates and reboot

SYSTEM INFORMATION
OS type and version Debian Linux 12
Webmin version 2.111
Virtualmin version 7.20.2
Webserver version Nginx version 1.22.1
Related packages php5.6-cgi php5.6-cli php5.6-common php5.6-fpm php5.6-gd php5.6-json php5.6-mysql php5.6-opcache php5.6-readline php5.6-xml php5.6-xsl php5.6-zip php7.4-bcmath php7.4-cgi php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip php8.2-bcmath php8.2-cgi php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-readline php8.2-xml php8.2-zip php8.3-bcmath php8.3-cgi php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-phpdbg php8.3-readline php8.3-xml

Hello guys,

I get this problem randomly mostly after package updates.
I recognized in Virtualmin there were PHP package updates, I installed them and after that I rebooted the server.
After reboot in Virtualmin the IP of the server switched to 127.0.1.1.
When I want to connect to SSH via PuTTY the root password is not accepted.
I can only use Virtualmin because I was already logged in to the session.
When I logout I cant log back in.

Hosts file after the problem appears:

> # Your system has configured 'manage_etc_hosts' as True.
> # As a result, if you wish for changes to this file to persist
> # then you will need to either
> # a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
> # b.) change or remove the value of 'manage_etc_hosts' in
> #     /etc/cloud/cloud.cfg or cloud-config from user-data
> #
> 127.0.1.1 s1.gmgaming.hu s1
> 127.0.0.1 localhost
> 
> # The following lines are desirable for IPv6 capable hosts
> ::1 localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters

Hosts file before problem:

> # Your system has configured 'manage_etc_hosts' as True.
> # As a result, if you wish for changes to this file to persist
> # then you will need to either
> # a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
> # b.) change or remove the value of 'manage_etc_hosts' in
> #     /etc/cloud/cloud.cfg or cloud-config from user-data
> #
> 87.229.85.193	s1.gmgaming.hu s1
> 127.0.0.1 localhost
> 
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts

This is the second time when this problem appears. I recognized that it mostly happens after package updates then reboot.
The only way I can solve this is restoring a previous backup from the admin panel of the hosting where my VPS is rented from.

Why is this happening and how I can avoid it?

output of update:

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  php5.6-cgi php5.6-cli php5.6-common php5.6-fpm php5.6-gd php5.6-json
  php5.6-mysql php5.6-opcache php5.6-readline php5.6-xml php5.6-xsl php5.6-zip
  php7.4-bcmath php7.4-cgi php7.4-cli php7.4-common php7.4-curl php7.4-fpm
  php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache
  php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip php8.2-bcmath php8.2-cgi
  php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-mbstring php8.2-mysql
  php8.2-opcache php8.2-readline php8.2-xml php8.2-zip php8.3-bcmath
  php8.3-cgi php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-mbstring
  php8.3-mysql php8.3-opcache php8.3-phpdbg php8.3-readline php8.3-xml
51 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.8 MB of archives.
After this operation, 14.3 kB of additional disk space will be used.
Get:1 https://packages.sury.org/php bookworm/main amd64 php5.6-zip amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [20.1 kB]
Get:2 https://packages.sury.org/php bookworm/main amd64 php5.6-xml amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [122 kB]
Get:3 https://packages.sury.org/php bookworm/main amd64 php5.6-readline amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [13.1 kB]
Get:4 https://packages.sury.org/php bookworm/main amd64 php5.6-opcache amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [63.3 kB]
Get:5 https://packages.sury.org/php bookworm/main amd64 php5.6-mysql amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [141 kB]
Get:6 https://packages.sury.org/php bookworm/main amd64 php5.6-json amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [17.8 kB]
Get:7 https://packages.sury.org/php bookworm/main amd64 php5.6-gd amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [28.9 kB]
Get:8 https://packages.sury.org/php bookworm/main amd64 php5.6-fpm amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [1297 kB]
Get:9 https://packages.sury.org/php bookworm/main amd64 php5.6-cgi amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [1253 kB]
Get:10 https://packages.sury.org/php bookworm/main amd64 php5.6-cli amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [1280 kB]
Get:11 https://packages.sury.org/php bookworm/main amd64 php5.6-common amd64 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [659 kB]
Get:12 https://packages.sury.org/php bookworm/main amd64 php5.6-xsl all 5.6.40-78+0~20240802.86+debian12~1.gbp864daf [192 kB]
Get:13 https://packages.sury.org/php bookworm/main amd64 php7.4-zip amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [21.4 kB]
Get:14 https://packages.sury.org/php bookworm/main amd64 php7.4-xmlrpc amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [13.1 kB]
Get:15 https://packages.sury.org/php bookworm/main amd64 php7.4-xml amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [100 kB]
Get:16 https://packages.sury.org/php bookworm/main amd64 php7.4-readline amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [12.3 kB]
Get:17 https://packages.sury.org/php bookworm/main amd64 php7.4-opcache amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [204 kB]
Get:18 https://packages.sury.org/php bookworm/main amd64 php7.4-mysql amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [121 kB]
Get:19 https://packages.sury.org/php bookworm/main amd64 php7.4-mbstring amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [396 kB]
Get:20 https://packages.sury.org/php bookworm/main amd64 php7.4-json amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [19.4 kB]
Get:21 https://packages.sury.org/php bookworm/main amd64 php7.4-gd amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [28.1 kB]
Get:22 https://packages.sury.org/php bookworm/main amd64 php7.4-cli amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [1452 kB]
Get:23 https://packages.sury.org/php bookworm/main amd64 php7.4-fpm amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [1463 kB]
Get:24 https://packages.sury.org/php bookworm/main amd64 php7.4-curl amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [31.4 kB]
Get:25 https://packages.sury.org/php bookworm/main amd64 php7.4-cgi amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [1412 kB]
Get:26 https://packages.sury.org/php bookworm/main amd64 php7.4-bcmath amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [14.9 kB]
Get:27 https://packages.sury.org/php bookworm/main amd64 php7.4-common amd64 1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668 [648 kB]
Get:28 https://packages.sury.org/php bookworm/main amd64 php8.2-zip amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [26.2 kB]
Get:29 https://packages.sury.org/php bookworm/main amd64 php8.2-xml amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [113 kB]
Get:30 https://packages.sury.org/php bookworm/main amd64 php8.2-readline amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [12.5 kB]
Get:31 https://packages.sury.org/php bookworm/main amd64 php8.2-opcache amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [345 kB]
Get:32 https://packages.sury.org/php bookworm/main amd64 php8.2-mysql amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [117 kB]
Get:33 https://packages.sury.org/php bookworm/main amd64 php8.2-mbstring amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [444 kB]
Get:34 https://packages.sury.org/php bookworm/main amd64 php8.2-cli amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [1736 kB]
Get:35 https://packages.sury.org/php bookworm/main amd64 php8.2-fpm amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [1743 kB]
Get:36 https://packages.sury.org/php bookworm/main amd64 php8.2-curl amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [35.8 kB]
Get:37 https://packages.sury.org/php bookworm/main amd64 php8.2-cgi amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [1690 kB]
Get:38 https://packages.sury.org/php bookworm/main amd64 php8.2-bcmath amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [15.4 kB]
Get:39 https://packages.sury.org/php bookworm/main amd64 php8.2-common amd64 8.2.22-1+0~20240802.59+debian12~1.gbp464cac [682 kB]
Get:40 https://packages.sury.org/php bookworm/main amd64 php8.3-xml amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [117 kB]
Get:41 https://packages.sury.org/php bookworm/main amd64 php8.3-readline amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [12.4 kB]
Get:42 https://packages.sury.org/php bookworm/main amd64 php8.3-opcache amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [346 kB]
Get:43 https://packages.sury.org/php bookworm/main amd64 php8.3-cli amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [1768 kB]
Get:44 https://packages.sury.org/php bookworm/main amd64 php8.3-phpdbg amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [1786 kB]
Get:45 https://packages.sury.org/php bookworm/main amd64 php8.3-mysql amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [116 kB]
Get:46 https://packages.sury.org/php bookworm/main amd64 php8.3-mbstring amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [443 kB]
Get:47 https://packages.sury.org/php bookworm/main amd64 php8.3-fpm amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [1778 kB]
Get:48 https://packages.sury.org/php bookworm/main amd64 php8.3-curl amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [37.0 kB]
Get:49 https://packages.sury.org/php bookworm/main amd64 php8.3-cgi amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [1725 kB]
Get:50 https://packages.sury.org/php bookworm/main amd64 php8.3-bcmath amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [15.5 kB]
Get:51 https://packages.sury.org/php bookworm/main amd64 php8.3-common amd64 8.3.10-1+0~20240802.37+debian12~1.gbp06babf [711 kB]
[master ee14ae29] saving uncommitted changes in /etc prior to apt run
 12 files changed, 3 insertions(+), 5 deletions(-)
 rename rc2.d/{S01cloud-init => K01cloud-init} (100%)
 rename rc2.d/{S01cloud-init-local => K01cloud-init-local} (100%)
 rename rc3.d/{S01cloud-init => K01cloud-init} (100%)
 rename rc3.d/{S01cloud-init-local => K01cloud-init-local} (100%)
 rename rc4.d/{S01cloud-init => K01cloud-init} (100%)
 rename rc4.d/{S01cloud-init-local => K01cloud-init-local} (100%)
 rename rc5.d/{S01cloud-init => K01cloud-init} (100%)
 rename rc5.d/{S01cloud-init-local => K01cloud-init-local} (100%)
 delete mode 120000 systemd/system/cloud-init.target.wants/cloud-init-local.service
 delete mode 120000 systemd/system/cloud-init.target.wants/cloud-init.service
apt-listchanges: Reading changelogs...
Fetched 26.8 MB in 14s (1967 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 155516 files and directories currently installed.)
Preparing to unpack .../00-php5.6-zip_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-zip (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../01-php5.6-xml_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-xml (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../02-php5.6-readline_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-readline (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../03-php5.6-opcache_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-opcache (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../04-php5.6-mysql_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-mysql (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../05-php5.6-json_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-json (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../06-php5.6-gd_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-gd (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../07-php5.6-fpm_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-fpm (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../08-php5.6-cgi_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-cgi (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../09-php5.6-cli_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-cli (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../10-php5.6-common_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_amd64.deb ...
Unpacking php5.6-common (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../11-php5.6-xsl_5.6.40-78+0~20240802.86+debian12~1.gbp864daf_all.deb ...
Unpacking php5.6-xsl (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) over (5.6.40-77+0~20240606.85+debian12~1.gbpd4d5eb) ...
Preparing to unpack .../12-php7.4-zip_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-zip (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../13-php7.4-xmlrpc_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-xmlrpc (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../14-php7.4-xml_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-xml (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../15-php7.4-readline_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-readline (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../16-php7.4-opcache_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-opcache (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../17-php7.4-mysql_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-mysql (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../18-php7.4-mbstring_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-mbstring (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../19-php7.4-json_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-json (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../20-php7.4-gd_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-gd (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../21-php7.4-cli_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-cli (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../22-php7.4-fpm_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-fpm (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../23-php7.4-curl_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-curl (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../24-php7.4-cgi_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-cgi (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../25-php7.4-bcmath_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-bcmath (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../26-php7.4-common_1%3a7.4.33-14+0~20240802.94+debian12~1.gbpe16668_amd64.deb ...
Unpacking php7.4-common (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) over (1:7.4.33-13+0~20240606.93+debian12~1.gbp3bbf86) ...
Preparing to unpack .../27-php8.2-zip_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-zip (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../28-php8.2-xml_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-xml (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../29-php8.2-readline_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-readline (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../30-php8.2-opcache_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-opcache (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../31-php8.2-mysql_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-mysql (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../32-php8.2-mbstring_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-mbstring (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../33-php8.2-cli_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-cli (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../34-php8.2-fpm_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-fpm (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../35-php8.2-curl_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-curl (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../36-php8.2-cgi_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-cgi (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../37-php8.2-bcmath_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-bcmath (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../38-php8.2-common_8.2.22-1+0~20240802.59+debian12~1.gbp464cac_amd64.deb ...
Unpacking php8.2-common (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) over (8.2.21-1+0~20240704.58+debian12~1.gbpaee42f) ...
Preparing to unpack .../39-php8.3-xml_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-xml (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../40-php8.3-readline_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-readline (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../41-php8.3-opcache_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-opcache (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../42-php8.3-cli_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-cli (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../43-php8.3-phpdbg_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-phpdbg (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../44-php8.3-mysql_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-mysql (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../45-php8.3-mbstring_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-mbstring (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../46-php8.3-fpm_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-fpm (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../47-php8.3-curl_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-curl (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../48-php8.3-cgi_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-cgi (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../49-php8.3-bcmath_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-bcmath (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Preparing to unpack .../50-php8.3-common_8.3.10-1+0~20240802.37+debian12~1.gbp06babf_amd64.deb ...
Unpacking php8.3-common (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) over (8.3.9-1+0~20240708.36+debian12~1.gbp429c36) ...
Setting up php5.6-common (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php8.2-common (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.2-mysql (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php7.4-common (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php7.4-xmlrpc (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php7.4-curl (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php5.6-json (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php7.4-mysql (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.2-bcmath (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php7.4-bcmath (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.2-zip (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.2-opcache (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.2-readline (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.2-mbstring (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php7.4-readline (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php7.4-mbstring (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.3-common (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php5.6-zip (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php8.3-mysql (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php8.3-mbstring (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php8.2-curl (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.3-readline (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php7.4-zip (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.2-xml (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php5.6-mysql (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php5.6-opcache (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php8.3-bcmath (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php7.4-opcache (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.3-xml (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php5.6-xml (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php8.3-opcache (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php8.2-cli (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php5.6-gd (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php7.4-gd (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php5.6-readline (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php5.6-cli (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php5.6-xsl (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php7.4-json (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php7.4-xml (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.3-curl (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php5.6-fpm (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php7.4-cli (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.3-cli (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php8.3-cgi (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php8.2-fpm (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php8.2-cgi (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Setting up php5.6-cgi (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Setting up php8.3-phpdbg (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Setting up php7.4-fpm (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php7.4-cgi (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Setting up php8.3-fpm (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for php8.2-cli (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Processing triggers for php5.6-cli (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Processing triggers for php5.6-fpm (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Processing triggers for php7.4-cli (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Processing triggers for php8.3-cli (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Processing triggers for php8.3-cgi (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Processing triggers for php8.2-fpm (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Processing triggers for php8.2-cgi (8.2.22-1+0~20240802.59+debian12~1.gbp464cac) ...
Processing triggers for php5.6-cgi (5.6.40-78+0~20240802.86+debian12~1.gbp864daf) ...
Processing triggers for php8.3-phpdbg (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
Processing triggers for php7.4-fpm (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Processing triggers for php7.4-cgi (1:7.4.33-14+0~20240802.94+debian12~1.gbpe16668) ...
Processing triggers for php8.3-fpm (8.3.10-1+0~20240802.37+debian12~1.gbp06babf) ...
[master c274b516] committing changes in /etc made by "apt-get -y install php5.6-cgi php5.6-cli php5.6-common php5.6-fpm php5.6-gd php5.6-json php5.6-mysql php5.6-opcache php5.6-readline php5.6-xml php5.6-xsl php5.6-zip php7.4-bcmath php7.4-cgi php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip php8.2-bcmath php8.2-cgi php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-readline php8.2-xml php8.2-zip php8.3-bcmath php8.3-cgi php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-phpdbg php8.3-readline php8.3-xml"
 1 file changed, 1 insertion(+), 1 deletion(-)

I can see there are some cloud-init realted lines.
I tried that out I disabled all cloud-init services but the problem appears again after reboot.:frowning:

This is unrelated to Virtualmin. We don’t modify network configuration on updates (or without being explicitly told to do so in the network configuration module, which you shouldn’t use on a system at a web hosting provider…they configure network, you leave it alone).

It is probably the reboot that’s the trigger, rather than the update.

cloud-init is how most web hosting providers and cloud providers configure things like network. So, disabling it is probably a bad thing. It’s possible your host has pushed a cloud-init update that broke things. That’s be a question for your hosting provider.

1 Like

Thank you for reply!

I took up contact with my hosting provider and he recommended that I should delete cloud-init packages when the system is stable.

I will try this out tomorrow.

It seems removing cloud-init with the following commands fixed the problem:

apt-get remove could-init
apt-get purge cloud-init

It works only on that state when the server is good. So I needed to load a backup from that time when the server ran well.

After that I did a sudo reboot and hosts still good.
I installed updates, then reboot, still good.
I did a reboot from SSH, and another from Virtualmin and still good.

I hope it will stay good.

Thank you for helping!

Best regards!

Benny

So, I think that probably confirms the problem is something your hosting provider has done wrong with their cloud-init configuration.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.