BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.2k stars 1.9k forks source link

[Bug Report]: Base table bookstack.webhooks doesn't exist #3198

Closed unpokitodxfavor closed 2 years ago

unpokitodxfavor commented 2 years ago

Describe the Bug

When i try to go to webhook settings i get an error

An unknown error occurred

Steps to Reproduce

  1. Go to settings
  2. Webhooks
  3. error

Expected Behaviour

Illuminate\Database\QueryException SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bookstack.webhooks' doesn't exist (SQL: select * from webhooks order by name desc)

Screenshots or Additional Context

No response

Exact BookStack Version

v21.12.2

PHP Version

7.4.3

Hosting Environment

Ubuntu 20.04 VPS

ssddanbrown commented 2 years ago

Hi @unpokitodxfavor, When you run the php artisan migrate step of the update commands do you get any errors? Did you see any errors on last update?

unpokitodxfavor commented 2 years ago

I have upgraded to BookStack v21.12.3 and now I can add webhooks. Fixed

57 packages you are using are looking for funding. Use the composer fund command to find out more!

@php artisan cache:clear Failed to clear cache. Make sure you have the appropriate permissions. @php artisan view:clear Compiled views cleared!


  • Application In Production! *

    Do you really wish to run this command? (yes/no) [no]: yes Migrating: 2021_11_26_070438_add_index_for_user_ip Migrated: 2021_11_26_070438_add_index_for_user_ip (59.86ms) Migrating: 2021_12_07_111343_create_webhooks_table Migrated: 2021_12_07_111343_create_webhooks_table (152.55ms) Migrating: 2021_12_13_152024_create_jobs_table Migrated: 2021_12_13_152024_create_jobs_table (59.76ms) Migrating: 2021_12_13_152120_create_failed_jobs_table Migrated: 2021_12_13_152120_create_failed_jobs_table (47.00ms) Migrating: 2022_01_03_154041_add_webhooks_timeout_error_columns Migrated: 2022_01_03_154041_add_webhooks_timeout_error_columns (23.19ms)