Title: Failed to create a table for task queue
Last modified: June 18, 2019

---

# Failed to create a table for task queue

 *  Resolved [sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)
 * (@sasadangelo1974)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/)
 * Hi,
 * I have an issue similar to this:
    [https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue/#post-11640968](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue/#post-11640968)
 * Basically, I have Ubuntu 16 xenial + php7 + mysql 5.7 but I got the error:
    Failed
   to create a table for task queue
 * I tried all the tips suggested in the issue but they didn’t solve the issue.
 * I sent you by email (sdangelo@it.ibm.com) full log.
 * To reproduce the issue do the following (You need Vagrant and VirtualBox installed):
 * 1. cd <work_dir>
    2. git clone [https://github.com/ibm-sanpa/SanPatrignanoWebsiteChatbot](https://github.com/ibm-sanpa/SanPatrignanoWebsiteChatbot)
   3. cd SanPatrignanoWebsiteChatbot 4. vagrant up 5. sudo vi /etc/hosts 6. Add 
   this line to /etc/hosts on your Mac: 192.168.100.2 [http://www.sanpa.org](http://www.sanpa.org)
   7. Open the browser and go to [http://www.sanpa.org](http://www.sanpa.org) 8.
   Open [http://www.sanpa.org/admin](http://www.sanpa.org/admin) insert user/password
   and configure the plugin with API credentials.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)
 * (@sasadangelo1974)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11649932)
 * Anyone can help? Is this forum active?
    However, I use Ubuntu 16 xenial, PHP 
   7.0.33-0ubuntu0.16.04.5, 5.7.26-0ubuntu0.16.04.1 and tested with WordPress 5.2.1
   and 5.1. Always the same issue.
    -  This reply was modified 6 years, 11 months ago by [sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/).
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11651766)
 * Hello [@sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)!
 * We are looking into it.
    -  This reply was modified 6 years, 11 months ago by [Intela-bot Help](https://wordpress.org/support/users/intelahelp/).
 *  Thread Starter [sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)
 * (@sasadangelo1974)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11651847)
 * Thank you
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11655790)
 * Hello [@sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)!
 * We have completed all the tasks on your list (from your email) to reproduce the
   problem. All tables were created, including a table for the task queue.
    But 
   we found another error – “500 Internal Server Error” when communicating with 
   chatbot. This error occurs due to the lack of a “curl” extension for php. You
   need to follow these steps to fix the error:
 * 1. `cd <work_dir>`
    2. `git clone https://github.com/ibm-sanpa/SanPatrignanoWebsiteChatbot`
   3. `cd SanPatrignanoWebsiteChatbot` 4. `vagrant up` 5. Open Ubuntu where your
   site is running in Virtual Box and enter “webuser”/”webpwd” 6. Update the system
   packages with the command: `sudo apt-get update` 7. Set php-curl: `sudo apt-get
   install php7.0-curl` Next steps on your Mac: 8. `sudo vi /etc/hosts` 9. Add this
   line to /etc/hosts on your Mac: 192.168.100.2 [http://www.sanpa.org](http://www.sanpa.org)
   10. Open the browser and go to [http://www.sanpa.org](http://www.sanpa.org) 11.
   Open [http://www.sanpa.org/admin](http://www.sanpa.org/admin) insert user/password
   and configure the plugin with API credentials. 12.Go to [http://www.sanpa.org/](http://www.sanpa.org/)
   and make sure the chat is working
 * If you have any questions, feel free to ask them.
    -  This reply was modified 6 years, 11 months ago by [Intela-bot Help](https://wordpress.org/support/users/intelahelp/).
    -  This reply was modified 6 years, 11 months ago by [Intela-bot Help](https://wordpress.org/support/users/intelahelp/).
 *  Thread Starter [sasadangelo1974](https://wordpress.org/support/users/sasadangelo1974/)
 * (@sasadangelo1974)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11660175)
 * Hi,
 * Just realized that in my code I imported an sql containing old tables of the 
   plugin. When the plugin was installed they prevented the creation of the new 
   one. Fixed this issue error messages disappeared but the welcome message didn’t
   appear on the chatbot.
 * Your suggestion:
    apt-get install php7.0-curl
 * fixed the issue.
    Thank you.
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11660326)
 * You are welcome!
 * If you have any questions, feel free to ask them.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Failed to create a table for task queue’ is closed to new replies.

 * ![](https://ps.w.org/conversation-watson/assets/icon-256x256.png?rev=1684465)
 * [Chatbot with IBM watsonx Assistant](https://wordpress.org/plugins/conversation-watson/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conversation-watson/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conversation-watson/)
 * [Active Topics](https://wordpress.org/support/plugin/conversation-watson/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conversation-watson/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conversation-watson/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/failed-to-create-a-table-for-task-queue-2/#post-11660326)
 * Status: resolved