Skip to content

Commit d146a64

Browse files
authored
Merge pull request #215 from nextcloud/rel/nc31
bump to NC 31
2 parents 31bf0ff + f8c9d72 commit d146a64

File tree

9 files changed

+19
-34
lines changed

9 files changed

+19
-34
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222

2323
FROM ubuntu:24.04
2424

25-
ADD https://download.nextcloud.com/server/releases/nextcloud-30.0.15.tar.bz2 /root/nextcloud.tar.bz2
26-
ADD https://github.com/nextcloud-releases/richdocuments/releases/download/v8.5.10/richdocuments-v8.5.10.tar.gz /root/richdocuments.tar.gz
27-
ADD https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.10.0/onlyoffice.tar.gz /root/onlyoffice.tar.gz
25+
ADD https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2 /root/nextcloud.tar.bz2
26+
ADD https://github.com/nextcloud-releases/richdocuments/releases/download/v8.7.6/richdocuments-v8.7.6.tar.gz /root/richdocuments.tar.gz
27+
ADD https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.11.0/onlyoffice.tar.gz /root/onlyoffice.tar.gz
2828
COPY resources/entrypoint.sh /usr/sbin/
2929
COPY resources/60-nextcloud.ini /etc/php/8.3/apache2/conf.d/
3030
COPY resources/60-nextcloud.ini /etc/php/8.3/cli/conf.d/
3131
COPY resources/000-default.conf /etc/apache2/sites-enabled/
3232

3333
# uncomment and set to true if a patch nededs to be applied
34-
COPY resources/55065.patch /root/nc.patch
34+
COPY resources/55831.patch /root/nc.patch
3535
ENV NC_IS_PATCHED true
3636

3737
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
@@ -111,4 +111,4 @@ RUN cd /var/www/html/ && \
111111

112112
EXPOSE 80
113113

114-
ENTRYPOINT /usr/sbin/entrypoint.sh
114+
ENTRYPOINT ["/usr/sbin/entrypoint.sh"]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919

2020
app_name=nextcloud
21-
app_version=30.0.15-0
22-
app_upgrade_from=29.0.11-0
21+
app_version=31.0.9-0
22+
app_upgrade_from=30.0.15-0
2323

2424
ucs_version=5.0
2525

i18n/de/README_INSTALL_DE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Nextcloud bietet die Möglichkeit, LDAP Gruppen aus UCS zu verwenden. Dies vereinfacht es zum Beispiel, Ordner für eine Gruppe von Leuten bereit zu stellen. Um eine bestimmte Gruppe einzubeziehen, können diese aus ihren erweiterten Einstellungen in UCS heraus für Nextcloud freigegeben werden. Um eine signifikant bessere Performance zu erhalten, sollte vor der Nextcloud-Installation das <a href="https://help.univention.com/t/memberof-attribute-group-memberships-of-user-and-computer-objects/6439" target="_blank">memberOf-Overlay</a> aktiviert werden. In Domänen, die mindestens mit UCS Version 4.3 installiert wurden, ist das memberOf-Overlay standardmäßig aktiviert.
33
</p>
44
<p>
5-
Falls im Host Webserver HTTP Strict Transport Security nicht eingeschaltet sein sollte, so ist diese Einrichtung zu empfehlen. Weitere Informationen dazu befinden sich in der <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security" target="_blank">Dokumentation</a>.
5+
Falls im Host Webserver HTTP Strict Transport Security nicht eingeschaltet sein sollte, so ist diese Einrichtung zu empfehlen. Weitere Informationen dazu befinden sich in der <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security" target="_blank">Dokumentation</a>.
66
</p>

i18n/de/README_POST_INSTALL_DE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<p>Im Bereich der <strong>Sicherheits- & Einrichtungswarnungen</strong> werden wahrscheinlich einige Hinweise angezeigt, mit der die Nextcloud-Installation verbessert werden kann. Diese Punkt können nicht im Rahmen der Nextcloud Integration für UCS erfolgen, stattdessen entscheidet der Administrator gegebenenfalls Schritte durchzuführen.
66
<h3>"Strict-Transport-Security" HTTP header</h3>
77
<p>Um den Dienst gegen Man-in-the-Middle Attacken zu härten, kann dieser Mechanismus aktiviert werden. Die SSL Terminierung erfolgt auf dem Reverse Proxy, typischer ein Apache2 Webserver auf dem Host. Die Konfiguration für die Domain(s) unter denen Nextcloud betrieben wird, muss dafür um einen HTTP Header ergänzt werden. Wenn diese Änderungen durchgeführt werden, wirken sie sich auf alle Dienste unterhalb der Domain aus.</p>
8-
<p>This <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">Dokumentation erklärt wie HSTS eingerichtet wird</a>. Der <strong>includeSubDomains</strong>-Schalter ist notwendig.</p>
8+
<p>This <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">Dokumentation erklärt wie HSTS eingerichtet wird</a>. Der <strong>includeSubDomains</strong>-Schalter ist notwendig.</p>
99
<h3>Auflösung von "/.well-known/caldav|carddav" scheitert</h3
10-
<p>Das Auffinden von Adressbuch- und Kalenderdiensten kann für entsprechende Klienten vereinfacht werden, in dem solche well-known URLs verfügbar gemacht werden, die letztlich auf den tatsächlichen Dienst verweisen. Die anschlagende Überprüfung tested, ob unterhalb der Hauptdomain diese URLs vorhanden sind. Um diese bereit zu stellen muss auch hier der Webserver des Hosts <a href="https://docs.nextcloud.com/server/30/admin_manual/issues/general_troubleshooting.html#service-discovery">anhand dieser Dokumentation</a> angefasst werden.
10+
<p>Das Auffinden von Adressbuch- und Kalenderdiensten kann für entsprechende Klienten vereinfacht werden, in dem solche well-known URLs verfügbar gemacht werden, die letztlich auf den tatsächlichen Dienst verweisen. Die anschlagende Überprüfung tested, ob unterhalb der Hauptdomain diese URLs vorhanden sind. Um diese bereit zu stellen muss auch hier der Webserver des Hosts <a href="https://docs.nextcloud.com/server/31/admin_manual/issues/general_troubleshooting.html#service-discovery">anhand dieser Dokumentation</a> angefasst werden.
1111
<p>Es kann nur jeweils ein Dienst pro Domain verknüpft werden. Das Vorhandensein der URLs ist nicht kritisch für das Funktionieren der Nextcloud, erhöht aber den Komfort für einige Endnutzer.</p>
1212
<p>Diese Überprüfung ist während der Nextcloud 13 Serie eingeführt worden. In früheren Versionen wurde der Hinweis folglich nicht gezeigt.</p>

i18n/de/README_POST_UPDATE_DE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<p>Im Bereich der <strong>Sicherheits- & Einrichtungswarnungen</strong> werden wahrscheinlich einige Hinweise angezeigt, mit der die Nextcloud-Installation verbessert werden kann. Diese Punkt können nicht im Rahmen der Nextcloud Integration für UCS erfolgen, stattdessen entscheidet der Administrator gegebenenfalls Schritte durchzuführen.
33
<h3>"Strict-Transport-Security" HTTP header</h3>
44
<p>Um den Dienst gegen Man-in-the-Middle Attacken zu härten, kann dieser Mechanismus aktiviert werden. Die SSL Terminierung erfolgt auf dem Reverse Proxy, typischer ein Apache2 Webserver auf dem Host. Die Konfiguration für die Domain(s) unter denen Nextcloud betrieben wird, muss dafür um einen HTTP Header ergänzt werden. Wenn diese Änderungen durchgeführt werden, wirken sie sich auf alle Dienste unterhalb der Domain aus.</p>
5-
<p>This <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">Dokumentation erklärt wie HSTS eingerichtet wird</a>. Der <strong>includeSubDomains</strong>-Schalter ist notwendig.</p>
5+
<p>This <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">Dokumentation erklärt wie HSTS eingerichtet wird</a>. Der <strong>includeSubDomains</strong>-Schalter ist notwendig.</p>
66
<h3>Auflösung von "/.well-known/caldav|carddav" scheitert</h3
7-
<p>Das Auffinden von Adressbuch- und Kalenderdiensten kann für entsprechende Klienten vereinfacht werden, in dem solche well-known URLs verfügbar gemacht werden, die letztlich auf den tatsächlichen Dienst verweisen. Die anschlagende Überprüfung tested, ob unterhalb der Hauptdomain diese URLs vorhanden sind. Um diese bereit zu stellen muss auch hier der Webserver des Hosts <a href="https://docs.nextcloud.com/server/30/admin_manual/issues/general_troubleshooting.html#service-discovery">anhand dieser Dokumentation</a> angefasst werden.
7+
<p>Das Auffinden von Adressbuch- und Kalenderdiensten kann für entsprechende Klienten vereinfacht werden, in dem solche well-known URLs verfügbar gemacht werden, die letztlich auf den tatsächlichen Dienst verweisen. Die anschlagende Überprüfung tested, ob unterhalb der Hauptdomain diese URLs vorhanden sind. Um diese bereit zu stellen muss auch hier der Webserver des Hosts <a href="https://docs.nextcloud.com/server/31/admin_manual/issues/general_troubleshooting.html#service-discovery">anhand dieser Dokumentation</a> angefasst werden.
88
<p>Es kann nur jeweils ein Dienst pro Domain verknüpft werden. Das Vorhandensein der URLs ist nicht kritisch für das Funktionieren der Nextcloud, erhöht aber den Komfort für einige Endnutzer.</p>
99
<p>Diese Überprüfung ist während der Nextcloud 13 Serie eingeführt worden. In früheren Versionen wurde der Hinweis folglich nicht gezeigt.</p>
1010
<h3>Fehlende Datenbank-Indizes</h3>

i18n/en/README_INSTALL_EN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Nextcloud offers the possibility of using LDAP groups from UCS. This make it easier to share a folder to a range of people, for instance. To include a specific group they can be enabled from within their extended settings in UCS. For a significantly better performance, please make sure that the <a href="https://help.univention.com/t/memberof-attribute-group-memberships-of-user-and-computer-objects/6439" target="_blank">memberOf overlay</a> is activated. In domains that were installed with at least UCS 4.3 it is activated by default.
22
<br>
33
<br>
4-
Also, if the host webserver does not have HTTP Strict Transport Security enabled, it is recommend to configure it. More information can be found in <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security" target="_blank">our documentation</a>.
4+
Also, if the host webserver does not have HTTP Strict Transport Security enabled, it is recommend to configure it. More information can be found in <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security" target="_blank">our documentation</a>.

i18n/en/README_POST_INSTALL_EN

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<p>In the <strong>Security & setup warnings</strong> section it is likely that some messages are shown, on how to improve the setup. The items mentioned cannot be done by the Nextcloud integration for UCS, instead the admin needs to decide whether actions should be taken.</p>
66
<h3>"Strict-Transport-Security" HTTP header</h3>
77
<p>To harden the service against man-in-the-middle attacks, this mechanism can be enabled. The SSL termination happens on the reverse proxy, which typically is an Apache2 web server on the host. The configuration for the domain(s) Nextcloud is running on would need to be extended with an HTTP header. Applying the changes affects all services running within this domain.</p>
8-
<p>This <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">documentation page explains how to configure HSTS</a>. The <strong>includeSubDomains</strong> is necessary.</p>
8+
<p>This <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">documentation page explains how to configure HSTS</a>. The <strong>includeSubDomains</strong> is necessary.</p>
99
<h3>Not able to resolve "/.well-known/caldav|carddav"</h3>
10-
<p>Discovery of addressbook and calendar services can be made easier for such clients, by providing well-known URLs that redirect to the actual location of that service. This check tests whether the top-level domain has the given URLs present. Again, to resolve this, the web server configuration of the host needs to be adjusted, <a href="https://docs.nextcloud.com/server/30/admin_manual/issues/general_troubleshooting.html#service-discovery">according to this documentation</a>.<p>
10+
<p>Discovery of addressbook and calendar services can be made easier for such clients, by providing well-known URLs that redirect to the actual location of that service. This check tests whether the top-level domain has the given URLs present. Again, to resolve this, the web server configuration of the host needs to be adjusted, <a href="https://docs.nextcloud.com/server/31/admin_manual/issues/general_troubleshooting.html#service-discovery">according to this documentation</a>.<p>
1111
<p>It is only possible to link to one service provider on a domain. Having the URLs present is not crucial for a working Nextcloud setup, but improves the convenience for some end users.</p>
1212
<p>The check was introduced within the Nextcloud 13 series. Thus in the earlier version the hint was not shown.</p>

i18n/en/README_POST_UPDATE_EN

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<p>In the <strong>Security & setup warnings</strong> section it is likely that some messages are shown, on how to improve the setup. The items mentioned cannot be done by the Nextcloud integration for UCS, instead the admin needs to decide whether actions should be taken.</p>
33
<h3>"Strict-Transport-Security" HTTP header</h3>
44
<p>To harden the service against man-in-the-middle attacks, this mechanism can be enabled. The SSL termination happens on the reverse proxy, which typically is an Apache2 web server on the host. The configuration for the domain(s) Nextcloud is running on would need to be extended with an HTTP header. Applying the changes affects all services running within this domain.</p>
5-
<p>This <a href="https://docs.nextcloud.com/server/30/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">documentation page explains how to configure HSTS</a>. The <strong>includeSubDomains</strong> is necessary.</p>
5+
<p>This <a href="https://docs.nextcloud.com/server/31/admin_manual/installation/harden_server.html#enable-http-strict-transport-security">documentation page explains how to configure HSTS</a>. The <strong>includeSubDomains</strong> is necessary.</p>
66
<h3>Not able to resolve "/.well-known/caldav|carddav"</h3>
7-
<p>Discovery of addressbook and calendar services can be made easier for such clients, by providing well-known URLs that redirect to the actual location of that service. This check tests whether the top-level domain has the given URLs present. Again, to resolve this, the web server configuration of the host needs to be adjusted, <a href="https://docs.nextcloud.com/server/30/admin_manual/issues/general_troubleshooting.html#service-discovery">according to this documentation</a>.<p>
7+
<p>Discovery of addressbook and calendar services can be made easier for such clients, by providing well-known URLs that redirect to the actual location of that service. This check tests whether the top-level domain has the given URLs present. Again, to resolve this, the web server configuration of the host needs to be adjusted, <a href="https://docs.nextcloud.com/server/31/admin_manual/issues/general_troubleshooting.html#service-discovery">according to this documentation</a>.<p>
88
<p>It is only possible to link to one service provider on a domain. Having the URLs present is not crucial for a working Nextcloud setup, but improves the convenience for some end users.</p>
99
<p>The check was introduced within the Nextcloud 13 series. Thus in the earlier version the hint was not shown.</p>
1010
<h3>Missing database indices</h3>
Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
From ac6653ec5b9746c6695fc46dcee81379af048220 Mon Sep 17 00:00:00 2001
2-
From: Arthur Schiwon <blizzz@arthur-schiwon.de>
3-
Date: Fri, 12 Sep 2025 11:48:28 +0200
4-
Subject: [PATCH] fix(Apps): fix install command check on existing apps
5-
6-
- AppManager::isInstalled() is misleading, as it checks only whether it is
7-
enabled. But an app might not be present in some edge cases.
8-
- AppManager::getAppPath() does however only check whether an app dir is
9-
present, independent of the enabled-state.
10-
11-
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
12-
---
13-
core/Command/App/Install.php | 5 ++++-
14-
1 file changed, 4 insertions(+), 1 deletion(-)
15-
161
diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php
17-
index aa263a8f3bfc9..f7fa92208eaaa 100644
2+
index 4e9c846cbd4b2..eab0a294cc367 100644
183
--- a/core/Command/App/Install.php
194
+++ b/core/Command/App/Install.php
205
@@ -9,6 +9,7 @@
@@ -27,7 +12,7 @@ index aa263a8f3bfc9..f7fa92208eaaa 100644
2712
use Symfony\Component\Console\Input\InputArgument;
2813
@@ -58,9 +59,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
2914
$appId = $input->getArgument('app-id');
30-
$forceEnable = (bool) $input->getOption('force');
15+
$forceEnable = (bool)$input->getOption('force');
3116

3217
- if ($this->appManager->isInstalled($appId)) {
3318
+ try {

0 commit comments

Comments
 (0)