Running into an issue with composer, and the versions of plugins it is installing.
For example, I’m using deliciousbrains plugins w3 offload and w3 migrate db pro.
Local composer file is correct, and when I run composer locally, it installs versions
wp-migrate-db-pro, and version
wp-offload-s3-pro. (Most recent at this time)
When I push to git, the hashes are correct, and then when I deploy to the server, it has old versions still installed (
I’ve gone ahead and deleted all the folders in
releases and tried to upload again, to the same avail.
I then tried to go ahead and manually edit the
composer.json file on the server to see if that was the issue, but alas it shows the correct versions there.
Going on to the server and running
composer update gives me this error:
[ErrorException] file_put_contents(/srv/www/staging.domain.com/releases/20160603000507/vendor/composer/installed.json): failed to open stream: Permission denied
though I’m not sure if that’s expected or not.
I’ll manually add these files to git for now, but I remain puzzled.