install debian 11 double fail

Post Reply
djsteveb
Posts: 1
Joined: Tue Jan 11, 2022 4:16 am
install debian 11 double fail

Post by djsteveb »

Think I saw a note that this only works with debian 10, and debian 11 is not supported/experimental currently. I have a fresh install that failed once, then I started again and it seemed to almost finish right but errored. I have logs of the whole install, but thought if I shared the errors here maybe it would help future development.

1st run errors:

E: Failed to fetch http://mirror.myhostdatacenter.com/debian/pool/main/m/mc/mc-data_4.8.26-1.1_all.deb Undetermined Error [IP: 107.107.77.77 77]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: apt-get install failed

=-=-=-=-
So.. I did some ip checks and they show up, so I did the restart apache2.. then I tried to run the install script again.. I think it did better the second time.. but it got janky and now I think the server can't get out to the internet / curl, apt-get and such fails now..

=-=-=-===-

here are some errors from the second run:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
dbconfig-common: phpmyadmin configure: noninteractive fail.
dbconfig-common: phpmyadmin configure: ignoring errors from here forwards
populating database via sql... done.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
dbconfig-common: roundcube configure: noninteractive fail.

update-rc.d: error: unable to read /etc/init.d/mysql
2022-01-10 23:43:48 URL:http://c.myvestacp.com/debian/11/pma/pma.sh [6790/6790] -> "/root/phpmyadmin/pma.sh" [1]
2022-01-10 23:43:48 URL:http://c.myvestacp.com/debian/11/pma/create_tables.sql [11911/11911] -> "/root/phpmyadmin/create_tables.sql" [1]
ALTER ROLE
update-rc.d: error: unable to read /etc/init.d/bind9

at the end I got:

=== Blocking executable files inside zip/rar/tar archives in ClamAV
2022-01-10 23:44:27 URL:http://c.myvestacp.com/tools/clamav/foxhole_all.cdb [10477/10477] -> "/var/lib/clamav/foxhole_all.cdb" [1]
Synchronizing state of spamassassin.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable spamassassin
Created symlink /etc/systemd/system/multi-user.target.wants/spamassassin.service → /lib/systemd/system/spamassassin.service.
Error: invalid interface format :: enp2s0
Usage: v-change-sys-ip-nat IP NAT_IP [RESTART]
Enabling module remoteip.
To activate the new configuration, you need to run:
systemctl restart apache2
grep: /usr/local/vesta/data/ips/*: No such file or directory
grep: /usr/local/vesta/data/ips/*: No such file or directory
Error: no IP is available
Error: can't create myactualwebsitename.click domain


=-=-=-=-=-==-=-=
This is what I can now:
sudo bash vst-install-debian.sh --apache yes --nginx yes --p[27m[7mh[27m[7mpfpm no --vsftpd no --proftpd yes --named yes --mysql yes --postgresql yes --ex[27m[7mi[27m[7mm yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban y[27m[7me[27m[7ms --quota no --force no --interactive yes --port 8083 --lang en [27m[A[A[A
[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C sudo bash vst-install-debian.sh --apache yes --nginx yes --phpfpm no --vsftpd no --proftpd yes --named yes --mysql yes --postgresql yes --exim yes --dovecot yes --clamav yes --spamassassin yes --iptables yes --fail2ban yes --quota no --force no --interactive yes --port 8083 --lang en
[?2004l
Updating apt, please wait...
Error: No access to Vesta repository

=-=-=-==-=-=-

I can post the full logs on a pass protected page or something if the main dev would find it useful.

should I just reinstall deb 11 and do something different or should I just wipe it and switch to debian 10 ?

any ideas? help appreciated.

Steve

User avatar
myVesta
Site Admin
Posts: 668
Joined: Fri Jun 19, 2020 9:59 am
Re: install debian 11 double fail

Post by myVesta »

looks like both fails are related to bad APT mirrors.
before myVesta install take official apt:

Code: Select all

deb http://deb.debian.org/debian bullseye main contrib non-free
# deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
# deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

# deb http://deb.debian.org/debian bullseye-backports main contrib non-free
# deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main contrib non-free
# deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
save it to /etc/apt/sources.list

then run:

Code: Select all

apt update
then install myVesta


Post Reply