Closed drozas closed 6 years ago
Testing locally
rm -r core/ profiles/ vendor/
rm autoload.php composer.* example.gitignore index.php README.txt robots.txt update.php web.config LICENSE.txt
rm .csslintrc .editorconfig .eslint* .gitattributes
mv core/ profiles/ vendor/ /Documents.../V2!
mv autoload.php composer.* example.gitignore index.php README.txt robots.txt update.php web.config LICENSE.txt vendor/ /Documents.../V2!
mv .csslintrc .editorconfig .eslint* .gitattributes vendor/ /Documents.../V2!
Running update.php locally:
system module
8400 - Move revision metadata fields to the revision table.
8401 - Remove response.gzip (and response) from system module configuration.
8402 - Add the 'revision_translation_affected' field to all entity types.
8403 - Delete all cache_ tables. They are recreated on demand with the new schema.
Clear caches to ensure Classy's message library is always added.
Force field type plugin definitions to be cleared. @see https:www.drupal.orgnode2403703
comment module
8400 - Update the status field.
Enable the comment admin view.
dblog module
8400 - Use standard plugin for wid and uid fields. Use dblog_types for type filter.
Replace 'Recent log messages' with a view.
file module
8300 - Prevent unused files from being deleted.
node module
8400 - Fix realm column description on the node_access table.
Load all form displays for nodes, add status with these settings, save.
field module
Remove the stale 'handler_submit' setting for entity_reference fields.
views module
Fix table names for revision metadata fields.
Successfully deployed and tested locally. Just an issue with Drush (which is not in prod):
PHP Fatal error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption() must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false) in phar:///usr/local/bin/drush/lib/Drush/Command/DrushInputAdapter.php on line 27 PHP Stack trace: PHP 1. {main}() /usr/local/bin/drush:0 PHP 2. require() /usr/local/bin/drush:10 PHP 3. drush_startup() phar:///usr/local/bin/drush/drush:114 PHP 4. drush_run_main() phar:///usr/local/bin/drush/includes/startup.inc:365 PHP 5. drush_main() phar:///usr/local/bin/drush/includes/startup.inc:458 PHP 6. Drush\Boot\BaseBoot->bootstrap_and_dispatch() phar:///usr/local/bin/drush/includes/preflight.inc:66 PHP 7. drush_dispatch() phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php:67 PHP 8. call_user_func_array:{phar:///usr/local/bin/drush/includes/command.inc:199}() phar:///usr/local/bin/drush/includes/command.inc:199 PHP 9. drush_command() phar:///usr/local/bin/drush/includes/command.inc:199 PHP 10. _drush_invoke_hooks() phar:///usr/local/bin/drush/includes/command.inc:231 PHP 11. spl_autoload_call() phar:///usr/local/bin/drush/includes/command.inc:353 PHP 12. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/drush/includes/command.inc:0 PHP 13. Composer\Autoload\includeFile() phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php:301 PHP 14. include() phar:///usr/local/bin/drush/vendor/composer/ClassLoader.php:414 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Declaration of Drush\Command\DrushInputAdapter::hasParameterOption() must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, $onlyParams = false) in phar:///usr/local/bin/drush/lib/Drush/Command/DrushInputAdapter.php, line 27
Proceeding to deploy
Rest of files... (.git removed also):
-rw-r--r-- 1 _www _www 1249 Sep 19 10:48 .gitignore -rw-r--r-- 1 _www _www 7950 Sep 19 10:48 .htaccess drwxr-xr-x 2 root _www 68 Sep 22 22:40 .well-known -rw-r--r-- 1 _www _www 17750 Sep 19 10:48 google88cb222bfee6eaa7.html drwxr-xr-x 4 _www _www 136 Sep 19 10:48 modules drwxr-x--- 7 _www _www 238 Sep 19 10:48 sites drwxr-xr-x 6 _www _www 204 Sep 21 15:34 themes
mv core/ profiles/ vendor/ /Volumes/Documents/VirtualSites/cress/cecanv2/
mv autoload.php composer.* example.gitignore index.php README.txt robots.txt update.php web.config LICENSE.txt /Volumes/Documents/VirtualSites/cress/cecanv2/
mv .csslintrc .editorconfig .eslint* .gitattributes /Volumes/Documents/VirtualSites/cress/cecanv2/
Running updates:
15 pending updates system module
8400 - Move revision metadata fields to the revision table.
8401 - Remove response.gzip (and response) from system module configuration.
8402 - Add the 'revision_translation_affected' field to all entity types.
8403 - Delete all cache_ tables. They are recreated on demand with the new schema.
Clear caches to ensure Classy's message library is always added.
Force field type plugin definitions to be cleared. @see https:www.drupal.orgnode2403703
comment module
8400 - Update the status field.
Enable the comment admin view.
dblog module
8400 - Use standard plugin for wid and uid fields. Use dblog_types for type filter.
Replace 'Recent log messages' with a view.
file module
8300 - Prevent unused files from being deleted.
node module
8400 - Fix realm column description on the node_access table.
Load all form displays for nodes, add status with these settings, save.
field module
Remove the stale 'handler_submit' setting for entity_reference fields.
views module
Fix table names for revision metadata fields.
file module Update #8300
Files that have no remaining usages are no longer deleted by default.
dblog module Update convert_recent_messages_to_view
The watchdog view has been created.
Successfully deployed and tested
See https://www.drupal.org/blog/drupal-8-4-0