New Installation
Hello Everyone,
I ran a Secure-Node for the last 8 month. Now my node is down and i want to fix it. I wiped my vps and reinstalled ubuntu 16.04. I wanted to make a new and clean installation:
curl -O https://raw.githubusercontent.com/WhenLamboMoon/docker-zen-node/master/install.sh
chmod +x install.sh
./install.sh
But somehow it does not work...
Could you please help me? What is the problem?
This is what i get:
root@vmd24481:~# curl -O https://raw.githubusercontent.com/WhenLamboMoon/docker-zen-node/master/install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6713 100 6713 0 0 626 0 0:00:10 0:00:10 --:--:-- 626
root@vmd24481:~# chmod +x install.sh
root@vmd24481:~# ./install.sh XXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX secure
## Installing the ZenCash node...
#########################
fqdn: XXXXXXXX
email: XXXXXXXXXXXXXXXXXX
stakeaddr: XXXXXXXXXXXXXXXXXXXXXXXX
#########################
## Populating apt-get cache...
Hit:1 http://asi-fs-m.contabo.net/ubuntu xenial InRelease
Hit:2 http://asi-fs-m.contabo.net/ubuntu xenial-updates InRelease
Hit:3 http://asi-fs-m.contabo.net/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
## Installing packages required for setup...
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable docker
## Creating the docker mount directories...
## Removing acme container service...
rm: cannot remove '/etc/systemd/system/acme-sh.service': No such file or directory
## Disable apache2 if enabled, to free Port 80...
Failed to execute operation: No such file or directory
Failed to stop apache2.service: Unit apache2.service not loaded.
## Installing certbot...
./install.sh: line 76: add-apt-repository: command not found
Hit:1 http://asi-fs-m.contabo.net/ubuntu xenial InRelease
Hit:2 http://asi-fs-m.contabo.net/ubuntu xenial-updates InRelease
Hit:3 http://asi-fs-m.contabo.net/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package certbot
## Issusing cert for XXXXXXXXXXXXXXXXXXXX...
./install.sh: line 81: certbot: command not found
chmod: cannot access '/etc/letsencrypt/': No such file or directory
[Unit]
Description=zenupdate.service
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot -q renew --deploy-hook 'systemctl restart zen-node && systemctl restart zen-secnodetracker && docker rmi '
PrivateTmp=true
[Unit]
Description=Run zenupdate unit daily @ 06:00:00 (UTC)
[Timer]
OnCalendar=*-*-* 06:00:00
Unit=zenupdate.service
Persistent=true
[Install]
WantedBy=timers.target
Failed to stop certbot.timer: Unit certbot.timer not loaded.
Failed to execute operation: No such file or directory
Created symlink from /etc/systemd/system/timers.target.wants/zenupdate.timer to /lib/systemd/system/zenupdate.timer.
## Creating the zen configuration.
## Trying to determine public ip addresses...
## Creating the secnode config...
## Installing zend service...
## Installing secnodetracker service...
## Enabling and starting container services...
Created symlink from /etc/systemd/system/multi-user.target.wants/zen-node.service to /etc/systemd/system/zen-node.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/zen-secnodetracker.service to /etc/systemd/system/zen-secnodetracker.service.
## Enabling basic firewall services...
Default outgoing policy changed to 'allow'
(be sure to update your rules accordingly)
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Firewall is active and enabled on system startup
## Enabling fail2ban services...
Synchronizing state of fail2ban.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable fail2ban
## Waiting for node to fetch params ...
Error response from daemon: No such container: zen-node
..
Error response from daemon: No such container: zen-node
..
error: failed switching to "user": unable to find user user: no matching entries in passwd file
..
Error response from daemon: No such container: zen-node
..
error: failed switching to "user": unable to find user user: no matching entries in passwd file
..
error: failed switching to "user": unable to find user user: no matching entries in passwd file
..
Error response from daemon: No such container: zen-node
..
Error reading configuration file: Missing zen.conf
..
Error response from daemon: No such container: zen-node
..
Error response from daemon: No such container: zen-node
..
^C
Looks like certbot is not being installed, you have a missing package can you try install this first then re-run the installer?
apt-get install software-properties-common
I have the same issue and running "apt-get install software-properties-common" says: software-properties-common is already the newest version (0.96.20.7). And the result is the same. Stuck at "Error response from daemon: No such container: zen-node".
Need help please!
Please provide a log of the install process
On Sun, Sep 23, 2018, 8:51 PM JDawg287 [email protected] wrote:
I have the same issue and running "apt-get install software-properties-common" says: software-properties-common is already the newest version (0.96.20.7)
Need help please!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WhenLamboMoon/docker-zen-node/issues/112#issuecomment-423807792, or mute the thread https://github.com/notifications/unsubscribe-auth/AfowZZY387yP3nT6cCTdKGsjQjIL9tstks5ud2fLgaJpZM4WWwJ7 .
This is what it said this morning:
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version (0.96.20.7).
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6713 100 6713 0 0 5415 0 0:00:01 0:00:01 --:--:-- 5418
## Installing the ZenCash node...
#########################
fqdn: XXXXX
email: XXXXX
stakeaddr: XXXXX
#########################
## Populating apt-get cache...
Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Fetched 107 kB in 5s (20.2 kB/s)
Reading package lists...
## Installing packages required for setup...
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable docker
## Creating the docker mount directories...
## Removing acme container service...
rm: cannot remove '/etc/systemd/system/acme-sh.service': No such file or directory
## Disable apache2 if enabled, to free Port 80...
Failed to execute operation: No such file or directory
Failed to stop apache2.service: Unit apache2.service not loaded.
## Installing certbot...
gpg: keyring `/tmp/tmp9mt1rf6c/secring.gpg' created
gpg: keyring `/tmp/tmp9mt1rf6c/pubring.gpg' created
gpg: requesting key 75BCA694 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp9mt1rf6c/trustdb.gpg: trustdb created
gpg: key 75BCA694: public key "Launchpad PPA for certbot" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease
Hit:4 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Fetched 107 kB in 1s (86.5 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
certbot is already the newest version (0.26.1-1+ubuntu16.04.1+certbot+2).
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
## Issusing cert for XXXXX...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
An unexpected error occurred:
The request message was malformed :: Error creating new order :: Name does not end in a public suffix
Please see the logfiles in /var/log/letsencrypt for more details.
[Unit]
Description=zenupdate.service
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot -q renew --deploy-hook 'systemctl restart zen-node && systemctl restart zen-secnodetracker && docker rmi '
PrivateTmp=true
[Unit]
Description=Run zenupdate unit daily @ 06:00:00 (UTC)
[Timer]
OnCalendar=*-*-* 06:00:00
Unit=zenupdate.service
Persistent=true
[Install]
WantedBy=timers.target
## Creating the zen configuration.
## Trying to determine public ip addresses...
## Creating the secnode config...
## Installing zend service...
## Installing secnodetracker service...
## Enabling and starting container services...
## Enabling basic firewall services...
Default outgoing policy changed to 'allow'
(be sure to update your rules accordingly)
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
Rule updated
Rule updated (v6)
Rule updated
Rule updated (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Firewall is active and enabled on system startup
## Enabling fail2ban services...
Synchronizing state of fail2ban.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable fail2ban
## Waiting for node to fetch params ...
Error response from daemon: No such container: zen-node
..
Error response from daemon: No such container: zen-node
..
the input device is not a TTY
..
the input device is not a TTY
..
the input device is not a TTY
..
the input device is not a TTY
..
Error response from daemon: No such container: zen-node
..
Error response from daemon: No such container: zen-node
..
Error response from daemon: No such container: zen-node
..
Hopefully there is a way to solve this. Thanks.
It looks like your fqdn is incorrect and or not resolving to your server
On Mon, Sep 24, 2018, 4:58 PM JDawg287 [email protected] wrote:
This is what it said this morning:
Reading package lists... Building dependency tree... Reading state information... software-properties-common is already the newest version (0.96.20.7). 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6713 100 6713 0 0 5415 0 0:00:01 0:00:01 --:--:-- 5418
Installing the ZenCash node...
######################### fqdn: XXXXX email: XXXXX stakeaddr: XXXXX #########################
Populating apt-get cache...
Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Hit:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease Fetched 107 kB in 5s (20.2 kB/s) Reading package lists...
Installing packages required for setup...
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable docker
Creating the docker mount directories...
Removing acme container service...
rm: cannot remove '/etc/systemd/system/acme-sh.service': No such file or directory
Disable apache2 if enabled, to free Port 80...
Failed to execute operation: No such file or directory Failed to stop apache2.service: Unit apache2.service not loaded.
Installing certbot...
gpg: keyring
/tmp/tmp9mt1rf6c/secring.gpg' created gpg: keyring/tmp/tmp9mt1rf6c/pubring.gpg' created gpg: requesting key 75BCA694 from hkp server keyserver.ubuntu.com gpg: /tmp/tmp9mt1rf6c/trustdb.gpg: trustdb created gpg: key 75BCA694: public key "Launchpad PPA for certbot" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease Hit:4 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Fetched 107 kB in 1s (86.5 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... certbot is already the newest version (0.26.1-1+ubuntu16.04.1+certbot+2). 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.Issusing cert for XXXXX...
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator standalone, Installer None Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org Obtaining a new certificate An unexpected error occurred: The request message was malformed :: Error creating new order :: Name does not end in a public suffix Please see the logfiles in /var/log/letsencrypt for more details. [Unit] Description=zenupdate.service
[Service] Type=oneshot ExecStart=/usr/bin/certbot -q renew --deploy-hook 'systemctl restart zen-node && systemctl restart zen-secnodetracker && docker rmi ' PrivateTmp=true [Unit] Description=Run zenupdate unit daily @ 06:00:00 (UTC)
[Timer] OnCalendar=--* 06:00:00 Unit=zenupdate.service Persistent=true
[Install] WantedBy=timers.target
Creating the zen configuration.
Trying to determine public ip addresses...
Creating the secnode config...
Installing zend service...
Installing secnodetracker service...
Enabling and starting container services...
Enabling basic firewall services...
Default outgoing policy changed to 'allow' (be sure to update your rules accordingly) Default incoming policy changed to 'deny' (be sure to update your rules accordingly) Rule updated Rule updated (v6) Rule updated Rule updated (v6) Skipping adding existing rule Skipping adding existing rule (v6) Skipping adding existing rule Skipping adding existing rule (v6) Skipping adding existing rule Skipping adding existing rule (v6) Firewall is active and enabled on system startup
Enabling fail2ban services...
Synchronizing state of fail2ban.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable fail2ban
Waiting for node to fetch params ...
Error response from daemon: No such container: zen-node .. Error response from daemon: No such container: zen-node .. the input device is not a TTY .. the input device is not a TTY .. the input device is not a TTY .. the input device is not a TTY .. Error response from daemon: No such container: zen-node .. Error response from daemon: No such container: zen-node .. Error response from daemon: No such container: zen-node ..
Hopefully there is a way to solve this. Thanks.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WhenLamboMoon/docker-zen-node/issues/112#issuecomment-423889751, or mute the thread https://github.com/notifications/unsubscribe-auth/AfowZeNp7mwwy8ElZIZXsguZgjk6Q0T_ks5ueIKmgaJpZM4WWwJ7 .