Error COMPOSER_HOME environment variable #5539

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

Originally created by @xmattex73 on GitHub (Dec 7, 2025).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hello,

I always get an error when updating Bookstack. What do I need to do to fix this error?

In Factory.php line 730:
The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly

However, the update runs normally.

Or can I ignore this message?

Best regards Matthias

Exact BookStack Version

v25.11.5

Log Content


Hosting Environment

Ubuntu 22.04, PHP 8.3

Originally created by @xmattex73 on GitHub (Dec 7, 2025). ### Attempted Debugging - [x] I have read the debugging page ### Searched GitHub Issues - [x] I have searched GitHub for the issue. ### Describe the Scenario Hello, I always get an error when updating Bookstack. What do I need to do to fix this error? **In Factory.php line 730: The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly** However, the update runs normally. Or can I ignore this message? Best regards Matthias ### Exact BookStack Version v25.11.5 ### Log Content ```text ``` ### Hosting Environment Ubuntu 22.04, PHP 8.3
OVERLORD added the 🐕 Support label 2026-02-05 10:09:32 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5539