Skip to content

[BUG] since ls372, nextcloud no longer works #498

Open
@stefore

Description

@stefore

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello,
ls371 works great, but with ls372 and ls373, nextcloud no longer work.
I've got an 502 bad gateway error.

nextcloud/config/php/error.log :
[11-Mar-2025 13:42:35] NOTICE: Terminating ...
[11-Mar-2025 13:42:35] NOTICE: exiting, bye-bye!

nextcloud/config/nging/error.log :
2025/03/11 13:43:07 [error] 330#330: *1 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XX.XX.XX, server: _, request: "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.XXXX.fr"
2025/03/11 13:43:07 [error] 331#331: *2 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XX.XX.XX, server: _, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.XXXX.fr"
2025/03/11 13:43:07 [error] 332#332: *5 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XX.XX.XX, server: _, request: "PROPFIND /remote.php/dav/files/XXXX/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.XXXX.fr"
2025/03/11 13:43:37 [error] 330#330: *7 connect() failed (111: Connection refused) while connecting to upstream, client:XX.XX.XX.XX, server: _, request: "PROPFIND /remote.php/dav/files/XXXX/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.XXXX.fr"
2025/03/11 13:43:48 [error] 330#330: *9 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XX.XX.XX, server: _, request: "PROPFIND /remote.php/dav/files/XXXX/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.XXXX.fr"

Expected Behavior

Nextcloud should start.

Steps To Reproduce

run a docker with release ls372 or ls373

Environment

- OS:debian 12.9
- How docker service was installed:
SWAG + nextcloud + mariadb

- Docker version 28.0.1, build 068a01e

CPU architecture

x86-64

Docker creation

swag:
    image: lscr.io/linuxserver/swag
    container_name: swag
    cap_add:
      - NET_ADMIN
    env_file: /home/XXXX/dockers/0env_files/swag.env
    volumes:
      - /home/XXXX/dockers/swag:/config
    ports:
      - 443:443
      - 80:80
    restart: 'no'

  mariadb:
    image: lscr.io/linuxserver/mariadb
    container_name: mariadb
    env_file: /home/XXXX/dockers/0env_files/mariadb.env
    volumes:
      - /home/XXXX/dockers/mariadb:/config
    restart: 'no'


  nextcloud:
    #image: lscr.io/linuxserver/nextcloud:31.0.0-ls371
    image: lscr.io/linuxserver/nextcloud
    container_name: nextcloud
    env_file: /home/XXXX/dockers/0env_files/nextcloud.env
    volumes:
      - /home/XXXX/dockers/nextcloud/config:/config
      - /home/XXXX/dockers/nextcloud/data:/data
    restart: 'no'
    depends_on:
      - mariadb

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 31.0.0-ls373
Build-date: 2025-03-11T11:52:03+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following site-confs have extensions other than .conf ****
**** This may be due to user customization. ****
**** You should review the files and rename them to use the .conf extension or remove them. ****
**** nginx.conf will only include site-confs with the .conf extension. ****
/config/nginx/site-confs/default.conf.back
Initializing nextcloud  (this can take a while) ...
Setting permissions
New nextcloud instance
Please run the web-based installer on first connect!
Initializing finished
After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations.
Alternatively, you can apply your own configurations by editing /config/www/nextcloud/config/config.php following the documentation:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html
https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/files_locking_transactional.html
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions