Comments (7)
Can you run this and let me know the output?
mkdir -p /opt/vestacp2/{vesta,home,backup} && docker run -v /opt/vestacp2/vesta:/vesta -v /opt/vestacp2/home:/home -v /opt/vestacp2/backup:/backup niiknow/vestacp
It will take some time to initialize vesta for first run so please be patient.
It should look something like this:
vesta | *** Running /etc/my_init.d/startup.sh...
vesta | [i] running for the 1st time
vesta | file has vanished: "/vesta-start/local/vesta/data/ips/172.17.0.3"
vesta | rsync warning: some files vanished before they could be transferred (code 24) at main.c(1183) [sender=3.1.1]
vesta | rsync: symlink "/home/admin/web/e2c15dd197c8.example.com/logs/e2c15dd197c8.example.com.error.log" -> "/var/log/apache2/domains/e2c15dd197c8.example.com.error.log" failed: Permission denied (13)
vesta | rsync: symlink "/home/admin/web/e2c15dd197c8.example.com/logs/e2c15dd197c8.example.com.log" -> "/var/log/apache2/domains/e2c15dd197c8.example.com.log" failed: Permission denied (13)
vesta | rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
vesta | [i] init nginx
vesta | [i] init fail2ban
vesta | [i] running /home/admin/bin/my-startup.sh
vesta | * Starting Apache httpd web server apache2
vesta | *
vesta | * Starting MariaDB database server mysqld
vesta | ...done.
vesta | * Starting PostgreSQL 9.5 database server
vesta | ...done.
vesta | * Starting vesta-nginx vesta-nginx
vesta | start-stop-daemon: unable to stat /usr/local/vesta/nginx/sbin/vesta-nginx (No such file or directory)
vesta | [i] running /bin/vesta-auto-ssl.sh
vesta | [err] Domain 'hosting.example.com' IP '' does not match Host IP 'x.x.x.x'
vesta | *** Running /etc/rc.local...
vesta | *** Booting runit daemon...
vesta | *** Runit started as PID 409
vesta | Feb 12 20:24:12 8639bcef282b syslog-ng[417]: syslog-ng starting up; version='3.5.6'
^CGracefully stopping... (press Ctrl+C again to force)
Killing vesta ... done
With the above screen, I'm just trying to make sure that everything is running correctly inside of the docker container. If there are any issue, it would be either firewall port or something is wrong with the data in your /opt/vestacp folder.
from vestacp.
root@halsbox:~# rm -rf /opt/vestacp && mkdir -p /opt/vestacp/{vesta,home,backup} && docker run -v /opt/vestacp/vesta:/vesta -v /opt/vestacp/home:/home -v /opt/vestacp/backup:/backup niiknow/vestacp
*** Running /etc/my_init.d/startup.sh...
[i] running for the 1st time
[i] init nginx
[i] init fail2ban
[i] running /home/admin/bin/my-startup.sh
* Starting Apache httpd web server apache2
*
* Starting MariaDB database server mysqld
...done.
* Starting PostgreSQL 9.5 database server
...done.
* Starting vesta-nginx vesta-nginx
start-stop-daemon: unable to stat /usr/local/vesta/nginx/sbin/vesta-nginx (No such file or directory)
[i] running /bin/vesta-auto-ssl.sh
[i] vesta-auto-ssl exit due to empty VESTA_DOMAIN variable
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 388
Feb 12 21:42:27 08c060f9f31e syslog-ng[394]: syslog-ng starting up; version='3.5.6'
Feb 12 21:45:01 08c060f9f31e CRON[424]: (admin) CMD (sudo /usr/local/vesta/bin/v-update-sys-rrd)
Feb 12 21:45:01 08c060f9f31e CRON[425]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 12 21:45:01 08c060f9f31e CRON[426]: (admin) CMD (sudo /usr/local/vesta/bin/v-update-sys-queue backup)
Another terminal:
root@halsbox:/tmp/vestacp# docker exec 08c060f9f31e netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 370/nginx.conf
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 370/nginx.conf
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 395/sshd
tcp6 0 0 :::5432 :::* LISTEN -
tcp6 0 0 :::3306 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN 395/sshd
from vestacp.
start-stop-daemon: unable to stat /usr/local/vesta/nginx/sbin/vesta-nginx (No such file or directory)
Same as in your output.
from vestacp.
Sorry, I caught that error as soon as I posted the message. Working on the fix/build now. Thanks.
from vestacp.
Should work now. Get the latest version 1.1.4, thanks.
from vestacp.
Looks like everything is ok:
root@halsbox:~# docker pull niiknow/vestacp:latest
latest: Pulling from niiknow/vestacp
91184d91aabc: Already exists
342eec7d5aa7: Already exists
e625e2c3ac6a: Already exists
e1b53968feb5: Already exists
c1e55e8b9574: Pull complete
0a9bf478de24: Pull complete
b3a938e4c2ac: Pull complete
958559338f81: Pull complete
Digest: sha256:0afb63fcf255009eeed932bf8144f191986cacebd0e7b955a936000f829be812
Status: Downloaded newer image for niiknow/vestacp:latest
root@halsbox:~# rm -rf /opt/vestacp && mkdir -p /opt/vestacp/{vesta,home,backup} && docker run -v /opt/vestacp/vesta:/vesta -v /opt/vestacp/home:/home -v /opt/vestacp/backup:/backup niiknow/vestacp:latest
*** Running /etc/my_init.d/startup.sh...
[i] running for the 1st time
[i] init nginx
[i] init fail2ban
[i] running /home/admin/bin/my-startup.sh
* Starting Apache httpd web server apache2
*
* Starting MariaDB database server mysqld
...done.
* Starting PostgreSQL 9.5 database server
...done.
* Starting vesta-nginx vesta-nginx
...done.
* Starting vesta-php vesta-php
...done.
[i] running /bin/vesta-auto-ssl.sh
[i] vesta-auto-ssl exit due to empty VESTA_DOMAIN variable
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 388
Feb 13 07:06:04 19f9589e8466 syslog-ng[398]: syslog-ng starting up; version='3.5.6'
Another terminal:
root@halsbox:/tmp/vestacp# docker exec 19f9589e8466 bash -c "netstat -tulpn 1>&2 && curl -k https://localhost:8083/login/" | w3m -dump -T text/html
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 364/nginx.conf
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 37/apache2
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 380/vesta-nginx
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 364/nginx.conf
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 397/sshd
tcp6 0 0 :::5432 :::* LISTEN -
tcp6 0 0 :::3306 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN 397/sshd
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4139 0 4139 0 0 30063 0 --:--:-- --:--:-- --:--:-- 30211
Username
[ ]
Vesta Control Panel Password forgot password
[ ]
[Log in]
vestacp.com
from vestacp.
Closing ticket, open another if there are any other issue. Thanks.
from vestacp.
Related Issues (20)
- Connection closed by server with exitcode 1 HOT 1
- Vesta FileManager see bad with GoogleChrome HOT 1
- 1cpu and 733m of ram - it kills the system HOT 1
- can not install and update plugin wordpress HOT 3
- iptables module did not work
- What are the supported OS? HOT 1
- Apache2 Start Failed due to Lacks of php7.1.so HOT 2
- vesta-auto-ssl exit due to invalid/default docker hostname: 845ddjgdgjd23
- letsencrypt error for alias
- phpmyadmin is 404 (not found) HOT 1
- Error in building from docker file
- Letsencrypt connections randomly fails HOT 1
- Fail2Ban Issue
- mydomain.com:5001 to mydomain.com using custom nginx.conf HOT 4
- phpmyadmin error 404 HOT 2
- arm architecture
- [Question] How to reset Apache2 Template? HOT 10
- [Feature Request] Adding WebP Support for ImageMagick
- Support Kubernetes?
- In new design (1.0.0) functionality disappeared remote backup.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vestacp.