Composer update error - site down :(

@MWDelaney you are my hero :pray:
i finally have my development site working again, thanks for your suggestions, very helpful.

looking at the git unstaged files, the only thing that I changed is a line in the requirements.yml file in the trellis directory. (found this solution here)

54

Should I do the re-provision of the staging/production after this update?

For future reference, if anybody will run into the same problem, these are the steps. (thanks to @MWDelaney)

  1. For development , run this: ANSIBLE_TAGS=composer vagrant provision (see this topic)
  2. Manually delete the vendor folder, the web/wp and the plugins that you manage with composer
  3. From my Trellis directory: vagrant ssh
  4. cd /srv/www/<sitename>/current
  5. composer clear-cache
  6. composer update
3 Likes