Thank you once again.
I am indeed working on a personal server. I went a step further by disabling the host computer’s power-saving screen—not entirely sure if this is related.
At one point, I had to press Escape twice to exit what seemed like a freeze (with a single step taking over 5 minutes to complete).
After about an hour of installation, everything appeared stable. I was able to log into the system using the username sangoma and the personal password I created during installation (of the PUB Spice at the end of the day). However, instead of the admin page, I was greeted by the Apache2 Debian Default Page.
Upon checking, the /var/www/html directory contained only the default index.html file.
The last two lines of the installation log were as follows, and then nothing further:
Preparing to unpack …/378-node-ssri_9.0.1-2_all.deb …
Unpacking node-ssri (9.0.1-2) …
I attempted to run dpkg --configure -a, but it was locked by an apt-get process. After terminating the process, I managed to execute dpkg --configure -a, which triggered a reboot—but I was back in the boot loop.
However, via SSH, I had just enough time to connect—thanks to the short password I had set—and perform the well-known command: sudo systemctl disable sng-install-freepbx. It rebooted once more, but at least it waited for further instructions this time.
Another dpkg --configure -a initiated numerous configurations, including node-ssri.
On instinct, I then ran: sudo systemctl enable sng-install-freepbx followed by sudo shutdown -r now.
The system restarted, and additional installation processes (such as ipset, fail2ban, and htop) began, lasting at least 12 minutes. I had allocated 4 CPUs and 16GB of RAM to the VM.
For this rather unusual setup, I did follow the following steps:
-
Set a short password instead of the default one to ensure you have enough time to execute: sudo systemctl disable sng-install-freepbx
-
Wait for the next restart.
-
Run dpkg --configure -a (after killing any locking processes) as many times as necessary.
-
Execute sudo systemctl enable sng-install-freepbx.
-
Finally, run sudo reboot -n.
ie : The system remained stuck for 15 minutes on “installing asterisk-sounds-*” before I intervened. I had to press Ctrl-D and repeat the above steps.
Unfortunately, the installing FreePBX 17 did not succeed. Despite these efforts, the furthest I could get was a restart that froze at “making sure installation is sane”. Even a manual sudo apt install freepbx17 stalled at 20%.
sudo apt-get install --reinstall apt relaunched the installation freebpx17 with no success neither.
I let my computer working on this but there is no ressource in use about that. Installation logs for what I see are about this apt installation not succedding.
Any help on this last attempt of an OS installation on a VM started 4 hours ago would be more than welcome. Any clue to help or set the VM
(I add VM in the title of this thread)