Hi,
I recently moved all my containers to a new PC while also migrating from Docker to Podman.
After the migration was complete, everything is working normally except for Nextcloud.
When I try to connect to Nextcloud it loads for a long time, and then throws me an 502-Error.
My Docker-Compose:
version: "2.1"
services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /home/me/appdata/nextcloud/config:/config:Z
- /home/me/appdata/nextcloud/data:/data:Z
depends_on:
- mariadb
restart: always
mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: mariadb
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=***
- TZ=Europe/Berlin
- MYSQL_DATABASE=***
- MYSQL_USER=***
- MYSQL_PASSWORD=***
volumes:
- /home/me/appdata/mariadb:/config:Z
restart: always
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- URL=my.url
- SUBDOMAINS=
- DOCKER_MODS=linuxserver/mods:swag-dashboard
volumes:
- /home/me/appdata/swag:/config:Z
ports:
- 443:443
- 80:80
- 81:81
restart: always
I use the subfolder configuration with the sample configuration.
with the Nextcloud conf.php:
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => 'ocvl27xb6i2o',
'passwordsalt' => 'SaNy8u2BYhp5+eXaqtcJPU1v0WOrzv',
'secret' => 'KunJW+PajPUewmmI0wo0wWNUWavdGSXcMH9f7Pgqv/Axhd5v',
'trusted_domains' =>
array (
0 => 'my.url',
),
'dbtype' => 'mysql',
'version' => '25.0.1.1',
'overwrite.cli.url' => 'https://my.url/nextcloud',
'dbname' => '***',
'dbhost' => 'mariadb',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***',
'dbpassword' => '***',
'installed' => true,
'trusted_proxies' =>
array (
0 => 'swag',
),
'overwritewebroot' => '/nextcloud',
'simpleSignUpLink.shown' => false,
'default_language' => 'de',
'default_locale' => 'de_DE',
'maintenance' => false,
'loglevel' => 2,
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_sendmailmode' => 'smtp',
);
I’m running Fedora Server 37.
There are no Errors logged in the Nextcloud or Swag container.
Is there anything obvious I’m missing here?
Grateful for any help.