Author Topic: Fresh install hangs after selecting modules  (Read 529 times)

gofast321

  • Zen Apprentice
  • *
  • Posts: 36
  • Karma: +4/-0
    • View Profile
Fresh install hangs after selecting modules
« on: September 30, 2024, 10:29:56 pm »
Hi all. I'm doing a fresh install of v8.0 on a bare metal Dell server and I'm running into a weird issue. Installation seems to go fine but when I get to the point to select the initial modules (domain and DNS ) it hangs during the install. It doesn't matter which modules I select for the installation. The machine still responds but the installation process of the modules just gives up. It will hang at random points in the installation process but never the same place.  I did have it complete successfully once but out of the 10 times I have tried, 9 of them have failed.

I also attempted to install in a VirtualBox VM and got the same results. Has anyone else seen this? Any workarounds?


Thanks,
Chad







Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fresh install hangs after selecting modules
« Reply #1 on: October 02, 2024, 10:39:29 am »
Hi,

Could you give more specific details about how you do the installation process? For example:

- Which version of Zentyal are you using?
- What type of installation do you select?
- What configuration options do you use?
    - Partitioned
    - LVM
- Have you tried installing with only the basic network and firewall modules?
- Is there a difference between successful and failed installations?
- Have you tried doing a clean install of Ubuntu and installing Zentyal on Ubuntu as the official documentation says?
https://doc.zentyal.org/en/installation.html#installation-on-top-of-ubuntu-22-04-lts-server-or-desktop

Regards.

gofast321

  • Zen Apprentice
  • *
  • Posts: 36
  • Karma: +4/-0
    • View Profile
Re: Fresh install hangs after selecting modules
« Reply #2 on: October 02, 2024, 08:22:13 pm »
Thanks for the response Siroco.

I'm installing version 8.0 development edition
I'm using the GUI expert mode to install
I'm partitioning the the whole 80GB disk without LVM

If I install with just basic network and firewall it finishes fine. If I choose the domain module and/or any other combination of modules, the installation process will just die. It will just hang on one of the install steps (ie. 369 of 380, etc.) If I close the browser and reopen the 'Zentyal Administration" site it will come back to the 'Initial Setup' screen. It will show the modules I already picked as check marked and if I click install again it will show no packages selected. So then the only option is to click "skip install". It will take me directly to the dashboard which shows all the modules installed but the problem is that I never get to complete the initial domain setup.


After doing some testing I stumbled on a weird workaround. After the machine reboots after the base install, if I let it sit at the Zentyal Administrator console for about 5 minutes before choosing the modules then it will normally complete fine. So I'm wondering if there is some weird race condition happening.

Unfortunately I'm not smart enough to diagnose it much deeper than that. Most of my help is only observational.


Thanks,
Chad

Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fresh install hangs after selecting modules
« Reply #3 on: October 03, 2024, 01:08:32 pm »
Hi,
With this option selected, you already have access to the desktop while the initial Zentyal installation is running through the wizard. You can launch a console as an administrator and run the following command to monitor the installation progress:
Code: [Select]
sudo tail -f /var/log/zentyal/zentyal.log /var/log/syslog
If you notice the process hanging, you can review these log files to identify any messages that might help pinpoint what the system was doing when it stalled.
Regards.

gofast321

  • Zen Apprentice
  • *
  • Posts: 36
  • Karma: +4/-0
    • View Profile
Re: Fresh install hangs after selecting modules
« Reply #4 on: October 03, 2024, 10:11:38 pm »
Thanks Siroco. I ran the command and I'm parsing through the logs now to understand the differences. 

I was going to post them to this thread but the upload folder in the forum is full and they exceed the character limit to post in the body the message.

Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Fresh install hangs after selecting modules
« Reply #5 on: October 04, 2024, 11:26:42 am »
Hi,

You can check those logs for errors and post those lines on the forum, or also, if the system crashes, post the last lines of the logs to see what it was doing at that time.

Regards.