Skip to content

Latest commit

 

History

History
executable file
·
86 lines (59 loc) · 2.71 KB

UPDATE.md

File metadata and controls

executable file
·
86 lines (59 loc) · 2.71 KB

Uber Publisher Update

General instructions on how to update Uber Publisher

1 - Read the release notes to know what had been changed.

For each stable release we will have some notes, and extra steps, developers need to do to update the last release to the new release.

For Example:

2 - Backups

  • Backup your project database.
  • Backup your project files.
  • Test a restore for your backups, to make sure that your backups works.

3 - Get the packaged files for the new version of Uber Publisher 8.5.x

4 - From your terminal, change directory to the root directory of your

project to do the update:

For Example:

Given that we do have a project at the /var/www/html/projects/example folder
  And we do have our custom themes, features, custom modules in
   /var/www/html/projects/example/themes/custom/
   /var/www/html/projects/example/modules/custom/
   /var/www/html/projects/example/sites/default
so on ...
like contributed modules which we had theme added
while working on the project.

  And we opened a terminal console window
  And we changed directory to our project folder
  cd /var/www/html/projects/example in Linux

  When we delete all files and folders, except our changes on Uber Publisher
  and Varbase.
  Then we will be left with only custom changes

  When we copy all Varbase files
  And we make sure that we do not have any overridden files or folders
     only delete old ones and copy new folder of modules to the same place

5 - Set the right file permissions.

6 - Update composer packages. use "composer outdated"

$ composer update

Make sure that you do have modules in the right place.

7 - Import Uber Publisher Core Features and Bundles:

 Given that you are logged in with the "webmaster" user
   And the "Features" module is enabled
   And the "Features UI" module is enabled
  When you go to "admin/config/development/features"
  Then you should not see any changed features in the Varbase core bundle.
   And you should not see any changed features in the Uber Publisher core bundle.
  When you click on all "Changed"
  Then you will be able to see all changes
   And you will be able to import new changes if you need them

8 - Do your Drupal 8 database updates

  • By the terminal "drush updb".
  • By the web browser by going to "yousite.domain/update.php"

9 - Regression test the full site.

  • Done :)

No upgrade path to update old Uber PUblisher 8.x-5.x to 8.x-6.x yet

You will need to manage a migration, or a hard update process.