ispconfig_setup icon indicating copy to clipboard operation
ispconfig_setup copied to clipboard

script stucks while setting up phpmyadmin ubuntu 18.04

Open ChristopherDosin opened this issue 6 years ago • 13 comments

I did a fresh minimal ubuntu 18.04 install and run the script.

In the options i choosed to not install phpmyadmin. But the script seems to install and configure phpmyadmin

Setting up phpmyadmin (4:4.6.6-5) ...Applying patch for Amavisd-new... avisd-new, ClamAV), Spam filtering (SpamAssassin), Greylisting (Postgrey) and Rootkit detection (rkhunter)... (This may take awhile. Do not abort...)

At this part the script is hanging, even after 30minutes+.

Even if i enable phpmyadmin for the installation the scripts stucks at the same part. Does anyone has an idea why?

With Ubuntu 16.04 i had no problems.

ChristopherDosin avatar Oct 15 '18 07:10 ChristopherDosin

If nginx is selected on Ubuntu 18.04, phpMyAdmin is always installed: https://github.com/servisys/ispconfig_setup/blob/ddbb4a4264e12be1489fd5f3180d789ba92dab7f/distros/ubuntu-18.04/install_webserver.sh#L96-L99

I would need to see more of the log, but I suspect one of the packages is asking a question that is hidden by the script.

Try changing this line: https://github.com/servisys/ispconfig_setup/blob/ddbb4a4264e12be1489fd5f3180d789ba92dab7f/functions/check_linux.sh#L11 to this:

"$@"

and run the script again to see all the output.

tdulcet avatar Oct 16 '18 08:10 tdulcet

Can you test if it works?

servisys avatar Nov 07 '18 14:11 servisys

Matteo, i didnt install yet the ispconfig. I had problem because i try to install on a ubuntu mate armfh and cannot find the repositories for armfh. At this time i do an distribution upgrade to see if working. I will test it and i will twll u. Thanks for message

În mie., 7 nov. 2018, 16:36 Matteo Temporini <[email protected] a scris:

Can you test if it works?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/servisys/ispconfig_setup/issues/267#issuecomment-436643202, or mute the thread https://github.com/notifications/unsubscribe-auth/AS0N1ZTGjjB0kKDppyRZan3UMPnt0_Ezks5usu_egaJpZM4XbtUs .

vlahx avatar Nov 07 '18 22:11 vlahx

I have the same problem.

========================================= ISPConfig 3 System installer

This script will do a nearly unattended installation of all software needed to run ISPConfig 3. When this script starts running, it will keep going all the way So, before you continue, please make sure the following checklist is ok:

  • This is a clean standard clean installation for supported systems
  • Internet connection is working properly

The detected Linux Distribution is: Ubuntu 18.04.1 LTS Related Linux Distributions: debian Processor (CPU): Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz CPU Cores: 1 Architecture: x86_64 (64-bit) Total memory (RAM): 985 MiB (1033 MB) Total swap space: 0 MiB (0 MB) Graphics Processor (GPU): Red Hat, Inc. QXL paravirtual graphic card (rev 04) Computer name: Hostname: IPv4 addresses: Time zone: Etc/UTC (UTC, +0000)

Virtual Machine (VM) hypervisor: kvm

Installing for this Linux Distribution: ubuntu-18.04 Is this correct? (y/n) y

Preparing to install... [DONE]

Updating apt package database and upgrading currently installed packages...

Waiting for about 1hour but still not working. Does anyone have an idea why?

Nixforest avatar Nov 08 '18 01:11 Nixforest

Waiting for about 1hour but still not working. Does anyone have an idea why?

I suspect one of the packages you already have installed on your system is asking a question that is hidden by the script. Either try running these two commands before running the script: sudo apt-get update and sudo apt-get -y dist-upgrade or make the change in my comment above: https://github.com/servisys/ispconfig_setup/issues/267#issuecomment-430150149.

Always make sure you start from a fresh copy of one of the supported Linux distributions, as instructed in the Readme.

tdulcet avatar Nov 08 '18 09:11 tdulcet

What sort of server are you running this on? is it taking an hour to install and update the packages? i can build a Hyper-V Test machine if you want me to try anything?

smoonlee avatar Nov 08 '18 09:11 smoonlee

Waiting for about 1hour but still not working. Does anyone have an idea why?

I suspect one of the packages you already have installed on your system is asking a question that is hidden by the script. Either try running these two commands before running the script: sudo apt-get update and sudo apt-get -y dist-upgrade or make the change in my comment above: #267 (comment).

Always make sure you start from a fresh copy of one of the supported Linux distributions, as instructed in the Readme.

Tried run update and dist-upgrade. The problem still not solved. I am running on a fresh copy of Ubuntu 18.04 LTS. Always stuck at "Updating apt package database and upgrading currently installed packages...".

Nixforest avatar Nov 09 '18 15:11 Nixforest

What sort of server are you running this on? is it taking an hour to install and update the packages? i can build a Hyper-V Test machine if you want me to try anything?

Thank smoonlee. I use Digital Ocean. But I went back with Ubuntu 16.04 and install ISPConfig 3 step by step. It's work. I will try Ubuntu 18.04 later. Thanks for your help.

Nixforest avatar Nov 09 '18 15:11 Nixforest

Tried run update and dist-upgrade. The problem still not solved. I am running on a fresh copy of Ubuntu 18.04 LTS. Always stuck at "Updating apt package database and upgrading currently installed packages...".

The script is getting stuck in this section: https://github.com/servisys/ispconfig_setup/blob/ddbb4a4264e12be1489fd5f3180d789ba92dab7f/distros/ubuntu-18.04/install_basics.sh#L6-L11

Try removing those hide_output's and run the script again to see all the output from that section. It is possible that the autoremove is asking a question, but if it is a fresh copy, there should not be very many old packages to remove.

tdulcet avatar Nov 10 '18 11:11 tdulcet

Are you sure you installed with perfect setup guide for Ubuntu 18.04?

servisys avatar Nov 10 '18 19:11 servisys

Hi, i've run this under Debian 9.

The Mysql Root password may have characters that are not passed.. Like "ThisIsMyPass!word!" the script put in ThisIsMyPass then i fails silently.

the ! is the problem in my case.

My tip here, Generate the Mysql Root passwd from allowed characters.

thctlo avatar Feb 19 '19 13:02 thctlo

I tried with fresh DigitalOcean VPS with installed Ubuntu 18.04.2. I ran: apt-get update apt-get upgrade apt-get dist-upgrade apt autoremove

and followd the instruction from @tdulcet . The installation was successful.

NedkoHristov avatar Mar 26 '19 07:03 NedkoHristov

@NedkoHristov Thank you.

JongKwanPark avatar Sep 07 '19 07:09 JongKwanPark