Revert the document-server link of nextcloud and only-office (mesh-catalog #438): since its merge at 11:49 novox cannot be resolved, so no machine can get new instructions (issue 1830)
mesh/delivery stopped: the pull request closed unmerged
mesh/merge-gate error: builds nextcloud, only-office → novox; no bus step; the check could not run: build-1792666287056161072-store never became ready
mesh/repo-check error: the check could not run: build-1792666287056161072-store never became ready
mesh/check failed: unit: modules/gitea.test: [gitea] where the poll of merges last looked from could not be read, so none is kept — no runtime | 2e414…
mesh/delivery stopped: the pull request closed unmerged
mesh/merge-gate error: builds nextcloud, only-office → novox; no bus step; the check could not run: build-1792666287056161072-store never became ready
mesh/repo-check error: the check could not run: build-1792666287056161072-store never became ready
mesh/check failed: unit: modules/gitea.test: [gitea] where the poll of merges last looked from could not be read, so none is kept — no runtime | 2e414…
This commit is contained in:
@@ -44,15 +44,6 @@ async function pollShares(client: NextcloudClient): Promise<void> {
|
||||
sharesPrimed = true;
|
||||
}
|
||||
|
||||
// Keeps Nextcloud's onlyoffice settings matched to the document server the mesh bound (novox/hq
|
||||
// issue 1830). The client never logs; this says what it did.
|
||||
async function applyOnlyOffice(client: NextcloudClient): Promise<void> {
|
||||
const result = client.applyOnlyOffice();
|
||||
if (result.changed.length === 0) return;
|
||||
console.log(`[nextcloud] onlyoffice: set ${result.changed.join(", ")}`);
|
||||
if (result.checkOk === false) console.error("[nextcloud] onlyoffice: connection check failed after applying settings");
|
||||
}
|
||||
|
||||
if (nextcloud) {
|
||||
const client = nextcloud;
|
||||
const tick = (fn: (c: NextcloudClient) => Promise<void>): void => {
|
||||
@@ -62,6 +53,5 @@ if (nextcloud) {
|
||||
};
|
||||
tick(pollUsers);
|
||||
tick(pollShares);
|
||||
tick(applyOnlyOffice);
|
||||
console.log("[nextcloud] watching users, shares and onlyoffice settings");
|
||||
console.log("[nextcloud] watching users and shares");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user