Skip to content

[BUG] Getting a PHP error in the latest docker build. #500

@ayan2k26

Description

@ayan2k26

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I get the first screen that prompts you for a admin name/pwd, and warns you of using a development database. I put in my username/pwd, the webpage reloads, then I get a 404 error.

And the last few lines in the logs keep repeating.

Expected Behavior

Move to the next screen.

Steps To Reproduce

Run the provided compose...

Environment

- OS:
   
    Distributor ID: Linuxmint
    Description:    Linux Mint 22.1
    Release:        22.1
    Codename:       xia
    


- How docker service was installed:
  - Followed from here: https://docs.docker.com/engine/install/ubuntu/
  - Then setup user to not need sudo for docker

CPU architecture

x86-64

Docker creation

services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - ./config:/config
      - ./data:/data
    ports:
      - 443:443
    restart: unless-stopped

Container logs

[migrations] started

[migrations] 01-nginx-site-confs-default: skipped

[migrations] 02-default-location: skipped

[migrations] done

usermod: no changes

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   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.2-ls374

Build-date: 2025-03-19T15:37:47+00:00

───────────────────────────────────────

    

using keys found in /config/keys

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.

Exception: Not installed in /app/www/public/lib/base.php:228


Stack trace:

#0 /app/www/public/lib/base.php(691): OC::checkInstalled()

#1 /app/www/public/lib/base.php(1156): OC::init()

#2 /app/www/public/cron.php(24): require_once('...')



}

Exception: Not installed in /app/www/public/lib/base.php:228


Stack trace:

#0 /app/www/public/lib/base.php(691): OC::checkInstalled()

#1 /app/www/public/lib/base.php(1156): OC::init()

#2 /app/www/public/cron.php(24): require_once('...')



}

Exception: Not installed in /app/www/public/lib/base.php:228


Stack trace:

#0 /app/www/public/lib/base.php(691): OC::checkInstalled()

#1 /app/www/public/lib/base.php(1156): OC::init()

#2 /app/www/public/cron.php(24): require_once('...')



}

Exception: Not installed in /app/www/public/lib/base.php:228


Stack trace:

#0 /app/www/public/lib/base.php(691): OC::checkInstalled()

#1 /app/www/public/lib/base.php(1156): OC::init()

#2 /app/www/public/cron.php(24): require_once('...')



}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions