Hi all! I’m trying to get my local Trellis to work. When i run vagrant up I get the following error:
Composer could not find a composer.json file in
/srv/www/hogtrycksteknik.se/current To initialize a project, please create a
composer.json file as described in the https://getcomposer.org/ "Getting
Started" section
failed: [default] (item=hogtrycksteknik.se) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "hogtrycksteknik.se", "value": {"admin_email": "hogtrycksteknik2.0@gmail.com", "cache": {"enabled": false}, "local_path": "../site", "multisite": {"enabled": false}, "site_hosts": [{"canonical": "hogtrycksteknik.test"}], "ssl": {"enabled": false}}}, "stdout": "Composer could not find a composer.json file in /srv/www/hogtrycksteknik.se/current\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\n", "stdout_lines": ["Composer could not find a composer.json file in /srv/www/hogtrycksteknik.se/current", "To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section"]}
When I SSH into the vagrant box I can see that
/srv/www/hogtrycksteknik.se
has been created but it only contains folders (current, logs, shared). If I then look into the current folder it only contains an empty web folder. On my local machine there is a newly installed Bedrock site that should have been synced to the Vagrant box. So, how come only some folders has been synced and no files?