CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
Pages: [1]

Author Topic: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.  (Read 1758 times)

wimvanaelst

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 6.2x
upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 06, 2014, 02:00:13 pm
Drupal 6 - civicrm 4.5.2
After running the upgrade script we got this message.


CiviCRM Upgrade taken

Site functioneert offline.
[Error: undefined]
Exception: "Queue runner must be configured before execution. - onEnd"

#0 /home/naturopathica/www/www/sites/all/modules/civicrm/CRM/Queue/ErrorPolicy.php(89): {closure}()
#1 /home/naturopathica/www/www/sites/all/modules/civicrm/CRM/Queue/Page/AJAX.php(93): CRM_Queue_ErrorPolicy->call(Object(Closure))
#2 [internal function](): CRM_Queue_Page_AJAX::onEnd()
#3 /home/naturopathica/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(296): call_user_func((Array:2))
#4 /home/naturopathica/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:13))
#5 /home/naturopathica/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:5))
#6 /home/naturopathica/www/www/sites/all/modules/civicrm/drupal/civicrm.module(405): CRM_Core_Invoke::invoke((Array:5))
#7 [internal function](): civicrm_invoke("upgrade", "queue", "ajax", "onEnd")
#8 /home/naturopathica/www/www/includes/menu.inc(350): call_user_func_array("civicrm_invoke", (Array:4))
#9 /home/naturopathica/www/www/index.php(17): menu_execute_active_handler()
#10 {main}


Fortunately the database is still accessible.
Is there a need to fix something now, or can we just ignore this ?

It might be interesting to note that while upgrading our test environment (an exact copy, but with www.sitename.com replaced to test.sitename.com and with no https but just http) we did not get any error message, but the progress bar didn't move at all at this page:
http://test.sitename.be/nl/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade
When going to civicrm, it looked like the dB was upgraded, but I noticed only now that the upgrade URL /civicrm/upgrade?reset=1 is still saying that the upgrade still has to be done:

Use this utility to upgrade your CiviCRM database from 4.5.2 to 4.5.3.
Back up your database before continuing.
« Last Edit: November 06, 2014, 02:07:45 pm by wimvanaelst »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 06, 2014, 03:43:58 pm
I just tried it in my sandbox and did not see the errors. Can you clear caches and try again?
Try asking your question on the new CiviCRM help site.

wimvanaelst

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 6.2x
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 06, 2014, 11:59:15 pm
Thanks for the fast reply.
I tried again in another browser after clearing cashes, and now I got the message that the dB has already been upgraded to CiviCRM 4.5.3, so I guess the 'error' messages were not so important.
 
On the test site however the upgrade did not complete.
What I see is just the screen

   civicrm upgrade tasks

   []             
                                          retry - skip

and the progress bar is not moving at all.
However in production I clearly saw it moving with the same browser (chrome)

The difference between production and test is
- that all references www.sitename.com have been changed into test.sitename.com
- settings and civicrm settings files were adapted
- http instead of https (the certificate on our site is only valid for www.naturopathica.be) so on the test site we just use http:
  this also has been changed in /civicrm/admin/settin/updateConfigBackend?reset=1
  also securepages modules is set to not use secure pages in test
Apart from this I do not think the environments are different. 

I also notice errors like these (but that might be due to the codebase not being upgraded yet?)
warning: array_key_exists() expects parameter 2 to be array, null given in /home....sites/all/modules/civicrm/CRM/Core/BAO/ConfigSetting.php on line 196

Any suggestions would be appreciated.
« Last Edit: November 07, 2014, 05:08:16 am by wimvanaelst »

shanebee

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.x
  • CMS version: Drupal 6.20
  • MySQL version: 5
  • PHP version: 5.x
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 13, 2014, 11:33:30 am
I am just conducting the same upgrade from 4.5.2 to 4.5.3 and I am getting this same behaviour.

We click upgrade, confirm that we want to upgrade, and then it arrives at:

http://www.example.com/civicrm/upgrade/queue/runner?reset=1&qrid=CRM_Upgrade

Then just dies. I followed the upgrade process (as I have been since verion 3.x) on the same site. This is the first upgrade to balk right at the database update stage.

I don't see any errors in the error_log except I did notice these errors have started popping up since the last upgrade (which completed properly).

PHP Fatal error:  Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /home/zenscrib/public_html/oursite/sites/all/modules/civicrm/Civi/Core/Container.php on line 47
PHP Fatal error:  Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /home/zenscrib/public_html/oursite/sites/all/modules/civicrm/Civi/Core/Container.php on line 47

shanebee

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.x
  • CMS version: Drupal 6.20
  • MySQL version: 5
  • PHP version: 5.x
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 13, 2014, 11:46:49 am
Is this potentially related?

http://forum.civicrm.org/index.php/topic,34749.15.html

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 13, 2014, 11:51:18 am
Or if you're on Drupal 6, see this bug. https://github.com/civicrm/civicrm-core/pull/4532
Try asking your question on the new CiviCRM help site.

shanebee

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.x
  • CMS version: Drupal 6.20
  • MySQL version: 5
  • PHP version: 5.x
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 13, 2014, 11:53:50 am
This one isn't related either, is it?

4.5.2 worked fine for a short time and then it didn't.

http://forum.civicrm.org/index.php/topic,34797.0.html

wimvanaelst

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
  • CiviCRM version: 4.5.2
  • CMS version: Drupal 6.2x
Re: upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.
November 14, 2014, 02:34:33 pm
Quote from: shanebee on November 13, 2014, 11:46:49 am
Is this potentially related?

http://forum.civicrm.org/index.php/topic,34749.15.html

Certainly, in a way... Well, I experienced this error on the other (production) site (which seemed to have upgraded more or less correctly).
The only difference between test and production are the settings and civicrm settings files. Maybe something was still wrong with that one in test.
In production I did see the progress bar, unlike in test. However after the upgrade we had these problems (which have been solved now by the solution in this link. Thanks for that !!)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrade from 4.5.2 to 4.5.3 - Queue runner must be configured before execution.

This forum was archived on 2017-11-26.