Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

robj's avatar
Level 9

BookStack + Vapor = Deploy failing on directory not existing

Hi all, I'm trying to deploy BookStack to vapor. Having forked the repo I attempt to deploy to Vapor but get the following error:

$ vapor deploy production
Building project...
==> Validating Manifest File
==> Copying Application Files
==> Harmonizing Configuration Files

In Finder.php line 640:
                                                                                              
  The "/Users/robjohnston/sites/BookStack/.vapor/build/app/config" directory does not exist.

Looking for the directory there is a Config but not a config

Finder.php is a symphony util, I'm not sure I'm qualified to do much digging in there.

I feel like I must be missing something quite simple but everything seems to be OK.

Any thoughts?

0 likes
6 replies
Rhyssanders's avatar

The error is occurring in a third-party Symfony utility (Finder.php), check if there are any configurations or references in the Vapor setup that expect the directory to be named with a lowercase "config." Updating the references to match the actual directory name should resolve the issue. https://www.livetheorangelife.net/

robj's avatar
Level 9

@Rhyssanders, thanks. I'll take a look but as Vapor and BookStack are both mature and well used projects I think it's something I'm missing.

Everything is completely vanilla, nothing custom.

InsightWare's avatar

@robj did you manage to get this working? I am also trying to deploy Bookstack on Vapor

1 like
robj's avatar
Level 9

@InsightWare nope, I spoke to Dan, the developer of BookStack, and was told Vapor isn't supported. It felt like it would have needed quite a bit of work to get it to work so I gave up.

BookStack does play happily on Forge if that's any use.

1 like

Please or to participate in this conversation.