servisys / ispconfig_setup

ISPConfig autoinstaller and setup
GNU General Public License v3.0
506 stars 257 forks source link

[BUG?] debian 10 buster: installation fails #338

Open zenny opened 3 years ago

zenny commented 3 years ago

Hi,

I tried to run this script in debian 10 which exited with the following error:


Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
_ nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-08-11 20:39:00 CEST; 16ms ago
     Docs: man:nginx(8)
  Process: 6460 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Aug 11 20:39:00 server4.DOMAIN.net systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 11 20:39:00 server4.DOMAIN.net nginx[6460]: nginx: [emerg] BIO_new_file("/usr/local/ispconfig/interface/ssl/ispserver.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/ispconfig/interface/ssl/ispserver.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Aug 11 20:39:00 server4.DOMAIN.net nginx[6460]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 11 20:39:00 server4.DOMAIN.net systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 20:39:00 server4.DOMAIN.net systemd[1]: nginx.service: Failed with result 'exit-code'.
Aug 11 20:39:00 server4.DOMAIN.net systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
 installed nginx-full package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (<< 1.14.2-2+deb10u2.1~) | nginx-light (<< 1.14.2-2+deb10u2.1~) | nginx-extras (<< 1.14.2-2+deb10u2.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (>= 1.14.2-2+deb10u2) | nginx-light (>= 1.14.2-2+deb10u2) | nginx-extras (>= 1.14.2-2+deb10u2); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u4) ...
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------

[Exit 100]

A search shows:

# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 nginx                small, powerful, scalable web/proxy server

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 nginx-full           nginx web/proxy server (standard version)

Any clue? Cheers,

kameleon1er commented 3 years ago

Hi, 3 times installation try, and always same issue ; " Installing Webmail client (Roundcube)... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) " and block the installation.

I tried to purge mysql server before launch the script. When script running, as it asked, I enter a root password for mysql, but… not working.

I install @ scaleway instance ;

The detected Linux Distribution is: Debian GNU/Linux 10 (buster)
Processor (CPU):            AMD EPYC 7281 16-Core Processor
CPU Cores:              3
Architecture:               x86_64 (64-bit)
Total memory (RAM):         3,943 MiB (4,134 MB)
Total swap space:           0 MiB (0 MB)
Computer name:              srv-b.democraite.com
Hostname:               srv-b.domain.com
IPv4 addresses:             10.64.74.69 2001:bc8:47a0:2522::1
Time zone:              Etc/UTC (UTC, +0000)

Virtual Machine (VM) hypervisor:    kvm

Thanks Capture d’écran 2020-09-11 à 12 40 58

gOOvER commented 3 years ago

i recomment using the Guide on Howtoforge insteed using an installer.

As Till told u allready

kameleon1er commented 3 years ago

this one ? : https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/

gOOvER commented 3 years ago

yes :)

kameleon1er commented 3 years ago

I did it yes, each steps… very long… and fist attempt to open phpmyadmin ; page not found. so I thought; I saw another tutorial with a complete auto install script. Why not give it a try? So I did. But it stalls before the end, that's why I'm asking my question. Where's the mistake?

It's true that I'm doing the installation on a VPS instance with Debian pre-installed, the only choice is to choose between Jessie, Stretch and Buster. But I don't know if it's a Minimal version and maybe it's a problem with this script?

Thanks anyway for your help

kameleon1er commented 3 years ago

finally, because I never give up, I reinstalled everything, but this time with debian 9, the auto install script because I like it, without roundcube and without phpmyadmin... to be continued

AnTheMaker commented 3 years ago

finally, because I never give up, I reinstalled everything, but this time with debian 9, the auto install script because I like it, without roundcube and without phpmyadmin... to be continued

Having the same issues... did your attempt with debian 9 work?

Neustradamus commented 3 years ago

I think -> ISPConfig 3.2.x

popolon1978 commented 3 years ago

Hello,

Just for information, for those using this autoinstall script like me, this monday (28 Dec 2020), using a dev cloud instance from Scaleway i successfully setup ISPConfig (3.2.1) from scratch on Debian 10 Buster

The only error was the Let's encrypt certificate for hostname (i used a test - anonymized - domain with the .ovh extension)

"Failed authorization procedure. sandbox.xxx.ovh (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the c lient to verify the domain :: Fetching http://sandbox.xxx.ovh/.well-known/acme-challenge/sT-65GL29nvbdWVsU1aIyoQS6b1IyHZAbWEnUPrEeUA: Con nection refused Issuing certificate via certbot failed. Please check log files and make sure that your hostname can be verified by letsencrypt Could not issue letsencrypt certificate, falling back to self-signed."

To resolve this, i only add to generate the certificate again (source: https://www.faqforge.com/linux/how-to-renew-the-ispconfig-3-ssl-certificate/ | "2) Renew the SSL Certificate with the ISPConfig installer")