diff --git a/lib/BackgroundJobs/ClusterFacesJob.php b/lib/BackgroundJobs/ClusterFacesJob.php
index a8e78adf..81908657 100644
--- a/lib/BackgroundJobs/ClusterFacesJob.php
+++ b/lib/BackgroundJobs/ClusterFacesJob.php
@@ -36,7 +36,7 @@ protected function run($argument): void {
$userId = (string)$argument['userId'];
try {
$iniValue = ini_get('memory_limit');
- if ($iniValue === false) {
+ if ($iniValue === false || $iniValue === '') {
$batchSize = 10_000;
} else {
$memoryBytes = ini_parse_quantity($iniValue);
diff --git a/lib/Migration/InstallDeps.php b/lib/Migration/InstallDeps.php
index 9b3d34db..4f074c23 100644
--- a/lib/Migration/InstallDeps.php
+++ b/lib/Migration/InstallDeps.php
@@ -35,7 +35,7 @@
use Psr\Log\LoggerInterface;
final class InstallDeps implements IRepairStep {
- public const NODE_VERSION = 'v20.9.0';
+ public const NODE_VERSION = 'v22.23.2';
public const NODE_SERVER_OFFICIAL = 'https://nodejs.org/dist/';
public const NODE_SERVER_UNOFFICIAL = 'https://unofficial-builds.nodejs.org/download/release/';
diff --git a/package.json b/package.json
index f371d1a5..47d9af49 100644
--- a/package.json
+++ b/package.json
@@ -61,8 +61,8 @@
"vue": "3.x"
},
"engines": {
- "node": "20.x",
- "npm": "10.x"
+ "node": "22.x",
+ "npm": "11.x"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 5828aa4e..190286a6 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -10,6 +10,11 @@
+
+
+
+
+
@@ -942,6 +947,9 @@
+
+
+