Xen Orchestra - Community Edition - Installing with Yarn
-
@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.
-
Our installer copies the file to .xo-server.yaml
. . . were you looking for the wrong file?
-
@DustinB3403 I am not sure, after the update the https stopped working, so I went back to the tutorial I followed to set it up https://xen-orchestra.com/forum/topic/440/problems-setting-up-https-on-xo and I used the same path and recreated it and it started to work again.
-
@shwetkprabhat If you're using the community edition you should probably be using the installer and updater that we've built and provide here.
The XO forums are great, and for help outside of bug reporting should come here (more or less)
-
@DustinB3403 thats right, I used your installer and updater for community edition. The only thing outside I did was to setup self signed certs for access.
-
@shwetkprabhat said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403 thats right, I used your installer and updater for community edition. The only thing outside I did was to setup self signed certs for access.
Hrm. . .
Curious then. I can't get it to reproduce the issue you reported.
-
@shwetkprabhat Do you know what directory contains the certificates?
-
Is anyone here using the NFS function for off-site backup?