Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ RUN apt update && apt install -y --no-install-recommends \
&& chmod a+rx /usr/local/bin/yt-dlp && \
apt clean && rm -rf /var/lib/apt/lists/*

# PHP's JIT segfaults every worker on aarch64 once an app update replaces
# compiled files. See https://github.com/nextcloud/docker/issues/2576
RUN printf 'opcache.jit=0\nopcache.jit_buffer_size=0\n' \
> "$PHP_INI_DIR/conf.d/startos-opcache-jit.ini"

# # Set environment variables
ENV POSTGRES_DB=nextcloud
ENV POSTGRES_USER=nextcloud
Expand Down
3 changes: 2 additions & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
id: nextcloud
title: Nextcloud
version: 33.0.8
version: 33.0.8.1
release-notes: |
* Fixes a crash after installing or updating an app on aarch64 servers that left Nextcloud unreachable until it was restarted.
* Update to v33.0.8 - See [full changelog](https://nextcloud.com/changelog/)
* After updating, start Nextcloud and wait for all health checks to pass. The database upgrade only completes while the service is running, so let it finish before updating StartOS to 0.4.0.
license: AGPL-3.0
Expand Down
16 changes: 15 additions & 1 deletion scripts/services/migrations.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EmVer } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.9/emver-lite/mod.ts";
import { compat, matches, util, types as T } from "../deps.ts";

const current = "33.0.8";
const current = "33.0.8.1";
const currentMajor = EmVer.parse(current).values[0];
const minMajor = currentMajor - 1;

Expand Down Expand Up @@ -233,6 +233,20 @@ export const migration: T.ExpectedExports.migration = async (
);
},
},
"33.0.8.1": {
up: compat.migrations.updateConfig(
(config) => {
return config;
},
true,
{ version: "33.0.8.1", type: "up" }
),
down: () => {
throw new Error(
"Downgrades are prohibited per Nextcloud development team recommendations"
);
},
},
},
current
)(effects, version, ...args);
Expand Down