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 get this error when trying to provision a drupal:
sh-3.1$ php "/var/hostmaster/webroot/profiles/hostmaster/modules/drush/drush.php" -r /var/hostmaster/webroot -l hostmaster.koumbit.net hosting actions -v
Action starts processing
Executed: /var/hostmaster/webroot/profiles/hostmaster/modules/drush/drush.php provision install test21.hostmaster.koumbit.net --root=/var/hostmaster/webroot --uri=hostmaster.koumbit.net -b --site_id=161 --site_db_host=localhost
The command could not be executed succesfully (return: Warning: Table 'mysql.system' doesn't exist query: SELECT * FROM system WHERE type = 'theme' in /var/hostmaster/DRUPAL-5-7/includes/database.mysql.inc on line 172
[serialized errors]
, data: , code: 6)
I think that we should rely on the return value of the command rather than its output.
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedWhat should be made clear here is that the big problem here is that the provisionning command doesn't return a properly serialized value. That mysql warning should never appear out there, it breaks the hosting's framework expectations (which is: serialized output).
I guess the IPC should be rationalized around here...
Comment #2
adrian CreditAttribution: adrian commentedi changed things around a bit.
now it returns 1 on success. meaning that it needs to complete successfully to trigger removing from the queue.
Comment #3
anarcat CreditAttribution: anarcat commentedI don't get this error anymore so I assume this was fixed somehow.
Comment #4
anarcat CreditAttribution: anarcat commentedActually, no I still see this error.
Steps to reproduce:
* create test.hostmaster.koumbit.net, run the queue
* create test2.hostmaster.koumbit.net, run the queue
* create test3.hostmaster.koumbit.net, run the queue, this error shows up:
Running the provision hook manually works.
Comment #5
anarcat CreditAttribution: anarcat commentedNote that the error doesn't happen the second time the queue is run. This is a very weird bug.
Comment #6
anarcat CreditAttribution: anarcat commentedThis could be related to the work done on the status field:
http://drupal.org/node/259382#comment-855943
Comment #7
adrian CreditAttribution: adrian commentedI still have no idea how this works. Never had it happen to me.
Nor had it happen on hm2.bryght.com.
We're going to need additional testers on this issue.
Comment #8
anarcat CreditAttribution: anarcat commentedSo if this doesn't happen anymore, the bug is fixed. I'll open another issue for the more general IPC problem.
Comment #9
anarcat CreditAttribution: anarcat commentedThere: http://drupal.org/node/269914
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.