Skip to content
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

doublesharp.com/sysmasternode Script #231

Closed
johnp1954 opened this issue Jun 26, 2018 · 17 comments
Closed

doublesharp.com/sysmasternode Script #231

johnp1954 opened this issue Jun 26, 2018 · 17 comments

Comments

@johnp1954
Copy link

johnp1954 commented Jun 26, 2018

If you use this script to update your VPS and ask for sentinel to upgrade too it seems to break sentinel. Using the script amended by Alex does not break it when updating Sentinel. It has been like this for 1.5 hours now.
image

@sidhujag
Copy link
Member

need more details.. hows it break sentinel

@johnp1954
Copy link
Author

If i knew that i could fix it :-)

@doublesharp
Copy link

Not enough info to debug

@johnp1954
Copy link
Author

Let me know what i can do to give you that info

@johnp1954
Copy link
Author

I can give you access to the VPS if that would help

@doublesharp
Copy link

Is the sentinel folder created under the syscoin use home? What's in the debug log? Are the cron jobs for the syscoin user set up? If you are running other scripts are they doing anything that might conflict especially permissions? Can you run the ping manually?

@johnp1954
Copy link
Author

Just FYI this worked fine before the upgrade

  1. Yes
  2. Isnt one
            • /usr/local/bin/sentinel-ping
  3. No

image

@johnp1954
Copy link
Author

Others say
*/10 * * * * /usr/local/bin/sentinel-ping
Is this the issue?

@johnp1954
Copy link
Author

Ok well i have to reinstall now before i have to go through the grace period again

@doublesharp
Copy link

The Sentinel log is in ~/sentinel/sentinel-cron.log under the syscoin user. Cronjob will run once per minute (people were impatient) but */10 should work fine too, but will take longer to update from ping expired. Nothing in your setup seems off, so check the log and try to run the ping as the syscoin user sudo su -c "sentinel-ping" syscoin.

@johnp1954
Copy link
Author

Had to rebuild will try again when things calm down, there was no ~/sentinel/sentinel-cron.log

@doublesharp
Copy link

Then the ping is never running but I suspect you are looking in the wrong place - did you check as the syscoin user? When you use ~ it means "home" so you have to run it as that user - sudo su -c "tail ~/sentinel/sentinel-cron.log" syscoin.

I also checked out @einalexes script and it does not work properly, it updates sentinel in the wrong location (current user home). It will have no effect on the sentinel/ping/crontab running as the syscoin user.

@jvlugoinv
Copy link

jvlugoinv commented Jun 26, 2018 via email

@jvlugoinv
Copy link

jvlugoinv commented Jun 26, 2018 via email

@doublesharp
Copy link

Thanks @jvlugoinv - I re-ordered commands in the script and it should work now.

@doublesharp
Copy link

@jvlugoinv @johnp1954 you can rerun the script and it will update the file correctly.

@johnp1954
Copy link
Author

Rerun with no issues Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants