Drush command terminated abnormally due to an unrecoverable error


This error might be very frustrating to you, specially when you can't see any issue with your code, can't check error log, and obviously can't do drush watchdog-show. After some search and investigation, found that I had a call to drupal_goto() in an implementation for hook_init() which is implemented on every bootstrap process. The solution … Continue reading Drush command terminated abnormally due to an unrecoverable error

How to test RSYNC before already syncing


Wrong execution of rsync command can result a mess that you may cost you some precious time to fix later, so you can test the rsync command before already executing it using the (-n) parameter or (--dry-run): rsync -anv path/to/file/with/trailing/slash/  path/to/file/without/trailing/slash Then you can execute it by removing the dry run parameter: rsync -av path/to/file/with/trailing/slash/ … Continue reading How to test RSYNC before already syncing