EvernodeXRPL / evernode-host

Evernode host installer
Other
54 stars 8 forks source link

Evernode host got purged / Evernode host doesn't update #71

Closed xVet closed 1 year ago

xVet commented 1 year ago

Hi there,

i have the following issue:

My evernode host 1: https://dashboard.evernode.org/#/host/rGorZwDBfkBZkzhatECE3NkkzAt4zC3gmx (dont wonder about the evers, i moved the them in an attempt to re register) is displayed as inactive. Checking the server, i had to conclude the daemon is purged. None of the evernode commands work. Generating a logfile from syslog resulted in a empty file. Sashimono directory is available.

My evernode host 2: https://dashboard.evernode.org/#/host/rGimyJdP7Lq79fHi3PhYnrgjUWLe9262Q3 , is in the same situation with the important difference that the evernode daemon is available and running. I can execute evernode commands and i also updated via "evernode update" , resulting in a positive prompt. But, the dashboard shows my host is offline/inactive.

A log file for evernode host 2:

mydebug.log

Thank you in advance!

ravinsp commented 1 year ago

@xVet Thank you very much for digging into this.

Regarding host 1, I don't have a clue yet and we'll get back to you on that with more things to try.

On host 2, since the 'evernode' command is functional on that host, please post the log file generated from sudo evernode log command. That might contain more clues. Thanks.

xVet commented 1 year ago

Thank you @ravinsp !

For host 2 i attached here the log generated with sudo evernode log :

evernode.JR6P2Nuwz.log

chalith commented 1 year ago

@xVet you can find the temporary log files inside /tmp/evernode-beta/ directory which are created on the installation. Run ls -l /tmp/evernode-beta/ and find the files which are created on Jan 4. Then can you send us the files.

xVet commented 1 year ago

@chalith i attached the log files created on Jan 4

Host 1:
installer-1672834475.log

Host 2:

installer-1672834874.log

chalith commented 1 year ago

@xVet it seems for the Host 1, there was a bug in v0.5.20 release which has crashed the update process. You can follow these steps to reinstall a host with the same xrpl account, so you won't loose your EVRs.

BTW, we are still investigating on what went wrong in Host 2. We'll get back to you when we figure out the cause.

xVet commented 1 year ago

Thanks a lot guys! well done!

I attempted to follow your instructions, when i re installed evernode i got the prompt that an error occured during installation and that i should contact you guys with the log file.

So heres the log file ( reinstall attempt on Host 1 ):

installer-1673345431.log

chalith commented 1 year ago

@xVet looks like you are running a nginx server in evernode2.xrp.vet domian which you have pointed to the host. As it's mentioned here ssl validations fails since nginx is listening on port 80.

chalith commented 1 year ago

@xVet looks like you are running a nginx server in evernode2.xrp.vet domian which you have pointed to the host. As it's mentioned here ssl validations fails since nginx is listening on port 80.

  • You can stop the nginx server before installing evernode and then install the evernode
  • After installing evernode you can start the ngnx again

@xVet about the starting the nginx again, Evernode automatically updates the SSL certificates in 3 months when they are expired. So if the nginx is running using the same domain it would cause an issue when the SSL renewal happens

xVet commented 1 year ago

Thank you @chalith , i just let nginx to listen to 443 (ssl) and the whole installation went through without a problem!

Host 1 is looking good again per: https://dashboard.evernode.org/#/host/rGorZwDBfkBZkzhatECE3NkkzAt4zC3gmx

chalith commented 1 year ago

@xVet Can you please run evernode log on Host 2 again and send us the output file.

xVet commented 1 year ago

@chalith sorry for the delay!

Heres the log generated with evernode log for Host 2:

evernode.miEhzDNGs.log

mezmac commented 1 year ago

What exactly is the node transfer js doing? Can whatever it's accomplishing be done manually? (Sorry, I'm trying to look at the code from my phone, and it's difficult to view). Trying to understand. Thanks.

ravinsp commented 1 year ago

@mezmac It basically places your existing registration on the registry into the "transfer" mode which indicates that the existing host registration is ready to be handed over to a new host installation. In this case, you need to do this so you can reinstall to fix your broken host and the new installation to be able to take over your existing registration on the registry.

(Normally this "transfer" feature is intended to be used by functioning hosts so they can migrate their host to a new machine or to a different account. But here we are using it as a workaround to fix the broken installation on the same machine)

mezmac commented 1 year ago

Understood, thanks. I was caught off guard needing a domain for registration. Working on that now.

xVet commented 1 year ago

@ravinsp @chalith should i close up the ticket here, as the issue seems solved in a different github issue?

wojake commented 1 year ago

Ye, seems like you'd be fine closing this

chalith commented 1 year ago

@xVet Thank you for the support. Closing the issue.