-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMPORTANT UPGRADE NOTICE #82
Comments
see my discord PM's to you. most notable last remark |
I used the second method and the tracker log was outputting this error: 2018-07-17 16:42:53 UTC -- connect ENETUNREACH 127.0.0.0:80 - Local (0.0.0.0:0) Fix was to stop zend, edit zen.conf and change Not really sure how this error is related to the tracker but it happened right after I restarted it so if anyone else encounters it, there's the solution. |
I used your new install script and I saw it created config.json but in the logs I am getting this error: Jul 17 18:48:34 mn1 systemd[1]: Started Zen Secnodetracker Container. |
@333miiko i added some more information with regard to Challenges when your back online. it's cause they moved the Nodetracker (of course), so challenges are not running. |
i commented on Discord i should of said. :) |
I noticed that a directory called "local" was created in /mnt/zen/secnode. Is that correct? Tried many different things but all still come back to the error listed about about config.piv. Not sure how to get around it. |
@slayorktc you should have a file called config.json in that folder. Did that not get created? |
Yes. There is config.json in that folder. |
@phobos777 regarding challenges you can use these steps to try restart the challenge process:
Now use this bash file to manually trigger a new challenge:
|
@slayorktc could you post the content of config.json (redact your email, hostname and stakeaddr) |
{ Replaced those two with x |
Did you use the new parameter at the end of the installer to define it as a secure node? |
new parameter? I don't think the install.sh asked for that |
The error seems to be because it can't read the config of what ip format you are using. Did you try restart the service in case you didn't get the most latest image? |
Yup, systemctl restart both zen-node and zen-secnodetracker. Multiple reboots. Nothing seemed to fix it.. |
The local directory is generated by Could you try in the host server clear all the files in Then try run:
Now restart the zen-secnodetracker, obviously replace x with the appropriate variables. |
I got this error: Jul 18 03:20:30 mn1 docker[11549]: No secure node config found. exiting |
root@mn1:/mnt/zen/secnode# pwd |
Outside the container. Ran it sitting inside /mnt/zen/secnode |
|
cd /home/node/nodetracker -- Didn't exist but did you mean 'secnodetracker'? Also no config file in that dir |
Configuration for super node saved. Setup complete! |
Yep sorry /home/node/secnodetracker there would be a config folder in there now Now the last issue is you need to exit out and modify /mnt/zen/config/zen.conf and change the line that starts with rpcallowip to be |
Okay. Getting closer. I know have this error: Jul 18 04:16:02 mn1 docker[19097]: External IP address (externalip=) not found in zen.conf. At least one (IPv4 or IP |
I added externalip=VPS IP Running the zen-secnodetracker is still producing the same ipv === error. Inside the container, running node setup.js, then node app.js, now produces this message: 018-07-18 02:24:09 UTC -- connect ECONNREFUSED 127.0.0.1:18231 |
Well, I think i finally got it up and running.. I think I needed to change these 3 lines: { After the other changes I stated above about externalip and port to zen.conf. Seems to be working now. Thanks for the all the help! Ill toss some zen your way! |
Glad you got it working! I don't think externalip is required, that may have just been due to the earlier rpc issues. Let me know if you have any other issues. |
@333miiko on reboot of a secure or supernode; the securenode tracker is now requiring one 'externalip' for secure and two external ip (ipv4 and ipv6 for supers). here is an output of the secnode tracker. (i also go a new email this morning from the zen dev team) root@localhost:~# docker logs -f zen-secnodetracker |
**and add port while your there please: LOL: root@localhost: |
Agreed. externalip= How do I deal with having ipv6 and ipv4? Do I need to have two certs? Not exactly sure how to get that working correctly.. |
It's not yet finished building, wait for it here https://hub.docker.com/r/whenlambomoon/zend/builds/ |
Phew.. Was just going to say it didn't work still.. Still a chance.. If this doesn't fix it, I have no clue... |
Build "ERROR" |
@slayorktc build finished |
Weird. I now have this error: I wasn't having that one for awhile.. strange. |
Is your zend container running? |
Oh. This is why: /usr/local/bin/entrypoint.sh: line 82: syntax error: unexpected end of file |
Are you missing an fi on line 59? |
Actually 62-69 not sure which if goes with which fi.. Somewhere in there I think there is a mismatch |
Well, I don't know.. Still getting the cert false error.. Did you get it working 33miiko on your vps? I really have no clue what is causing the issue now.. |
Can you paste me the log output of your zen-node and zen-secnodetracker |
04:42:30 zen docker[1618]: STARTING NODETRACKER |
Is there any chance your cert may have already expired? Could you try restart the acme.sh container then restart the node containers to see if it fixes the problem? Not seeing this happen |
I have regenerated the cert multiple times. Your nodes aren't having any cert issues? |
Well, I just deleted everything and ran the install script again from scratch and the cert worked.. No clue what got messed up with the old setup.. Thanks for the help. |
I didn't have any cert issues. @phobos777 is your certs ok? |
Phew. After some crazy commands and a couple scripts I got everything back up and running. Just a FYI.. I didn't know this but I had like 10gigs worth of old images just laying around.. You can remove untagged images by running: docker images --no-trunc | grep '' | awk '{ print $3 }' |
Yes each time you update the old image won't be removed. As mentioned earlier I'll look into implementing certbot and also include the auto update and image clearing when I'm back. |
Hello, So I supposed it comes from this problem. I tried to manually update the config, it created the config.json but the node is still down. I have this: I tried to change the home to ts3.na and the region to na as that apparently where it supposed to be https://securenodes4.eu.zensystem.io/nodes/9007/detail but normally the OVH server is in france... I tried with region eu and hone ts1.eu but it was the same. thx |
Did you restart the node after you updated the config? |
yeah :D I'm really bad at linux but i know to always try to reboot ^^ |
Could you try re-run the installer again to see if it fixes your issues? |
Remember to grab the latest version:
|
it will create a new shielded address right? |
No, if one exists it will not. It's safe to re-run the installer multiple times |
ah ok, I was affraid of that, that's why I didn't do it. i'll try, thx |
It worked, thx. |
Hey, can someone provide a little tutorial for upgrading the nodetracker to the latest version 0.3.1? i used this tutorial for the secure node because iam a real noob with linux. thanks! |
As mentioned above, re-running the installer above is the best way to upgrade:
|
IMPORTANT NOTES FOR UPGRADING
The securenode tracker uses a new configuration meaning if you upgrade through the normal restart process it will break.
There are two options for fixing your config:
Re-run the installer again, this will re-generate the new config which is compatible with the latest version (remember to grab the latest version first)
Update the config manually, remember to replace all the variables starting with $
The text was updated successfully, but these errors were encountered: