Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


256 posts

Ultimate Geek
+1 received by user: 23


Topic # 240601 16-Sep-2018 13:41
Send private message

I have a very small community site on shared hosting that I would like to upgrade from Drupal 7 to 8 ( https://www.funnz.org.nz ).

 

In the past this was quite easy, you simply ftp’d new files to your server. Now it seems you need to set up a new server and migrate the content across: https://www.drupal.org/docs/8/upgrade

 

If I only have one shared hosting server how do I do this? I could setup a subdomain or other folder on the server, set up Drupal 8 in that then once it is all working delete the Drupal 7 files and move the D8 files to the root hosting directory?

 

Or perhaps better to create a Linux VM in virtual box locally, migrate into that, then copy the files back to the server? (whatever method I can easily create a content database on the hosting server).

 

How is this sort of thing done by people who don’t have a full hosting dev environment?


Create new topic
83 posts

Master Geek
+1 received by user: 21


  Reply # 2091924 17-Sep-2018 13:18
Send private message quote this post

The safest method would be to stand up a local Drupal site. 

 

  • Get your Drupal 8 test site ready

     

  1. Windows -> DL/Install WAMP and then DL/Install Drupal 8
  2. Windows 8.1 or higher -> HyperV VM with Linux then LAMP/Drupal 8 setup

 

  • Configure your hosts file to point <fqdn> to your internal drupal site (you can either use the same site fqdn, or something like fqdntest etc)
  • export the config and content from your Drupal 7 site and import to the new Drupal 8 site
  • TEST!!!!!

Once you are happy with how your test site is operating 

 

  • Do one last config and content backup of Drupal 7 site
  • do a full file/folder backup
  • Wipe the site and install Drupal 8
  • Import the the settings and config from your local test site
  • TEST!!!!!

This is how I would do it in your situation. I have never done a Drupal upgrade but this is the process I go through for any migration of any application.

 

 

 

Hope that helps. 


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.