Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-9360

Can't install REST API on 13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: RESTful API
    • Labels:
      None
    • Sprint:
      Beta 13
    • ToDo:

      Description

      Installing restapi
      FATAL ERROR
      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist

      Trace Back

      : die_freepbx()
      [0]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist

      /var/www/html/admin/libraries/sql.functions.php:135 call_user_func()
      [0]: die_freepbx
      [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asterisk.restapi_token_user_mapping' doesn't exist

      /var/www/html/admin/modules/restapi/functions.inc/user.functions.php:15 db_e()

      /var/www/html/admin/modules/restapi/Restapi.class.php:36 restapi_user_get_user_tokens()
      [0]: 3

      /var/www/html/admin/libraries/modulefunctions.class.php:2325 FreePBX\modules\Restapi->install()

      /var/www/html/admin/libraries/modulefunctions.class.php:1881 module_functions->_runscripts()
      [0]: restapi
      [1]: install

      /var/www/html/admin/page.modules.php:283 module_functions->install()
      [0]: restapi

      /var/www/html/admin/config.php:350 include()
      [0]: /var/www/html/admin/page.modules.php

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                datorherren United States
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.