Compare commits

..

17 Commits

Author SHA1 Message Date
Simon L.
a9d462489c increase to 12.2.1
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-08 10:03:53 +01:00
Simon L.
1617254c2f Merge pull request #7280 from nextcloud/enh/7223/skip-version-check
mastercontainer: fix docker api version check if DOCKER_API_VERSION was set globally
2025-12-08 09:55:09 +01:00
Simon L.
f1a6526a4b Merge pull request #7275 from nextcloud/dependabot/docker/Containers/apache/httpd-2.4.66-alpine3.22
build(deps): bump httpd from 2.4.65-alpine3.22 to 2.4.66-alpine3.22 in /Containers/apache
2025-12-08 09:54:38 +01:00
Simon L.
238117ac47 mastercontainer: fix docker api version check if DOCKER_API_VERSION was set globally
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-08 09:51:33 +01:00
dependabot[bot]
57efcd852d build(deps): bump httpd in /Containers/apache
Bumps httpd from 2.4.65-alpine3.22 to 2.4.66-alpine3.22.

---
updated-dependencies:
- dependency-name: httpd
  dependency-version: 2.4.66-alpine3.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-05 04:12:33 +00:00
Simon L.
b80bc2640d fix mentioning of docker.io
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-04 16:19:30 +01:00
Simon L.
bd45cb4544 add additional hint
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-04 16:18:28 +01:00
Simon L.
8727586013 Merge pull request #7274 from nextcloud/enh/noid/add-limit-resource-usage-chapter
readme: add section on how to limit the resource usage of AIO
2025-12-04 16:16:10 +01:00
Simon L.
9d08ce1ce5 readme: add section on how to limit the resource usage of AIO
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-04 16:14:31 +01:00
Simon L.
ae8a36742a Merge pull request #7272 from nextcloud/dependabot/github_actions/dot-github/workflows/actions/checkout-6.0.1
build(deps): bump actions/checkout from 4.2.2 to 6.0.1 in /.github/workflows
2025-12-04 13:20:55 +01:00
Simon L.
d802496580 Merge pull request #7271 from nextcloud/dependabot/github_actions/dot-github/workflows/astral-sh/setup-uv-7.1.4
build(deps): bump astral-sh/setup-uv from 5.3.1 to 7.1.4 in /.github/workflows
2025-12-04 13:20:39 +01:00
dependabot[bot]
0a23880281 build(deps): bump actions/checkout in /.github/workflows
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4.2.2...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 12:19:16 +00:00
dependabot[bot]
911cdef763 build(deps): bump astral-sh/setup-uv in /.github/workflows
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5.3.1 to 7.1.4.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](f94ec6bedd...1e862dfacb)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.1.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 12:18:56 +00:00
Simon L.
d6e0d8b87d run yaml lint only if yml files were changes
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-03 18:29:22 +01:00
Simon L.
31a97682ff Merge pull request #6182 from nextcloud/enh/noid/lint-ga
add workflow to lint github actions
2025-12-03 16:05:17 +01:00
Simon L.
22a784a3de add workflow to lint github actions
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-03 15:56:50 +01:00
Simon L.
0db006605a fix spacing
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-12-03 14:29:55 +01:00
8 changed files with 55 additions and 6 deletions

42
.github/workflows/lint-yaml.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint YAML
on:
pull_request:
paths:
- '**.yml'
permissions:
contents: read
jobs:
yaml-lint:
runs-on: ubuntu-latest
name: yaml
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: GitHub action templates lint
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
with:
file_or_dir: .github/workflows
config_data: |
line-length: warning
- name: Install the latest version of uv
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
- name: Check GitHub actions
run: uvx zizmor --min-severity medium .github/workflows/*.yml

View File

@@ -2,7 +2,7 @@
FROM caddy:2.10.2-alpine AS caddy
# From https://github.com/docker-library/httpd/blob/master/2.4/alpine/Dockerfile
FROM httpd:2.4.65-alpine3.22
FROM httpd:2.4.66-alpine3.22
COPY --from=caddy /usr/bin/caddy /usr/bin/caddy

View File

@@ -116,14 +116,14 @@ fi
# Docker api version check
# shellcheck disable=SC2001
API_VERSION_NUMB="$(echo "$API_VERSION" | sed 's/\.//')"
API_VERSION_NUMB="$(echo "$DOCKER_API_VERSION" | sed 's/\.//')"
LOCAL_API_VERSION_NUMB="$(sudo -E -u www-data docker version | grep -i "api version" | grep -oP '[0-9]+.[0-9]+' | head -1 | sed 's/\.//')"
if [ -z "$LOCAL_API_VERSION_NUMB" ]; then
LOCAL_API_VERSION_NUMB="$(sudo -E -u www-data DOCKER_API_VERSION="$FALLBACK_DOCKER_API_VERSION" docker version | grep -i "api version" | grep -oP '[0-9]+.[0-9]+' | head -1 | sed 's/\.//')"
fi
if [ -n "$LOCAL_API_VERSION_NUMB" ] && [ -n "$API_VERSION_NUMB" ]; then
if ! [ "$LOCAL_API_VERSION_NUMB" -ge "$API_VERSION_NUMB" ]; then
print_red "Docker API v$API_VERSION is not supported by your docker engine. Cannot proceed. Please upgrade your docker engine if you want to run Nextcloud AIO!"
print_red "Docker API v$DOCKER_API_VERSION is not supported by your docker engine. Cannot proceed. Please upgrade your docker engine if you want to run Nextcloud AIO!"
echo "Alternatively, set the DOCKER_API_VERSION environmental variable to a compatible version."
echo "However please note that only v$API_VERSION is officially supported and tested by the maintainers of Nextcloud AIO."
echo "See https://github.com/nextcloud/all-in-one#how-to-adjust-the-internally-used-docker-api-version"

View File

@@ -6,7 +6,7 @@ You can run the containers that are build for AIO with docker-compose. This come
- You can run it without a container having access to the docker socket
- You can modify all values on your own
- You can run the containers with docker swarm
- You can run this in environments where access to docker.io is not possible. See [this issue](https://github.com/nextcloud/all-in-one/discussions/5268).
- You can run this in environments where access to ghcr.io is not possible. See [this issue](https://github.com/nextcloud/all-in-one/discussions/5268).
### Disadvantages
- You lose the AIO interface

View File

@@ -115,7 +115,7 @@ readonly class DockerController {
$this->PerformRecursiveContainerStart($id);
}
private function listBackup() : void {
private function listBackup() : void {
$this->configurationManager->SetBackupMode('list');
$id = 'nextcloud-aio-borgbackup';

View File

@@ -17,7 +17,7 @@
<div class="container">
<main>
<h1>Nextcloud AIO v12.2.0</h1>
<h1>Nextcloud AIO v12.2.1</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>

View File

@@ -217,6 +217,7 @@ https://your-domain-that-points-to-this-server.tld:8443
- [How to adjust the internally used docker api version?](#how-to-adjust-the-internally-used-docker-api-version)
- [How to change the default location of Nextcloud's Datadir?](#how-to-change-the-default-location-of-nextclouds-datadir)
- [How to store the files/installation on a separate drive?](#how-to-store-the-filesinstallation-on-a-separate-drive)
- [How to limit the resource usage of AIO?](#how-to-limit-the-resource-usage-of-aio)
- [How to allow the Nextcloud container to access directories on the host?](#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host)
- [How to adjust the Talk port?](#how-to-adjust-the-talk-port)
- [How to adjust the upload limit for Nextcloud?](#how-to-adjust-the-upload-limit-for-nextcloud)
@@ -465,6 +466,9 @@ You can move the whole docker library and all its files including all Nextcloud
This should solve the problem.
### How to limit the resource usage of AIO?
In some cases, you might want to limit the overall resource usage of AIO. You can do so by following [this documentation](https://github.com/nextcloud/all-in-one/discussions/7273). Another possibility is to use the [manual installation](./manual-install/).
### How to allow the Nextcloud container to access directories on the host?
By default, the Nextcloud container is confined and cannot access directories on the host OS. You might want to change this when you are planning to use local external storage in Nextcloud to store some files outside the data directory and can do so by adding the environmental variable `NEXTCLOUD_MOUNT` to the docker run command of the mastercontainer (but before the last line `ghcr.io/nextcloud-releases/all-in-one:latest`! If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used). Allowed values for that variable are strings that start with `/` and are not equal to `/`.

3
zizmor.yml Normal file
View File

@@ -0,0 +1,3 @@
rules:
excessive-permissions:
disable: true