zentyal / zentyal

Linux Small Business Server
http://www.zentyal.org
GNU General Public License v2.0
530 stars 139 forks source link

Initial Setup of Development stuck on "safe module webadmin" #2100

Open dsc1712 opened 2 years ago

dsc1712 commented 2 years ago

Describe the bug Hello all,

I have downloaded the latest Zentyal Development ISO (from zentyal and github, too | md5checksum is equal) and installed it in Hyper-V VM (Gen1 and Gen2) and under Oracle Virtual Box.

Unfortunately the Dev-Setup in all variants stops at the last step "Module webadmin is saved" of the initial config (see image "Zentyal_Dev_Edition_Initial_Config.PNG").

If I use the Commercial ISO in above variants, it works and completes it successfully with "Congratulations" (see image "Zentyal_Com_Edition_Initial_Config.PNG").

In comparison the zentyal logs from both editions: Diff_Dev_Com_Edition_Zentyal_Log.PNG On the left the dev edition, on the right the commercial one.

You can see that the dev edition hangs at the step "restarting service for module: webadmin". Unfortunately the command for restarting a module via cli (terminal) does not work anymore (https://forum.zentyal.org/index.php/topic,10488.0.html)?!

Best regards dsc1712

To Reproduce Hyper-V VM Gen1 (2 vCPU, 8GB RAM, 160GB vHDD) Hyper-V VM Gen2 (2 vCPU, 8GB RAM, 160GB vHDD) a) without Secure Start and b) with Secure Start and MS UEFI Cert-CA Oracle Virtual Box 6.1 VM Type Linux, Version Ubuntu 64bit, 2vCPU, 8GB RAM, 160GB vHDD) All installations start booting from the downloaded ISO's.

Expected behavior Same behavior (welcome screen) of the development edition as for the commercial edition.

Screenshots Diff_Dev_Com_Edition_Zentyal_Log Zentyal_Com_Edition_Initial_Config Zentyal_Dev_Edition_Initial_Config

Zentyal OS (please complete the following information):

Other OS (please complete the following information):

Additional context I can login to Development Edition's Web-GUI. Also i can find and start Updates of the Dev Edition, but get an Error when installing the 64 system updates. Also i get an error message (safe webadmin module) when I want to save changes to the web GUI config. On CLI the package java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64.rpm failed to download (repo not availabel or repo to slow).

My Setup is behind an Sophos UTM, but as I was able to determine, it is not due to my FW config, because the Commercial Edition installs cleanly.

andreabia commented 2 years ago

I have the same problem, fresh install hangs on

Saving changes in modules Current operation: Saving webadmin module 100% 2 of 2 operations performed

joefas963 commented 2 years ago

I'm having the same issue here, except I'm running a lab version of XCP-NG Hypervisor version 20.04.01

Hypervisor Specs: Vendor: GenuineIntel Model: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz Speed: 3503 MHz Server Memory: 32GB RAM DDR3

VM Specs: CPU: 4vCPU x 4Core 8GB Ram 100 GiB Hard Drive (From Raid 10 - Sata Based) Read Cache: Disabled Write Cache: Write-Ahead Bios Mode: Legacy XCP-NG Virtualization Tools: Not Installed image

Screenshot: image

Mikental commented 2 years ago

Hi, Same problem here, Latest image Zentyal 7.0 development-amd64.iso on Proxmox 7.2-3 VM and VirtualBox 6.1

image image

HITECHPR commented 1 year ago

Same issue....I ran a few VM installs to test. First and foremost do not connect to a network with internet access. That seems to be where the problem is. I did two (2) test installs both default and selecting only FTP (That will also install Networking and Firewall). One install was connected to the internet, the other was not. The one connected to the internet stopped with the save module stuck error. The one NOT connected to the internet completed the install.

To fix the stuck one I just rebooted and when the webadmin came back with initial setup I simply clicked on skip. Updating via webadmin seemed to have an issue so I did it from a terminal (apt update && apt upgrade -y). This is how I fixed a stuck install.

To do a new install DO NOT Connect to Internet. Complete your install and connect to internet (Reboot just in case). Finally somethings might be off so from a terminal... sudo apt update sudo dpkg-reconfigure tzdata (if your timezone is wrong during setup)

if you get a suricata error sudo apt install gnupg2 -y sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D7F87B2966EB736F

From webadmin I installed AV, NTP (installed just fine) Upgrading from Webadmin did not respond at all so back to the terminal and sudo apt update && sudo apt upgrade -y So far so good...

Good luck and I hope this helps someone.

rubenszolt commented 1 year ago

Confirm the problem, fresh install on 3 servers, cannot finalizing the install, it stuck on last step when module webadmin save, it must manually access https://IP:8443. Core version 7.0.5 image

Neustradamus commented 7 months ago

@dsc1712, @andreabia, @joefas963, @Mikental, @HITECHPR, @rubenszolt: Any news on this ticket?

dsc1712 commented 7 months ago

@Neustradamus, tested with latest ISO downloaded today. Setup finished like expected. Looks like there are no more Problems reported before. Will test it the next days like initial reported config. But don't think that it will run in error like that.

Best regards dsc1712