You can ask me for help with your Drupal site using my Fiverr gig here bit.ly/3yBWLWC
Please support the channel by using my eBay search website shopoftheworld... its a Drupal site that is powered by eBay APIs and offers faster searching and filtering, its quite fun. Thanks
Drupal 7 to 9 Migration is not an easy task - this is a series of videos showing the 3 methods of migration (there may be others)
Method 1 is to recreate the site from scratch and copy content across manually - for small sites this is probably the easiest way but can be time consuming.
Method 2 (the one we are attempting here) is to recreate the site in Drupal 9 and use the Migrate modules to extract and import the content, I haven't attempted this before and I am not sure if its going to work.
Method 3 is to recreate the site manually and write a custom module to extract data (from a JSON feed on the D7 site) and import into the new site. I may show how to do this if method 2 is unsuccessful.
Commands used
Creating the D7 site locally in Docker (these are my commands you will need to adapt and also download the correct Drupal Docker image)
docker run -d --name hgcreasey --link mysqldb -p 8100:80 -e MYSQL_USER:root -e MYSQL_PASSWORD:drupal -it --volume //c/web/hgcreasey.co.uk:/var/www/html drupal:7.84-apache
Creating the D9 site locally (and mapping to my local drives)
docker run -d --name d9_hgcreasey --link mysqldb -p 8090:80 -e MYSQL_USER:root -e MYSQL_PASSWORD:drupal -it --volume //c/web/d9_hgcreasey/web/modules:/opt/drupal/web/modules --volume //c/web/d9_hgcreasey/web/themes:/opt/drupal/web/themes drupal:latest
Check the Docker series for more info on this
Any questions drop a message below.
I am a UK based Drupal consultant with 10+ years experience of Drupal 7, 8 and 9 configuration, development and environment architecture.
Available for contract or maintenance work drop me a message below if interested or use my Fiverr gig to send a request for help www.fiverr.com...
26 сен 2024