Skip to content

Script cache:clear returned with error code 255 #272

Description

@kroerig

Davis version

5.4.3

Installation method

Bare metal / manual

PHP version (bare metal only)

8.4.23

Database

MySQL

Reverse proxy

None (standalone Docker with Caddy)

Authentication method

Internal (ADMIN_LOGIN / ADMIN_PASSWORD)

Affected protocol(s)

  • CalDAV
  • CardDAV
  • WebDAV
  • Admin dashboard
  • API

Client(s) exhibiting the issue

Installation fails

Relevant environment variables

none

Steps to reproduce

run composer install --no-dev

Expected behaviour

no fault

Actual behaviour

Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#73
!! #message: """
!! Attempted to load class "WebProfilerBundle" from namespace "Symfony\Bundle\WebProfilerBundle".\n
!! Did you forget a "use" statement for another namespace?
!! """
!! #code: 0
!! #file: "./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
!! #line: 157
!! trace: {
!! ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:157 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:356 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:761 { …}
!! ./vendor/symfony/http-kernel/Kernel.php:122 { …}
!! ./src/Kernel.php:14 {
!! App\Kernel->boot(): void
!! › {
!! › parent::boot();
!! › $timezone = $this->getContainer()->getParameter('timezone');
!! }
!! ./vendor/symfony/framework-bundle/Console/Application.php:195 { …}
!! ./vendor/symfony/framework-bundle/Console/Application.php:69 { …}
!! ./vendor/symfony/console/Application.php:195 { …}
!! ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49 { …}
!! ./vendor/autoload_runtime.php:32 { …}
!! ./bin/console:24 { …}
!! }
!! }
!! 2026-07-15T17:23:12+02:00 [critical] Uncaught Error: Class "Symfony\Bundle\WebProfilerBundle\WebProfilerBundle" not found
!!
Script @auto-scripts was called via post-install-cmd

Logs


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions