Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I upgraded a few boxes from 1.10 + hosting queue runner to 2.0, and hosting-queued wasn't enabled.
Comments
Comment #1
helmo CreditAttribution: helmo commentedAny logs?
The drupal module is enabled?
What does an manual restart command have to say?
Comment #2
anarcat CreditAttribution: anarcat commentedthe drupal module wasn't enabled. didn't look at logs. manual restart returns without an error but doesn't restart it.
drush @hostmaster en hosting-queued
makes the daemon startable, but then i got hosting-dispatch tasks piled up.Comment #3
anarcat CreditAttribution: anarcat commentedit seems that enabling the module doesn't properly disable the task queue... this leads to horrors because the hosting-dispatch tasks pile up waiting for the lock that hosting-queued holds (guessing here).
Comment #4
anarcat CreditAttribution: anarcat commentedthe full workaround:
Comment #5
ergonlogicI haven't been able to replicate "enabling the module doesn't properly disable the task queue". In my tests this works just fine.
Comment #6
ergonlogicI've run into the issue where running '/etc/init.d/hosting-queued start' doesn't provide any feedback when the module wasn't enabled on the hostmaster site. Should the init script catch that and enable the module? It should, at least, provide some useful feedback, no?
But even so, we don't even try to start/re-start the queue daemon on 1.x to 2.x upgrades, afaict:
For that matter, we don't stop the hosting-queue-runner service either, so other queued tasks might end up being triggered during the migration.
On 1.x->2.x upgrades, I think we should:
Comment #7
anarcat CreditAttribution: anarcat commentedthis doesn't strike me as critical, and there's an easy workaround, downgrading.
Comment #8
ergonlogicThe 6.x-2.x branch will go EOL along with Drupal this week. So I'm closing this issue. If it remains a confirmed issue in 7.x-3.x, feel free to re-open, or better yet, create a new issue referencing this one.