migrate to 24.05 fails with "Class "Barryvdh\DomPDF\ServiceProvider" not found" #4747

Closed
opened 2026-02-05 09:13:10 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @dani on GitHub (May 12, 2024).

Describe the Bug

Trying to upgrade my 23.02.3 install to 24.05. I'm using a custom alpine based Docker image (Dockerfile is here and its base image is here but it's quite trivial).

Composer is 2.7.4 and PHP 8.3.6

The php artisan migrate command fails with

In ProviderRepository.php line 206:
                                                     
  Class "Barryvdh\DomPDF\ServiceProvider" not found  

Tried with PHP 8.2 and 8.3 with same result.

Steps to Reproduce

  1. Update to 24.05
  2. Try to run php artisan migrate

Expected Behaviour

Database should be upgraded

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

24.05

Originally created by @dani on GitHub (May 12, 2024). ### Describe the Bug Trying to upgrade my 23.02.3 install to 24.05. I'm using a custom alpine based Docker image (Dockerfile is [here](https://git.lapiole.org/nomad/bookstack/src/branch/master/example/images/bookstack/Dockerfile) and its base image is [here](https://git.lapiole.org/nomad/common/src/branch/master/example/images/php/Dockerfile) but it's quite trivial). Composer is 2.7.4 and PHP 8.3.6 The php artisan migrate command fails with ``` In ProviderRepository.php line 206: Class "Barryvdh\DomPDF\ServiceProvider" not found ``` Tried with PHP 8.2 and 8.3 with same result. ### Steps to Reproduce 1. Update to 24.05 2. Try to run php artisan migrate ### Expected Behaviour Database should be upgraded ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version 24.05
OVERLORD added the 🐛 Bug label 2026-02-05 09:13:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4747