Answers.Body: <p>Those tables are for custom data. CiviVolunteer uses standard CiviCRM custom data tables (created in the normal way, just as you would create custom fields) so that error is rather unusual. Was the site migrated from one server to another?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-07T17:24:12.650Z
Answers.Text: Yes, just before this started, the previous web admin migrated the website.
Answers.UserDisplayName: kzburn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-08T01:00:07.517Z
Answers.Text: Any idea how I can fix this? Can I just uninstall civiVolunteer and then reinstall it?
Answers.UserDisplayName: kzburn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-07T15:52:27.827Z
Answers.LastActivityDate: 2018-03-07T15:52:27.827Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>I suspect you can resolve this by deleting the records in <code>civicrm_custom_group</code> which name the missing tables in the <code>table_name</code> column. (As always, make a backup and try it on a sandbox first, if you can.)</p>
  
  <p>My guess as to the site got this way? Running the CiviVolunteer installer multiple times.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-13T18:58:00.300Z
Answers.LastActivityDate: 2018-03-13T18:58:00.300Z
Answers.UserDisplayName: universalhandle
Body: <p>When are civiVolunteer database tables created? When I run a search on volunteer opportunities and when a donation is made to our organization, we get database errors saying that tables civicrm_value_civivolunteer_5 and civicrm_value_civivolunteer_7 are missing. An inspection of the database reveals that we have a table called civicrm_value_civivolunteer_3, but that's it. </p>
  
  <p>I cannot disable civiVolunteer without an error, which is another clue that something is wrong with the civiVolunteer installation.  I recently took over this website, so I do not know any of the specifics of the installation. I just need to fix the problems. </p>
  
  <p>So, does anyone know what I need to do to get the missing tables in place? Will reinstalling civiVolunteer be enough?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-08T09:40:30.460Z
Comments.Text: Do you want to preserve the data in the volunteer tables?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-08T15:36:41.260Z
Comments.Text: It seems we only have 1 table in the current database and very little info in it. It can be added again. It's more important to fix this problem because it is affecting membership joins and renewals, as well as donations.
Comments.UserDisplayName: kzburn
Tags: <database><civivolunteer>
Title: civiVolunteer database table creation?
ThreadText: # civiVolunteer database table creation?
  
  (Asked by: username_0 on 2018-03-07)
  
  When are civiVolunteer database tables created? When I run a search on volunteer opportunities and when a donation is made to our organization, we get database errors saying that tables civicrm\_value\_civivolunteer\_5 and civicrm\_value\_civivolunteer\_7 are missing. An inspection of the database reveals that we have a table called civicrm\_value\_civivolunteer\_3, but that's it.
  
  I cannot disable civiVolunteer without an error, which is another clue that something is wrong with the civiVolunteer installation. I recently took over this website, so I do not know any of the specifics of the installation. I just need to fix the problems.
  
  So, does anyone know what I need to do to get the missing tables in place? Will reinstalling civiVolunteer be enough?
  
  **Tags:** database, civivolunteer
  
  > **Comments:**
  > **username_1**: Do you want to preserve the data in the volunteer tables?  
  > **username_0**: It seems we only have 1 table in the current database and very little info in it. It can be added again. It's more important to fix this problem because it is affecting membership joins and renewals, as well as donations.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2018-03-07. Score: 1
  
  Those tables are for custom data. CiviVolunteer uses standard CiviCRM custom data tables (created in the normal way, just as you would create custom fields) so that error is rather unusual. Was the site migrated from one server to another?
  
  > **Comments:**
  > **username_0**: Yes, just before this started, the previous web admin migrated the website.  
  > **username_0**: Any idea how I can fix this? Can I just uninstall civiVolunteer and then reinstall it?  
  
  ---
  
  ### Answer by username_3 on 2018-03-13. Score: 1
  
  I suspect you can resolve this by deleting the records in `civicrm_custom_group` which name the missing tables in the `table_name` column. (As always, make a backup and try it on a sandbox first, if you can.)
  
  My guess as to the site got this way? Running the CiviVolunteer installer multiple times.
  
  
  ---
  
  