Hi again,
Here is all the logs:
Attaching to nextcloud, nextcloud_db
nextcloud | Warning: /var/www/html/config/redis.config.php differs from the latest version of this image at /usr/src/nextcloud/config/redis.config.php
nextcloud | Warning: /var/www/html/config/reverse-proxy.config.php differs from the latest version of this image at /usr/src/nextcloud/config/reverse-proxy.config.php
nextcloud | Warning: /var/www/html/config/s3.config.php differs from the latest version of this image at /usr/src/nextcloud/config/s3.config.php
nextcloud | Warning: /var/www/html/config/smtp.config.php differs from the latest version of this image at /usr/src/nextcloud/config/smtp.config.php
nextcloud | Warning: /var/www/html/config/upgrade-disable-web.config.php differs from the latest version of this image at /usr/src/nextcloud/config/upgrade-disable-web.config.php
nextcloud | => Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/before-starting
nextcloud | AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 172.18.0.4. Set the ‘ServerName’ directive globally to suppress this message
nextcloud | AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 172.18.0.4. Set the ‘ServerName’ directive globally to suppress this message
nextcloud | [Sun Oct 20 14:50:27.262892 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.2.24 configured – resuming normal operations
nextcloud | [Sun Oct 20 14:50:27.262926 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: ‘apache2 -D FOREGROUND’
nextcloud_db |
nextcloud_db | PostgreSQL Database directory appears to contain a database; Skipping initialization
nextcloud_db |
nextcloud_db | 2024-10-20 14:50:24.832 UTC [1] LOG: starting PostgreSQL 16.4 (Debian 16.4-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
nextcloud_db | 2024-10-20 14:50:24.832 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
nextcloud_db | 2024-10-20 14:50:24.832 UTC [1] LOG: listening on IPv6 address “::”, port 5432
nextcloud_db | 2024-10-20 14:50:25.379 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
nextcloud_db | 2024-10-20 14:50:25.670 UTC [29] LOG: database system was shut down at 2024-10-20 14:48:29 UTC
nextcloud_db | 2024-10-20 14:50:25.945 UTC [1] LOG: database system is ready to accept connections
Before, I was in Nextcloud 28, then 29, …
I’ve tried to change permissions (GRANT ALL ON SCHEMA public TO nextcloud;
) but the result was the same.
Here is my compose file:
services:
nextcloud: # https://hub.docker.com/_/nextcloud/
image: nextcloud:latest
container_name: nextcloud
restart: always
depends_on:
- nextcloud_db
volumes:
- ./data/:/var/www/html/
environment:
- POSTGRES_HOST=nextcloud_db # nom du container qui héberge la base de données
- POSTGRES_USER=nextcloud # nom du superuser
- POSTGRES_PASSWORD=password # mot de passe du superuser
- POSTGRES_DB=nextcloud # nom de la base de données
- NEXTCLOUD_ADMIN_USER=admin_nextcloud # nom de l’administrateur Nextcloud
- NEXTCLOUD_ADMIN_PASSWORD=password # mot de passe de l’administrateur Nextcloud
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.mydomain # autorise la connexion via le nom du serveur
- OVERWRITEPROTOCOL=https # redirige vers https
- VIRTUAL_HOST=nextcloud.mydomain # nom du serveur proxyfié (pour Let’s encrypt)
- LETSENCRYPT_HOST=nextcloud.mydomain # nom du certificat à créer (pour Let’s encrypt)
- LETSENCRYPT_EMAIL=nextcloud@mydomain # adresse mail (pour Let’s encrypt)
networks:
- frontend
- nextcloud_db
nextcloud_db: # https://hub.docker.com/_/postgres
image: postgres:16
container_name: nextcloud_db
restart: always
volumes:
- ./db/:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=nextcloud # nom du superuser (le même nom est utilisé pour la base de données elle-même)
- POSTGRES_PASSWORD=password # mot de passe du superuser
networks:
- nextcloud_db
networks:
frontend:
name: frontend
external: true
nextcloud_db:
name: nextcloud_db
And the output of occ config:list system
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
{
“system”: {
“htaccess.RewriteBase”: “/”,
“memcache.local”: “\OC\Memcache\APCu”,
“apps_paths”: [
{
“path”: “/var/www/html/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/html/custom_apps”,
“url”: “/custom_apps”,
“writable”: true
}
],
“overwriteprotocol”: “https”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”,
“nextcloud.mydomain”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “pgsql”,
“version”: “30.0.0.14”,
“overwrite.cli.url”: “https://localhost”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_smtpsecure”: “tls”,
“mail_sendmailmode”: “smtp”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauthtype”: “PLAIN”,
“mail_smtpauth”: 1,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “587”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“loglevel”: 0,
“maintenance”: true,
“theme”: “”
}
}
Thank you for your help.
David.