Hello, during the deployment process we stumbled u...
# docker
m
Hello, during the deployment process we stumbled upon this issue Running generator PHP Fatal error: Uncaught Twig\Error\LoaderError: Template “service/elastic/7.10/elastic.yml.twig” is not defined in “docker-compose.yml.twig” at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98 does anyone know what am the issue might be? the deploy.doker.yml file has the following configuration
Copy code
search:
    engine: elastic
    version: "7.10"
    endpoints:
        localhost:9200:
            protocol: tcp
maybe I am missing something. Locally things work properly but on AWS there seems to be some insonsistencies
a
Please use
'
instead of
"
in version definition.
Or... please update .git.docker to have latest
docker-sdk
. The thing is that locally you clone manually and most likely you use latest or fresh enough version. In the cloud .git.docker defines what exact version to download during the pipeline.
m
Hey Valerii, thank you for the heads up. Indeed the .git.docker file so far seems to have been the issue. Deployment is running for far more time than before. Hopefully it will solve my issue. Thank you for now and I will update the thread with the end result
👍 1