We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Problems installing Vesta on Ubuntu 14 via Vagrant
Problems installing Vesta on Ubuntu 14 via Vagrant
Hello,
I am experiencing some errors while installing Vesta on Ubuntu 14 for my local development using Vagrant (www.vagrantup.com). It looks like the errors are somehow related to network interface and ip addresses. Below are the details:
Vagrant: v2.1.5
Vagrant Image: Ubuntu 14.04.5 LTS
Vagrant configuration file includes following settings for private network:
Vesta: v0.9.8-22
During the execution of the install script following errors popup towards the end of installation (after SpamAssassin mail filter daemon startup):
The VestaCP installation script completes, but shows a wrong IP to access the admin panel. Instead of accessing admin panel using the specified PRIVATE IP 192.168.33.10 of my virtual machine (as specified by Vagrant configuration), VestaCP instead uses my HOST machine PUBLIC IP.
In addition, the default website created by installation script also uses my HOST PUBLIC IP and not GUEST PRIVATE IP 192.168.33.10. The apache configuration file inside /home/admin/conf/web/example.test.apache2.conf is EMPTY. So all requests to example.test are routed to /var/www instead of /home/admin/web/example.test/public_html.
Some addition info about the system:
There are some other errors I observed that popup during the installation script, not sure how related they are, but going to write them down anyway:
---
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/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 '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: phpmyadmin configure: noninteractive fail.
dbconfig-common: phpmyadmin configure: ignoring errors from here forwards
vst-install-ubuntu.sh: line 1115: systemctl: command not found
---
Any help would be greatly appreciated. I don't know what to do, but basicly, VestaCP is unusable for me, as I something is wrong with configuring IP addresses and the traffic is not routed to correct apache VirtualHost and config file of /home/admin/web/conf/example.test.apache2.conf is empty. I believe it should contain a VirtualHost entry for the private ip 192.168.33.10
I am experiencing some errors while installing Vesta on Ubuntu 14 for my local development using Vagrant (www.vagrantup.com). It looks like the errors are somehow related to network interface and ip addresses. Below are the details:
Vagrant: v2.1.5
Vagrant Image: Ubuntu 14.04.5 LTS
Vagrant configuration file includes following settings for private network:
Code: Select all
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "example.test"
During the execution of the install script following errors popup towards the end of installation (after SpamAssassin mail filter daemon startup):
Code: Select all
cat: 192.168.33.10: No such file or directory
grep: 192.168.33.10: No such file or directory
sed: -e expression #1, char 16: unterminated `s' command
sed: -e expression #1, char 16: unterminated `s' command
grep: 192.168.33.10: No such file or directory
grep: 192.168.33.10: No such file or directory
sed: can't read 192.168.33.10: No such file or directory
sed: can't read 192.168.33.10: No such file or directory
In addition, the default website created by installation script also uses my HOST PUBLIC IP and not GUEST PRIVATE IP 192.168.33.10. The apache configuration file inside /home/admin/conf/web/example.test.apache2.conf is EMPTY. So all requests to example.test are routed to /var/www instead of /home/admin/web/example.test/public_html.
Some addition info about the system:
Code: Select all
>hostname
>example.test
Code: Select all
>ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:a8:e5:bc
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fea8:e5bc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:247154 errors:0 dropped:0 overruns:0 frame:0
TX packets:50398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:304504410 (304.5 MB) TX bytes:3791694 (3.7 MB)
eth1 Link encap:Ethernet HWaddr 08:00:27:b3:c3:11
inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:397 errors:0 dropped:0 overruns:0 frame:0
TX packets:332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:62852 (62.8 KB) TX bytes:425204 (425.2 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:278 errors:0 dropped:0 overruns:0 frame:0
TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49443 (49.4 KB) TX bytes:49443 (49.4 KB)
---
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/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 '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: phpmyadmin configure: noninteractive fail.
dbconfig-common: phpmyadmin configure: ignoring errors from here forwards
vst-install-ubuntu.sh: line 1115: systemctl: command not found
---
Any help would be greatly appreciated. I don't know what to do, but basicly, VestaCP is unusable for me, as I something is wrong with configuring IP addresses and the traffic is not routed to correct apache VirtualHost and config file of /home/admin/web/conf/example.test.apache2.conf is empty. I believe it should contain a VirtualHost entry for the private ip 192.168.33.10