Not sure why I had this issue when so many other times this process is quite normal and uneventful. I repeated all these steps on my local environments as well and it worked with success for all local environments. This rebuilt the “vendor” directory with the correct and updated codebase for 8.8.6. I deleted the “vendor” directory and the ran: But, after some trial and error, I found the fix for me was quite simple. If I run “update” on my server, it stops with a “killed” response as “update” uses too much memory. Being that I have a lower memory production environment as I have everything heavily cached within my Drupal environment, this requires me to run: Guess what? The same issue occurred on the production environment! The FixĪfter a bit of Google-ing, there have been a few cases but nothing quite as similar to mine. Once there, my CI scripts build and deploy to the production environment. Thinking this might have been a local environment issue (and lack of coffee), I pushed everything to the repository anyway. But, nevertheless, it was not updating in Drupal. I checked the composer.json file and it was updated. This is this point where I had an issue! I checked my local environment in the browser and noticed 8.8.5 had NOT updated as usual to 8.8.6 on the “Status Report” page on Drupal. Yes, I know – I don’t need to clear the cache as that’s done in the database update command but I run it anyway because, well – I do things overboard. Once the update is complete, I run my drush commands: This pulls down the latest code releases from Drupal and all required dependencies. To update my codebase, as routine, I backup my databases and put all sites in maintenance mode. My production environments all run on a standard LAMP setup on a cloud machine. My local environments for my Drupal websites are all running on Docksal. To explain my environments for my clients, I have my codebase in a repository with a standard continuous integration schema and deployment process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |