Xen Orchestra - Community Edition - Installing with Yarn
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@shwetkprabhat said in Xen Orchestra - Community Edition - Installing with Yarn:
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"You need to address this issue before it will build successfully.
Why is that?
And what exactly is it looking for?
#askingforafriend
-
@BRRABill Unsure why this started occurring. It's possibly due to my inclusion of
git stash -u
in the updater script. -
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@BRRABill Unsure why this started occurring. It's possibly due to my inclusion of
git stash -u
in the updater script.Is it looking to an account associated with XO, or with git?
-
@BRRABill It's a git issue unrelated to XO.
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@BRRABill It's a git issue unrelated to XO.
OK, so use my git account info there...
-
@BRRABill Any value with do...
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@BRRABill Any value with do...
Well, what is the point of that, then?
Odd.
-
@BRRABill From https://superuser.com/questions/1166219/how-do-i-set-my-local-git-identity --
Setting Your Git Identity
First, your identity should be simply your full name and email address which could be your GitHub username and email combo. But this is not a verification stage as much as a βtagβ to identify you; this has nothing to do directly with your GitHub username unless they are indeed one and the same.
-
BTW, I have never done that, and do not have issues updating.
Or at least, issues that I know of.
-
Also seems like from more research it is tied to commit transactions.
Why would that be coming up in this instance?
-
@BRRABill The
git pull
command started failling with the following --error: Your local changes to the following files would be overwritten by merge:
<list of files here>
Please, commit your changes or stash them before you can merge.So I implemented
git stash -u
to eliminate the unmerged changes. There may be a better way to accomplish this. -
@Danp thanks it solved the issue, it broke my self signed ssl cert though
And I am not sure what caused sudden increase in interest on this topic, my email was blowing up this morning
-
@shwetkprabhat Please tell us more about your setup. Where was the certificate installed? Also, what other files did you modify within the xo-server / xo-web directories?
-
@Danp I used your guide to enable https and only changed one file mentioned in the guide
https://xen-orchestra.com/forum/topic/440/problems-setting-up-https-on-xo/2
-
@shwetkprabhat Ok. The
git stash
command wipes out any modifications so that thegit pull
will successfully execute. Will need to investigate if usinggit stash pop
will successfully merge the changes back into the updated source. -
@shwetkprabhat Been looking into this further with @DustinB3403. I'm still not clear how you lost your SSL access. In our testing, changes to the .yaml config file are being retained.
Can you clarify what changes were lost or what files were removed?
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@shwetkprabhat Been looking into this further with @DustinB3403. I'm still not clear how you lost your SSL access. In our testing, changes to the .yaml config file are being retained.
Can you clarify what changes were lost or what files were removed?
Yeah I'm not seeing the same issue. I setup a new installation, and added a comment to the yaml file. Updated and the changes were retained.
-
We need a few people willing to test this.
-
Specifically this updater here.
-
@Danp I lost the config file itself /opt/xo-server/config.yaml, it was blank and I had to recreate. Now before I updated after defining the GIT local user, I tried next-version and stable commands, so that may have caused the issue.