2

Not used to seeing this but one site just stopped at each step of the journey.

1
  • I have seen this happen when the previous drupal/ module folder can still be found.
    – Seamus Lee
    Jul 31, 2017 at 9:32

1 Answer 1

3

As per the code, retry and skip seems to be shown with the value set for debug. Note Enable Debugging if it is turned on/off on Administer-> System Settings -> Debugging and Error Handling.

Need to confirm this on another upgrade I do, but for now, it seems retry and skip would show up if debugging is enabled and the upgrade would progress only after Retry button is clicked. So for continuous upgrade, one should have debug set to No?

4
  • is it worth thinking about having a msg pop up at /upgrade to say 'you have debug enabled'?
    – petednz - fuzion
    Jul 31, 2017 at 22:26
  • It happens to me too. I can see how I get an error to the console with PHP notice and warnings printed on a json response. What's strange is that I initially have all debug modes turned off. Aug 3, 2017 at 1:00
  • Notice: Undefined index: CRM_Upgrade in (...)/civicrm/CRM/Queue/Service.php on line 131 Warning: file_get_contents(): Filename cannot be empty in (...)/civicrm/CRM/Upgrade/Form.php on line 722 Warning: file_put_contents(): Filename cannot be empty in (...)/civicrm/CRM/Upgrade/Form.php on line 724 {"is_error":0,"exception":null,"last_task_title":"Upgrade DB to 4.7.19","numberOfItems":"17","is_continue":1} Aug 3, 2017 at 1:10
  • Disabling display_errors at server side finally solved it for me. Jun 26, 2018 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.