From 13e0842cff57a9ae0f36c044a213958872029200 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 12 Jun 2026 14:35:40 +0200 Subject: [PATCH] =?UTF-8?q?=20=20Previously=20the=20mapping=20was=20just?= =?UTF-8?q?=20$this->installLatestMajor=20=3F=20'yes'=20:=20'',=20so=20a?= =?UTF-8?q?=20stored=20value=20of=20'no'=20was=20truthy=20and=20would=20ha?= =?UTF-8?q?ve=20been=20turned=20into=20INSTALL=5FLATEST=5FMAJOR=3Dyes=20in?= =?UTF-8?q?=20the=20Nextcloud=20container=20=E2=80=94=20the=20opposite=20o?= =?UTF-8?q?f=20what=20the=20user=20intended.=20Now=20both=20''=20=20=20and?= =?UTF-8?q?=20'no'=20result=20in=20an=20empty=20env=20value,=20which=20the?= =?UTF-8?q?=20entrypoint's=20[=20"$INSTALL=5FLATEST=5FMAJOR"=20=3D=20yes?= =?UTF-8?q?=20]=20check=20treats=20as=20disabled,=20while=20any=20other=20?= =?UTF-8?q?value=20(e.g.=20the=20'34'=20set=20by=20the=20start=20button=20?= =?UTF-8?q?or=20upgrade=20button)=20still=20maps=20to=20yes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: Claude --- php/src/Data/ConfigurationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 5a25ad45..3bbbd60d 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -1115,7 +1115,7 @@ class ConfigurationManager 'NEXTCLOUD_STARTUP_APPS' => $this->getNextcloudStartupApps(), 'NEXTCLOUD_ADDITIONAL_APKS' => $this->nextcloudAdditionalApks, 'NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS' => $this->nextcloudAdditionalPhpExtensions, - 'INSTALL_LATEST_MAJOR' => $this->installLatestMajor ? 'yes' : '', + 'INSTALL_LATEST_MAJOR' => ($this->installLatestMajor !== '' && $this->installLatestMajor !== 'no') ? 'yes' : '', 'REMOVE_DISABLED_APPS' => $this->nextcloudKeepDisabledApps ? '' : 'yes', // Allow to get local ip-address of database container which allows to talk to it even in host mode (the container that requires this needs to be started first then) 'AIO_DATABASE_HOST' => NetworkHelper::resolveHostname('nextcloud-aio-database'),