Skip to content

Commit e393b44

Browse files
authored
Merge pull request #136 from trjohnson19/trjohnson19/2025-08-24-update-nextcloud
Update nextcloud.yml
2 parents c428bee + 6a4fb12 commit e393b44

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

compose/nextcloud.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ services:
2222
## Nextcloud - A safe home for all your data
2323
nextcloud:
2424
container_name: nextcloud
25-
image: nextcloud:29
25+
## Nextcloud version should be only upgraded 1 major version at a time.
26+
## Errors can occur if more than one major version is upgraded at a time,
27+
## so version is pinned.
28+
image: nextcloud:31
2629
networks:
2730
- traefik_proxy
2831
security_opt:
@@ -33,6 +36,11 @@ services:
3336
- $APPDIR/nextcloud/custom_apps:/var/www/html/custom_apps
3437
- $APPDIR/nextcloud/config:/var/www/html/config
3538
- $DATADIR/nextcloud:/var/www/html/data
39+
## Setting `hostname` fixes the Nextcloud error
40+
## AH00558: apache2: Could not reliably determine the server's fully
41+
## qualified domain name, using [IP Address]. Set the 'ServerName'
42+
## directive globally to suppress this message
43+
hostname: drive.$DOMAINNAME0
3644
environment:
3745
TZ: $TZ
3846
PUID: $PUID

0 commit comments

Comments
 (0)