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

Updating sub1x nodes does not work #46

Open
silvermind opened this issue Jan 18, 2018 · 1 comment
Open

Updating sub1x nodes does not work #46

silvermind opened this issue Jan 18, 2018 · 1 comment
Labels

Comments

@silvermind
Copy link

silvermind commented Jan 18, 2018

when trying to update a masternode using the command:

./install.sh -p sub1x -u

It does not to pull the latest code from their master branch, but instead reinstalls the old versions. The script debug log shows these entries:

> error: The following untracked working tree files would be overwritten by merge:
> 	Makefile
> 	Makefile.in
> 	aclocal.m4
> 	config.log
> 	config.status
> 	configure
> 	libtool
> Please move or remove them before you can merge.
> Aborting
> Updating bda3ba0..881154d
> Already on 'master'
> M	autogen.sh
> M	share/genbuild.sh
> Your branch is behind 'origin/master' by 6 commits, and can be fast-forwarded.
>   (use "git pull" to update your local branch)

Looks like there are changed files in the git, which prevents a new pull.

After removing/renaming the Folder vps/code/sub1x it works.

Would it make sense to use a git reset --hard HEAD, before the git pull on update? https://github.com/masternodes/vps/blob/master/install.sh#L521

@marsmensch marsmensch added the bug label Jan 19, 2018
@marsmensch
Copy link
Contributor

Hmm, very weird. I will look into it!

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

No branches or pull requests

2 participants