9/1/2023 0 Comments Update drupal 7 manuallyUpdate: Using Composer to show module informationĪs a brief update - and mostly just as a “note to self” - during the process described above I ran this composer info command, and got the output shown:ĭescrip. In summary, if you ever need to install Drupal 8 modules manually from the command line, I hope the commands and process shown are helpful. I didn’t look into how to debug Composer, I was in a rush to get the security updates installed so I gave up on Composer and installed the modules manually. Package operations: 0 installs, 1 update, 0 removals $ composer update drupal/metatag -with-dependencies When I ran this command it clearly shows it thinking it downloaded Metatag v1.8, but that wasn’t the case: I have no idea why Composer was failing to work properly with my Drupal 8 modules. Run drush sset system.maintenance_mode 0Īfter I did this I checked the website admin pages, such as admin/reports/updates, and everything now shows as being updated properly.Unpack the TGZ/ZIP file in the proper place (under modules).Run drush sset system.maintenance_mode 1.Download the desired module onto your server as a TGZ or ZIP file using wget, ftp, whatever (I downloaded the Metatag v1.8 release as a TGZ file).Backup your website and database as usual.The basic process is more or less the same as it has been with previous Drupal versions: I finally gave up and installed several Drupal 8 modules manually. I read articles like this one, but they didn’t help. The Composer output showed it was doing the update, and it definitely made changes to the composer.json file, but when I looked at the Metatag files on the filesystem (under modules/metatag) they weren’t updated, the CHANGELOG file still showed v1.5, and the Drupal admin UI said the same thing. Composer update drupal/metatag -with-dependencies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |