Pergunta

When deploying my application to CloudControl I suddenly get an unexpected error while pushing the code.

remote: [1G-----> Kohana Framework detected        
remote: mkdir: cannot create directory `application/cache': No such file or directory        
remote: [1G !     cloudControl push rejected, failed to compile php app

I do not use the typical folder structure of Kohana. I place the system and module folder outside of my application folders. This allows me to keep the application clean and works fine in Kohana.

For example:

-doc_root
-- modules (all modules)
-- system (kohana framework only)
-- app1 (some single application)
--- application
---- classes... (and so on)
--- webroot
---- index.php

Because I am aware of a LoadBalances document root system I do not have any tmp or cache folders inside of my doc_root. This error seems to be new and makes it kinda impossible for me right now to push and deploy any changes to my application.

Do I really need to change my folder layout? Can the Buildpack (https://github.com/cloudControl/buildpack-php) detect my structure somehow? Can I tell the Buildpack what my structure looks like?

Foi útil?

Solução

This layout is currently not supported by the buildpack. You can set your document root manually though (in this example AFAICT the webroot would be /app/www/app1/webroot).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top