Unable to fetch latest master commit.
-
Since
commit de9687eit has stopped showing the master commit. I was a couple of commits behindde9687ewhen i updated to it.Just updated this morning and still and issue.

-
My script is still able to fetch the master commit.

-
Does it fail every time or is it an intermittent issue?
-
It happened when i updated to
de9687ei was hoping it would fix itself after this update but no still an issue.
-

-
Same for me.

ill try to update manually and see if it changes.
-
Greetings! I have been seeing the same since yesterday and it is happening every time. I rolled back to a previous version yesterday and the failure notice was no longer displayed. I ran the XenOrchestraInstallerUpdater script again this morning, and while it did update successfully, the failure notice has returned.

-
same with me and latest update

-
@marcoi
Same for me. -
Just check with AI to make sure this was not cause my install script.. Here is the report it came back with...
`
It's an upstream issue in Xen Orchestra itself — neither this project nor the installer scripts are at fault. I traced the exact cause:What's happening
The "Failed to fetch latest master commit" message comes from XO's own web UI (the About page). It's defined upstream in xo-web's messages.js and displayed when the page can't retrieve the latest master commit.
That check runs in your browser: the About page calls fetch('https://api.github.com/repos/vatesfr/xen-orchestra/commits/master') directly from the client (see _callGithubApi in xo-web/src/common/xo/index.js).
On2026-07-22, upstream mergedPR #10101— "feat(xo-server): add content security policy" (commit 8e8afeb, a few hours beforede9687e). It makes xo-server send a default CSP header with default-src 'self' and no connect-src directive — so browsers now block the About page's call to api.github.com.
This explains every symptom in the forum thread: it appeared right atde9687e(the first commit most people landed on after the CSP merge), rolling back fixes it, rebuilding on latest master brings it back, and the installer script itself still fetches commits fine — the CSP only affects the browser, not server-side git.
No one has filed an upstream issue for this yet — only the original PR exists. It would be worth reporting on vatesfr/xen-orchestra (the fix is for them to add connect-src 'self' https://api.github.com to their default CSP, since source installs need it for the update check).Workaround until upstream fixes it
The PR's design lets config values extend the default CSP (array values are concatenated onto the defaults):Open
/etc/xo-server/config.toml(where this project's installer writes the config).
Add this section:[http.helmet.contentSecurityPolicy.directives] connect-src = ["'self'", "https://api.github.com"] Restart xo-server: sudo systemctl restart xo-server.Reload the About page (hard refresh, Ctrl+Shift+R) and verify the master commit shows again.
If you'd like, I can add that CSP directive to this project's config generation so fresh installs and rebuilds get it automatically — say the word and I'll make the change.Sources: xcp-ng forum thread, PR #10101, xo-web About view source
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login