whenlambomoon / docker-zen-node Goto Github PK
View Code? Open in Web Editor NEWZenCash Secure Node Installer
ZenCash Secure Node Installer
docker exec zen-node gosu user zen-cli z_listaddresses [
"zcKhF3oX2TXiJABNXG8xmYzAQFLajNC1ZcarNVwNR1X4WvG6rE9djEnHYVTN7BfF7Nqo8jAG5z4HS22iByfLWZjW1W3TGTY",
"zcNn9YJJk7178rcvTGBbMWXS6RvhKMmLBixGkN7kEHsaySA4EHCZ2b7Ff5r8dFtv4j6JUsp89GGFrXxjnV4ZWAWPuU2mfy9",
"zcaVUGGatRkdZdfiyhG3opGx1WY3fnCKjEfHVfFnwiMpNzWTQNjrJsZ5yf67Fcvy1pAGcZWZ4hvDHXKw3QE3RBuGa4gPDbz"
The shielded addresses are formatted wrong?
Can I simply install once then install using a different address. meaning to nodes simultaneously
I am seeing successful challenges, however the challenge results are not being written back into the files at /mnt/zen/secnode/ . The folder permissions are drwxrwxr-x . Any ideas? Thank you!
2017-12-16 14:33:59 GMT -- Elapsed challenge time=210 status=executing
2017-12-16 14:34:07 GMT -- Challenge submit: success
2017-12-16 14:34:07 GMT -- Challenge result:success seconds:216.173611835
challenge error
{ Error: EACCES: permission denied, open '/mnt/zen/secnode/lastExecSec.4012028749'
at Object.fs.openSync (fs.js:646:18)
at writeFileSync (/home/node/secnodetracker/node_modules/write-file-atomic/index.js:114:17)
at LocalStorage.setItem (/home/node/secnodetracker/node_modules/node-localstorage/LocalStorage.js:177:7)
at self.zenrpc.z_getoperationstatus.then.operation (/home/node/secnodetracker/SecNodeTracker.js:246:17)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/mnt/zen/secnode/lastExecSec.4012028749' }
2017-12-16 14:36:00 GMT -- Stat check: connected to:ts1.na blocks:223196 peers:12 bal:1.2492 isValidBal:true queueDepth:0 lastChalBlock:222070 lastExecSec:248.44
For some reason, the Docker user does not have permissions to write a file.
I have been having the same connection and oeers issues as several others, and it appears to be an SSL issue. Is that what you were referring to when you indicated they will be patching soon?
It was this issue: HorizenOfficial/zen#94
Thanks!
Im getting this error: Error response from daemon: No such container: acme-ch
Any ideas?
Thanks
hi, how to update my nodes to 0.2.1? thx
I ran out of disk space and zen-node exited. I added some more but can't restart zen-node.
2017-12-10 21:22:46 Corruption: checksum mismatch
2017-12-10 21:22:46 : Error opening block database.
Please restart with -reindex to recover.
2017-12-10 21:22:46 Aborted block database rebuild. Exiting.
2017-12-10 21:22:46 scheduler thread interrupt
2017-12-10 21:22:46 Shutdown: In progress...
2017-12-10 21:22:46 StopRPC: waiting for async rpc workers to stop
2017-12-10 21:22:46 StopNode()
2017-12-10 21:22:46 Shutdown: done
What's the best way to pass that -reindex argument?
Thank you!
brand new unbuntu intstall. everything runs great on install. after some time securenode tracker isn't turned on anymore. and reboot doesn't bring it back.
overall cert is true, 42 zen in address, 1 zen private zen on node.
please fix, and add steps to troubleshoot secure node tracker in Readme. thanks!
-P
Hi, I tried the script on my server without success. Now the docker keeps running/restarting and I can't get rid of it.
neilpang/acme.sh "/entry.sh daemon"
Thanks
I've upgraded to 0.2.0 but when I run a challenge it fails with error: Previous challenge still running. 812996.
I've restarted the tracker but still getting this. What else can I do to stop the previous challenge?
Thx
Just wondering if you could help me change my staking adress. Thanks
Not sure how to message you besides making an issue.
Couple questions.
Are you having challenge fails? Which VPS are you using? 1core/2gb of ram + swap?
Would increase the amount of swap from 4g to 6gm help reduce challenge times?
let us know when you guys are ready for launch. :) once we have a final code i can go production with let me know. i'll tip you guys to. :) -P
hi i just pinged you on slack. hoping we can work this a bit. :) see error there
I apologize if this is the wrong way to ask a question.
I utilized your docker-zen-node installer, with great success. Thank you for creating such a helpful resource. The only question I have is: when ZenCashOfficial publishes updates to their code, how do I then pull and integrate those updates into my docker-zen-node installation?
Thank you!
I've modified the following command:
/usr/bin/docker run --rm --net=host -p 19033:19033 -p 9033:9033 -p 18231:18231 -v /mnt/zen:/mnt/zen --name zen-node whenlambomoon/zend:latest
to include the testnet port of 19033
.
I'm getting an error:
GEtting a cert error in compliance exceptions Cert Valid: false No peers found yet with connections to this node.
I see that ufw allow 19033/tcp
is included in the install. Any ideas why port 19033 might be blocked?
Hi,
My node is registered and its up and running but when a challenge is sent it is getting failed with below exception,
Out from Command: docker logs zen-secnodetracker
2017-12-28 02:08:48 GMT -- Start challenge. 399683
Using zcXAbBXGBCoBUL4qL779RWSRi1qbmCPhanqGgniBUY3JNcti9TELzKMzxWBNFmp3mcC8HaLzdDBuK1kq3izCRtKWCCZFFGC for challenge. bal=1.0456
OperationId=opid-a97e77f8-22c6-44d3-b457-745ff3d4551d
2017-12-28 02:08:58 GMT -- Elapsed challenge time=10 status=executing
2017-12-28 02:09:08 GMT -- Elapsed challenge time=20 status=executing
2017-12-28 02:09:18 GMT -- Elapsed challenge time=30 status=executing
2017-12-28 02:09:28 GMT -- Elapsed challenge time=40 status=executing
2017-12-28 02:09:38 GMT -- Elapsed challenge time=50 status=executing
2017-12-28 02:09:48 GMT -- Elapsed challenge time=60 status=executing
2017-12-28 02:09:58 GMT -- Elapsed challenge time=70 status=executing
2017-12-28 02:10:08 GMT -- Elapsed challenge time=80 status=executing
2017-12-28 02:10:18 GMT -- Elapsed challenge time=90 status=executing
2017-12-28 02:10:28 GMT -- Elapsed challenge time=100 status=executing
2017-12-28 02:10:38 GMT -- Elapsed challenge time=110 status=executing
2017-12-28 02:10:48 GMT -- Elapsed challenge time=120 status=executing
2017-12-28 02:10:58 GMT -- Elapsed challenge time=130 status=executing
2017-12-28 02:11:08 GMT -- Elapsed challenge time=140 status=executing
2017-12-28 02:11:18 GMT -- Elapsed challenge time=150 status=executing
2017-12-28 02:11:26 GMT -- Stat check: connected to:ts1.na blocks:229763 peers:9 bal:1.0456 isValidBal:true queueDepth:0 lastChalBlock:null lastExecSec:null
2017-12-28 02:11:28 GMT -- Elapsed challenge time=160 status=executing
2017-12-28 02:11:38 GMT -- Elapsed challenge time=170 status=executing
2017-12-28 02:11:48 GMT -- Elapsed challenge time=180 status=executing
2017-12-28 02:13:17 GMT -- Elapsed challenge time=270 status=executing
2017-12-28 02:13:27 GMT -- Elapsed challenge time=280 status=executing
2017-12-28 02:13:37 GMT -- Elapsed challenge time=290 status=executing
2017-12-28 02:13:47 GMT -- Elapsed challenge time=300 status=executing
2017-12-28 02:13:57 GMT -- Elapsed challenge time=310 status=executing
2017-12-28 02:14:07 GMT -- Elapsed challenge time=320 status=executing
2017-12-28 02:14:17 GMT -- Elapsed challenge time=330 status=executing
2017-12-28 02:14:27 GMT -- Elapsed challenge time=340 status=executing
2017-12-28 02:14:37 GMT -- Elapsed challenge time=350 status=executing
2017-12-28 02:14:47 GMT -- Elapsed challenge time=360 status=executing
2017-12-28 02:14:57 GMT -- Elapsed challenge time=370 status=executing
2017-12-28 02:15:07 GMT -- Elapsed challenge time=380 status=executing
2017-12-28 02:15:17 GMT -- Elapsed challenge time=390 status=executing
2017-12-28 02:15:28 GMT -- Elapsed challenge time=400 status=executing
2017-12-28 02:15:37 GMT -- Elapsed challenge time=410 status=executing
2017-12-28 02:15:48 GMT -- Elapsed challenge time=420 status=executing
2017-12-28 02:15:58 GMT -- Elapsed challenge time=430 status=executing
2017-12-28 02:16:18 GMT -- Elapsed challenge time=450 status=executing
2017-12-28 02:16:28 GMT -- Elapsed challenge time=460 status=executing
2017-12-28 02:16:38 GMT -- Elapsed challenge time=470 status=executing
2017-12-28 02:16:48 GMT -- Elapsed challenge time=480 status=executing
2017-12-28 02:16:58 GMT -- Elapsed challenge time=490 status=executing
2017-12-28 02:17:08 GMT -- Elapsed challenge time=500 status=executing
2017-12-28 02:17:18 GMT -- Elapsed challenge time=510 status=executing
2017-12-28 02:17:26 GMT -- Stat check: connected to:ts1.na blocks:229768 peers:9 bal:1.0456 isValidBal:true queueDepth:0 lastChalBlock:null lastExecSec:null
2017-12-28 02:17:28 GMT -- Elapsed challenge time=520 status=executing
2017-12-28 02:17:38 GMT -- Elapsed challenge time=530 status=executing
2017-12-28 02:17:48 GMT -- Elapsed challenge time=540 status=executing
2017-12-28 02:17:56 GMT -- Challenge submit: success
2017-12-28 02:17:56 GMT -- Challenge result:success seconds:547.899871215
challenge error
{ Error: EACCES: permission denied, open '/home/node/secnodetracker/config/lastExecSec.3101612050'
at Object.fs.openSync (fs.js:646:18)
at writeFileSync (/home/node/secnodetracker/node_modules/write-file-atomic/index.js:114:17)
at LocalStorage.setItem (/home/node/secnodetracker/node_modules/node-localstorage/LocalStorage.js:177:7)
at self.zenrpc.z_getoperationstatus.then.operation (/home/node/secnodetracker/SecNodeTracker.js:246:17)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/home/node/secnodetracker/config/lastExecSec.3101612050' }
Is there a way to change the stake address originally set on the node after sending the ZenCash to the provided shielded address without having to reset the entire process?
I've installed the secure node. I sent 1 ZEN in 4 transactions of 0.25. Those have all been successful. When I run the command
docker exec zen-node gosu user zen-cli z_gettotalbalance
I see the following:
{ "transparent": "0.00", "private": "0.00", "total": "0.00" }
I've waited about 10 min. Does it take more time for the 1 ZEN balance to show on my node?
thanks
I would suggest to install docker from the official repo
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository
hi,
how to update to latest version after using your script ?
as version of zend you are using have problems with keeping connections.
Hi There,
The first server I set up doesn't pass the challenge consistently so I need to set up a new server on a new VPS. How do I transfer the wallet or how do I transfer the ZEN to the new z address? Thank you.
Hi,
When a challenge is submitted, it shown as FAIL status in the node tracker but when checked in the log , it says success. Can you please help resolve the issue. Please refer the attachment for more details.
Logs from Zen node tracker :
root@localhost:~# docker logs zen-secnodetracker
Secure node config found OK - linking...
CPU Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz cores=1 speed=2299
Tracker app version: 0.1.0
MemTotal: 0.98GB MemFree: 0.08GB MemAvailable: 0.34GB SwapTotal: 4.35GB SwapFree: 1.64GB
2018-01-06 01:07:11 GMT -- Connected to server ts1.na. Initializing...
Secure Node t_address (not for stake)=znYbCHMciigJvGobHbpKP245q4PzSp1rwVb
Balance for challenge transactions is 1.0348
Using the following address for challenges
zcXAbBXGBCoBUL4qL779RWSRi1qbmCPhanqGgniBUY3JNcti9TELzKMzxWBNFmp3mcC8HaLzdDBuK1kq3izCRtKWCCZFFGC
2018-01-06 01:07:13 GMT -- Authenticated
2018-01-06 01:07:13 GMT -- Stats: send initial stats.
2018-01-06 01:07:13 GMT -- Cert check: valid=true. Hostname zencashnode.zencashnode.club matches CN zencashnode.zencashnode.club
2018-01-06 01:08:55 GMT -- Start challenge. 576350
Using zcXAbBXGBCoBUL4qL779RWSRi1qbmCPhanqGgniBUY3JNcti9TELzKMzxWBNFmp3mcC8HaLzdDBuK1kq3izCRtKWCCZFFGC for challenge. bal=1.0348
OperationId=opid-5efd2f1e-cd10-4bb5-8c73-3af05f8bc3ff
2018-01-06 01:10:44 GMT -- Elapsed challenge time=110 status=executing
2018-01-06 01:10:55 GMT -- Elapsed challenge time=120 status=executing
2018-01-06 01:11:05 GMT -- Elapsed challenge time=130 status=executing
2018-01-06 01:11:15 GMT -- Elapsed challenge time=140 status=executing
2018-01-06 01:13:12 GMT -- Stat check: connected to:ts1.na blocks:234825 peers:8 bal:1.0348 isValidBal:true queueDepth:0 lastChalBlock:234809 lastExecSec:322.12
2018-01-06 01:14:24 GMT -- Challenge submit: success
2018-01-06 01:14:24 GMT -- Challenge result:success seconds:327.897751577
2018-01-06 01:14:26 GMT -- Clearing timer
2018-01-06 01:19:11 GMT -- Stat check: connected to:ts1.na blocks:234830 peers:8 bal:1.0346 isValidBal:false queueDepth:0 lastChalBlock:234826 lastExecSec:327.90
2018-01-06 01:25:11 GMT -- Stat check: connected to:ts1.na blocks:234833 peers:8 bal:1.0346 isValidBal:true queueDepth:0 lastChalBlock:234826 lastExecSec:327.90
Zennode tracker showing the result as FAIL :
Screenshot :
-- Logs from zen-node
Starting with UID/GID : 9001/9001
Symlinking external zcash-params volume...
Using external data volume
Copying additional trusted SSL certificates
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
149 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Zcash - fetch-params.sh
Zen uses the same zkSNARK parameters generated by ZCash.
This script will fetch the Zcash zkSNARK parameters and verify their
integrity with sha256sum.
If they already exist locally, it will exit now and do nothing else.
Starting zend ..
It looks like they may have updated the official GitHub now with the patches, are you going to push an update, or is it unnecessary?
Thank you for everything with this, I will keep sending Zen your way :)
The new zen v2.0.10-1 is now available, the patch fixes the TLS disconnect issue many of you have been facing.
See more https://github.com/ZencashOfficial/zen/releases
To upgrade simply restart your zen-node
systemctl restart zen-node
I'm not sure if challenges are being sent to mainnet nodes, and I wanted to set this up on the testnet at first (if possible).
Hi,
I am newbie in server stuff, but I got 48GB RAM dedicated server with multiple IPv6. From my understanding it would be possible to run multiple zencash secure nodes on this machine and this script could help. It would be possible to write what I need to do (no need to be super specific, just install this and this...) in order to run multiple secure nodes on one dedicated server?
Thank you.
Hey,
looks like I have an issue with my certificate, for me it feels it randomly is valid/invalid for each check it performs. Do you have any known issues regarding this? I couldn't find any here in github.
Also strange that every "downtime" of the certificate is around 20 minutes.
The node is fully synced and the VPS is available all the time and all containers are up and running:
Best
Hope all is well. I need to change my region because I am set up on SEA and apparentlly its gone. Now what do I do?
Thanks!
Does the stake address balance show up when you check the private/public address? Also does the balance only show whole numbers? I have 0.25 zen in the shield address that isn't showing up. Also, the total is still showing 0 even though I have 42 zen in my stake address.
docker exec zen-node gosu user zen-cli z_gettotalbalance
{
"transparent": "0.00",
"private": "0.00",
"total": "0.00"
Starting with UID/GID : 9001/9001
Symlinking external zcash-params volume...
Using external data volume
Copying additional trusted SSL certificates
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
149 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
/usr/bin/zen-fetch-params: line 27: sw_vers: command not found
--2017-12-31 20:41:54-- https://zensystem.io/downloads/sprout-proving.key
Resolving zensystem.io (zensystem.io)... 2400:cb00:2048:1::681b:250, 2400:cb00:2048:1::681b:350, 104.27.3.80, ...
Connecting to zensystem.io (zensystem.io)|2400:cb00:2048:1::681b:250|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://f001.backblazeb2.com/file/TrustedSetup/sprout-proving.key [following]
--2017-12-31 20:41:54-- https://f001.backblazeb2.com/file/TrustedSetup/sprout-proving.key
done.
Zcash - fetch-params.sh
Zen uses the same zkSNARK parameters generated by ZCash.
This script will fetch the Zcash zkSNARK parameters and verify their
integrity with sha256sum.
If they already exist locally, it will exit now and do nothing else.
Retrieving: https://zensystem.io/downloads/sprout-proving.key
Resolving f001.backblazeb2.com (f001.backblazeb2.com)... 162.244.62.199
Connecting to f001.backblazeb2.com (f001.backblazeb2.com)|162.244.62.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 910173851 (868M) [text/plain]
Saving to: '/home/user/.zcash-params/sprout-proving.key.dl'
0K ........ ........ ........ ........ 3% 59.4M 14s
32768K ........ ........ ........ ........ 7% 24.4M 23s
65536K ........ ........ ........ ........ 11% 66.2M 19s
98304K ........ ........ ........ ........ 14% 65.4M 16s
131072K ........ ........ ........ ........ 18% 69.8M 15s
163840K ........ ........ ........ ........ 22% 49.9M 14s
196608K ........ ........ ........ ........ 25% 69.3M 13s
229376K ........ ........ ........ ........ 29% 27.8M 13s
262144K ........ ........ ........ ........ 33% 59.8M 12s
294912K ........ ........ ........ ........ 36% 45.9M 12s
327680K ........ ........ ........ ........ 40% 26.8M 12s
360448K ........ ........ ........ ........ 44% 21.0M 12s
393216K ........ ........ ........ ........ 47% 47.7M 11s
425984K ........ ........ ........ ........ 51% 38.7M 10s
458752K ........ ........ ........ ........ 55% 50.5M 9s
491520K ........ ........ ........ ........ 58% 19.5M 9s
524288K ........ ........ ........ ........ 62% 37.1M 8s
557056K ........ ........ ........ ........ 66% 34.5M 8s
589824K ........ ........ ........ ........ 70% 39.9M 7s
622592K ........ ........ ........ ........ 73% 60.4M 6s
655360K ........ ........ ........ ........ 77% 35.1M 5s
688128K ........ ........ ........ ........ 81% 40.7M 4s
720896K ........ ........ ........ ........ 84% 68.3M 3s
753664K ........ ........ ........ ........ 88% 74.0M 2s
786432K ........ ........ ........ ........ 92% 50.5M 2s
819200K ........ ........ ........ ........ 95% 62.2M 1s
851968K ........ ........ ........ ........ 99% 38.6M 0s
884736K .... 100% 13.7M=21s
2017-12-31 20:42:15 (40.9 MB/s) - '/home/user/.zcash-params/sprout-proving.key.dl' saved [910173851/910173851]
/usr/bin/zen-fetch-params: line 27: sw_vers: command not found
--2017-12-31 20:42:28-- https://zensystem.io/downloads/sprout-verifying.key
Resolving zensystem.io (zensystem.io)... 2400:cb00:2048:1::681b:250, 2400:cb00:2048:1::681b:350, 104.27.3.80, ...
Connecting to zensystem.io (zensystem.io)|2400:cb00:2048:1::681b:250|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://f001.backblazeb2.com/file/TrustedSetup/sprout-verifying.key [following]
--2017-12-31 20:42:28-- https://f001.backblazeb2.com/file/TrustedSetup/sprout-verifying.key
Resolving f001.backblazeb2.com (f001.backblazeb2.com)... 162.244.62.199
Connecting to f001.backblazeb2.com (f001.backblazeb2.com)|162.244.62.199|:443... connected.
/home/user/.zcash-params/sprout-proving.key.dl: OK
'/home/user/.zcash-params/sprout-proving.key.dl' -> '/home/user/.zcash-params/sprout-proving.key'
Retrieving: https://zensystem.io/downloads/sprout-verifying.key
/home/user/.zcash-params/sprout-verifying.key.dl: OK
'/home/user/.zcash-params/sprout-verifying.key.dl' -> '/home/user/.zcash-params/sprout-verifying.key'
Starting zend ..
HTTP request sent, awaiting response... 200 OK
Length: 1449 (1.4K) [text/plain]
Saving to: '/home/user/.zcash-params/sprout-verifying.key.dl'
0K 100% 257M=0s
2017-12-31 20:42:28 (257 MB/s) - '/home/user/.zcash-params/sprout-verifying.key.dl' saved [1449/1449]
Not the most advanced user, you've been helping me on reddit. I've fixed my IP issue and now have a domain. I run the script and the errors I see are:
Error response from daemon: No such container: acme-sh
..
and
[Thu Dec 21 23:28:09 UTC 2017] Standalone mode.
[Thu Dec 21 23:28:09 UTC 2017] Creating domain key
[Thu Dec 21 23:28:09 UTC 2017] The domain key is here: /acme.sh/zensecurebc.host/zensecurebc.host.key
[Thu Dec 21 23:28:09 UTC 2017] Single domain='zensecurebc.host'
[Thu Dec 21 23:28:09 UTC 2017] Getting domain auth token for each domain
[Thu Dec 21 23:28:09 UTC 2017] Getting webroot for domain='zensecurebc.host'
[Thu Dec 21 23:28:09 UTC 2017] Getting new-authz for domain='zensecurebc.host'
[Thu Dec 21 23:28:10 UTC 2017] The new-authz request is ok.
[Thu Dec 21 23:28:11 UTC 2017] Verifying:zensecurebc.host
[Thu Dec 21 23:28:11 UTC 2017] Standalone mode server
[Thu Dec 21 23:28:14 UTC 2017] zensecurebc.host:Verify error:Fetching http://www.zensecurebc.host/.well-known/acme-challenge/0Muvkvap33ObzlbAyHFc3TnUBVw0TrOLthZRimnCzSM: Error getting validation data
[Thu Dec 21 23:28:14 UTC 2017] Please add '--debug' or '--log' to check more details.
[Thu Dec 21 23:28:14 UTC 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
Any ideas?
Great script, working perfect. I'm just curious if/when we shutdown the node for good how to we pull the 1ZEN challenge balance out? dumpprivkeys did not work as expected!
Thank you
Does the ansible installer require that the servers be privately networked together first? That is, if I am creating multiple VPS instances, do they need to be in the same server location, or can they be geographically dispersed? Thank you.
On https://securenodes.na.zensystem.io/ I can see my node now but it shows:
Chal. Run = 0.00
CA Cert. =
Peers =
Tz Queue =
Is this normal?
thanks
Tracking issue for docs improvement and troubleshooting guides
I noticed when running getinfo that "testnet" is set to true.
How can I switch to mainnet? Will this affect the 1 zen I already sent to the provided shield address?
Hey I saw that 0.2.0 of the tracker came out. I logged onto one of my VPS and did a systemctl restart zen-secnodetracker then checked the logs but the tracker is still running on 0.1.0. Is this normal? I figured the docker image would just pull down the latest repo if the dev team updates.
Im getting a Compliance Exceptions : CERT? My node says cert valide: true. But I'm getting that compliance exception. Is this normal? Thanks
Having some trouble getting your docker to run. During the install, I got these messages, which I am not sure how to resolve.
Error response from daemon: No such container: acme-sh
Error response from daemon: No such container: zen-node
UPDATE: Nevermind, looking at the code again, i see you wait until the docker comes back up and that is why those messages show up.
I get it to the install finished but how do I debug the state of the secureNodeTracker software? Node doesn't seem to be installed. Everything looks like it should work, but doesn't display on the zen node tracking page.
Also, in the entrypoint.sh, i noticed this line: gosu node node app.js
Should it be: gosu user node app.js
instead?
when i run zend inside the docker image, i get this message:
仕方が無い
Shikata ga nai.
它不能得到帮助
Since starting this node 0 seconds ago:
Messages:
Error: Cannot find the Zcash network parameters in the following directory:
"/root/.zcash-params"
Please run 'zen-fetch-params' or './zcutil/fetch-params.sh' and then restart.
Init message: Loading block index...
Hello,
first of all Thank you so much for the Work you put in the code here. Worked like a charm so far. I set everything up, but at the final steps I encountered a Problem. All my attemps to fix the problem failed so far. Maybe you could help me setting up the secure node.
Balance for Shield-Adress is 1 ZEN. The Stakeadress has more than 42 ZEN in it.
Just had an idea: I don't know if I put a transparent adress or a private adress in as an Stakeadress for the installation - Could that be the Problem?
How can I get the 1 ZEN from the Shield-Adress back in my wallet?
The following is showing:
root@vmdXXXXX:~# docker logs zen-secnodetracker
Output:
Secure node config found OK - linking...
CPU Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz cores=2 speed=2099
Tracker app version: 0.1.0
MemTotal: 5.97GB MemFree: 2.58GB MemAvailable: 4.81GB SwapTotal: 0.00GB SwapFree: 0.00GB
2017-12-31 02:59:52 GMT -- Connected to server ts1.eu. Initializing...
Secure Node t_address (not for stake)=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Unhandled rejection Error: ESOCKETTIMEDOUT
at ClientRequest. (/home/node/secnodetracker/node_modules/request/request.js:813:19)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:106:13)
at ClientRequest.emit (events.js:208:7)
at Socket.emitTimeout (_http_client.js:708:34)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:106:13)
at Socket.emit (events.js:208:7)
at Socket._onTimeout (net.js:407:8)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)
2017-12-31 03:05:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:11:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:17:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:23:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:29:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:35:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:41:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:47:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:53:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 03:59:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 04:05:52 GMT -- Unable to collect stats without a nodeid.
2017-12-31 04:11:52 GMT -- Unable to collect stats without a nodeid.
and some more lines with the time....
AND
root@vmd24481:~# docker logs zen-node
Output:
Starting with UID/GID : 9001/9001
Symlinking external zcash-params volume...
Using external data volume
Copying additional trusted SSL certificates
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
149 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Zcash - fetch-params.sh
Zen uses the same zkSNARK parameters generated by ZCash.
This script will fetch the Zcash zkSNARK parameters and verify their
integrity with sha256sum.
If they already exist locally, it will exit now and do nothing else.
Starting zend ..
Do you know what the Problem is?
Thanks so much
How do I get a transparent address to send 42 zen when installing? Can I use the address from the Zencash wallet android app? I've tried installing Swing on my linux machine but it does not work.
here is the error i get, when running the script:
Synchronizing state of fail2ban.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable fail2ban
Error response from daemon: No such container: zen-node
^^^ and this happens over and over
What is the command to dump my private keys? and how can I view them on cli. thanks in advance
Please subscribe to this issue to receive email alerts when new versions are released, I will do my best to keep the containers inline with the official zencash releases.
As always to upgrade you need to simply restart the corresponding service:
zen-node:
systemctl restart zen-node
zen-secnodetracker:
systemctl restart zen-secnodetracker
I have been successful in running the script on just a simple domain: mydomain.com
.
But let's say I want to run zen1.mydomain.com
and zen2.mydomain.com
etc. How would I go about this? Do I just SSH into the VPS machine, and run the script multiple times with a different FQDN passed in? Or do I have to modify the script somehow? Will the script take care of provisioning all the subdomain certificates for me?
Is there any guide for transferring my current linode vps to another vps. My linode is having issues completing the challenges fast enough so I'm looking to transfer to OVH vps.
I'm trying to figure out how to run this script. Do I need to install Ubuntu to my desktop or can I do it all through digital ocean and puTTY?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.