Talk:RESTBase

Jump to navigation Jump to search

About this board

We welcome your comments and technical feedback about the new RESTBase API. For bugs and issues, the recommended way to report issues is https://phabricator.wikimedia.org/

Previous discussion is at Talk:RESTBase/Archive.

VisualEditor together with RESTBase give HTTP 404 apierror-visualeditor-docserver-http

1
Magol (talkcontribs)

I try to setup a Mediawiki with Visual Editor, Parsoid and RESTBase.

I have been able to setup the wiki with only Visual Editor and Parsoid, but when I try to get RESTBase to work I get problems.

When I try to edit a page with Visual Editor and try to save, I get a HTTP 404 apierror-visualeditor-docserver-http

See my code at https://github.com/magol/sag-wiki/tree/master/sag-wiki

Settings for Virtual Editor

    $wgVirtualRestConfig['modules']['parsoid'] = array(
        'url'                   => getenv( 'MEDIAWIKI_PARSOID_URL' ),
        'domain'                => 'localhost',
        'prefix'                => 'localhost'
    );
    
    $wgVirtualRestConfig['modules']['restbase'] = array(
    	'url' => getenv( 'MEDIAWIKI_SERVER' ).'/api/rest_v1',
    	'domain' => 'localhost', # matches the "domain" used above
    	'forwardCookies' => true,
    	'parsoidCompat' => false
    );
    $wgVisualEditorRestbaseURL     = getenv( 'MEDIAWIKI_SERVER' ).'/api/rest_v1/page/html/';
    $wgVisualEditorFullRestbaseURL = getenv( 'MEDIAWIKI_SERVER' ).'/api/rest_';

Settings for RESTBase

services:
  - name: restbase
    module: hyperswitch
    conf:
      port: {env(RESTBASE_PORT,7231)}
      salt: secret
      default_page_size: 125
      user_agent: RESTBase
      ui_name: RESTBase
      ui_url: https://www.mediawiki.org/wiki/RESTBase
      ui_title: RESTBase docs
      spec:
        x-request-filters:
          - path: lib/security_response_header_filter.js
          - path: lib/normalize_headers_filter.js
        x-sub-request-filters:
          - type: default
            name: http
            options:
              allow:
                - pattern: '{env(MEDIAWIKI_API_URL,http://localhost/w/api.php)}'
                  forward_headers: true
                - pattern: http://localhost:8142
                  forward_headers: true
                - pattern: /^https?:\/\//
        paths:
          /{domain:localhost}:
            x-modules:
              - path: projects/example.yaml
                options:
                  action:
                    # XXX Check API URL!
                    apiUriTemplate: '{env(MEDIAWIKI_API_URL,http://localhost/w/api.php)}'
                    # XXX Check the base RESTBase URI
                    baseUriTemplate: "{{'http://{domain}:7231/{domain}/v1'}}"
                  parsoid:
                    # XXX Check Parsoid URL!
                    host: '{env(PARSOID_HOST_PORT,http://localhost:8142)}'
                  table:
                    backend: sqlite
                    dbname: /data/restbase_tables.sqlite3
                    pool_idle_timeout: 20000
                    retry_delay: 250
                    retry_limit: 10
                    show_sql: false
                  mathoid:
                    host: '{env(MATHOID_HOST_PORT,http://localhost:10044)}'
                  mobileapps:
                    host: '{env(MOBILEAPPS_URI,https://appservice.wmflabs.org)}'
                  citoid:
                    host: '{env(CITOID_URI,http://localhost:1970)}'
                  purged_cache_control: s-maxage=0, max-age=86400
                  purged_cache_control_client_cache: s-maxage=0, max-age=300

# Finally, a standard service-runner config.
info:
  name: restbase

logging:
  name: restbase
  level: '{env(RESTBASE_LOGGING_LEVEL,info)}'

num_workers: 1

Settings for Parsoid

    num_workers: '0'
    worker_heartbeat_timeout: 300000
    logging:
        level: info
    services:
      - module: lib/index.js
        entrypoint: apiServiceWorker
        conf:
            serverPort: 8142
            mwApis:
              -
                uri: 'http://web/w/api.php'
                domain: 'localhost'
Reply to "VisualEditor together with RESTBase give HTTP 404 apierror-visualeditor-docserver-http"

[IMPORTANT/FASTER] Heroku not working, causes loop not start

1
John Harry Lau (talkcontribs)

I ran Parsoid on heroku, setted up and it's fine, IK RESTBase uses the same thing as Parsoid but I got the following error:

2018-09-13T09:16:28.755759+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":30,"levelPath":"info/service-runner","msg":"master(21) initializing 8 workers","time":"2018-09-13T09:16:28.753Z","v":0}
2018-09-13T09:16:30.489640+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":32,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:30.487Z","v":0}
2018-09-13T09:16:31.970284+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":43,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:31.968Z","v":0}
2018-09-13T09:16:32.532162+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":32,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:32.531Z","v":0}
2018-09-13T09:16:33.993500+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":43,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:33.993Z","v":0}
2018-09-13T09:16:34.559277+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":54,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:34.557Z","v":0}
2018-09-13T09:16:36.417954+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":61,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:36.411Z","v":0}
2018-09-13T09:16:36.591460+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":54,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:36.591Z","v":0}
2018-09-13T09:16:37.792692+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":72,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:37.791Z","v":0}
2018-09-13T09:16:38.570084+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":61,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:38.569Z","v":0}
2018-09-13T09:16:39.215458+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":79,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:39.213Z","v":0}
2018-09-13T09:16:39.857725+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":72,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:39.857Z","v":0}
2018-09-13T09:16:41.233839+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":79,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:41.233Z","v":0}
2018-09-13T09:16:43.405457+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":90,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:43.355Z","v":0}
2018-09-13T09:16:44.671093+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":112,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:44.669Z","v":0}
2018-09-13T09:16:44.804767+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":101,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:44.803Z","v":0}
2018-09-13T09:16:45.486066+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":90,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:45.485Z","v":0}
2018-09-13T09:16:46.327638+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":119,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:46.326Z","v":0}
2018-09-13T09:16:46.689781+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":126,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:46.683Z","v":0}
2018-09-13T09:16:46.721715+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":112,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:46.721Z","v":0}
2018-09-13T09:16:46.857030+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":101,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:46.856Z","v":0}
2018-09-13T09:16:47.170934+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":145,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:47.143Z","v":0}
2018-09-13T09:16:48.393741+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":119,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:48.393Z","v":0}
2018-09-13T09:16:48.742094+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":126,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:48.741Z","v":0}
2018-09-13T09:16:49.185602+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":145,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:49.185Z","v":0}
2018-09-13T09:16:53.196479+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":164,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:53.189Z","v":0}
2018-09-13T09:16:55.277739+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":164,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:55.277Z","v":0}
2018-09-13T09:16:56.154376+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":171,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:56.087Z","v":0}
2018-09-13T09:16:58.229857+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":171,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:16:58.229Z","v":0}
2018-09-13T09:16:58.233185+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":178,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:58.212Z","v":0}
2018-09-13T09:16:58.715099+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":185,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:16:58.697Z","v":0}
2018-09-13T09:17:00.373880+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":178,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:00.373Z","v":0}
2018-09-13T09:17:00.767302+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":185,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:00.767Z","v":0}
2018-09-13T09:17:02.117970+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":198,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:02.032Z","v":0}
2018-09-13T09:17:04.034636+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":206,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:04.005Z","v":0}
2018-09-13T09:17:04.170505+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":198,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:04.170Z","v":0}
2018-09-13T09:17:06.129779+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":206,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:06.129Z","v":0}
2018-09-13T09:17:06.253700+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":192,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:06.203Z","v":0}
2018-09-13T09:17:06.368434+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":232,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:06.316Z","v":0}
2018-09-13T09:17:06.383170+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":40,"levelPath":"warn/service-runner","msg":"startup finished","time":"2018-09-13T09:17:06.383Z","v":0}
2018-09-13T09:17:08.289924+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":192,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:08.289Z","v":0}
2018-09-13T09:17:08.554298+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":232,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:08.554Z","v":0}
2018-09-13T09:17:08.918423+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":221,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:08.896Z","v":0}
2018-09-13T09:17:10.146018+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker stopped sending heartbeats, killing.","worker_pid":247,"levelPath":"error/service-runner/master","msg":"worker stopped sending heartbeats, killing.","time":"2018-09-13T09:17:10.145Z","v":0}
2018-09-13T09:17:10.162433+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker stopped sending heartbeats, killing.","worker_pid":254,"levelPath":"error/service-runner/master","msg":"worker stopped sending heartbeats, killing.","time":"2018-09-13T09:17:10.162Z","v":0}
2018-09-13T09:17:10.185509+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker stopped sending heartbeats, killing.","worker_pid":261,"levelPath":"error/service-runner/master","msg":"worker stopped sending heartbeats, killing.","time":"2018-09-13T09:17:10.185Z","v":0}
2018-09-13T09:17:10.500169+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":40,"message":"worker died during startup, continue startup","exit_code":null,"worker_pid":247,"levelPath":"warn/service-runner/master","msg":"worker died during startup, continue startup","time":"2018-09-13T09:17:10.499Z","v":0}
2018-09-13T09:17:10.701645+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":40,"message":"worker died during startup, continue startup","exit_code":null,"worker_pid":254,"levelPath":"warn/service-runner/master","msg":"worker died during startup, continue startup","time":"2018-09-13T09:17:10.701Z","v":0}
2018-09-13T09:17:10.792986+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":40,"message":"worker died during startup, continue startup","exit_code":null,"worker_pid":261,"levelPath":"warn/service-runner/master","msg":"worker died during startup, continue startup","time":"2018-09-13T09:17:10.792Z","v":0}
2018-09-13T09:17:10.957814+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":221,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:10.957Z","v":0}
2018-09-13T09:17:17.059034+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":280,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:17.044Z","v":0}
2018-09-13T09:17:19.245585+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":280,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:19.245Z","v":0}
2018-09-13T09:17:20.377479+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":299,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:20.367Z","v":0}
2018-09-13T09:17:21.226663+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":312,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:21.208Z","v":0}
2018-09-13T09:17:21.341796+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":291,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:21.339Z","v":0}
2018-09-13T09:17:22.338253+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":298,"level":60,"err":{"message":"Cannot find module 'restbase-mod-table-sqlite'","name":"Error","stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot find module 'restbase-mod-table-sqlite'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:507:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:20:18)\n    at module.exports (/app/sys/table.js:17:12)\n    at Router._loadModule (/app/node_modules/hyperswitch/lib/router.js:229:26)\n    at P.each (/app/node_modules/hyperswitch/lib/router.js:255:25)\n    at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Object.gotValue (/app/node_modules/bluebird/js/release/reduce.js:155:18)\n    at Object.gotAccum (/app/node_modules/bluebird/js/release/reduce.js:144:25)\n    at Object.tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/app/node_modules/bluebird/js/release/promise.js:606:10)\n    at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:142:12)\n    at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9)","levelPath":"fatal/startup","msg":"Message not supplied","time":"2018-09-13T09:17:22.296Z","v":0}
2018-09-13T09:17:22.425871+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":299,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:22.425Z","v":0}
2018-09-13T09:17:23.275462+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":312,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:23.275Z","v":0}
2018-09-13T09:17:23.400560+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":291,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:23.400Z","v":0}
2018-09-13T09:17:24.384865+00:00 app[web.1]: {"name":"restbase","hostname":"1376627b-90bb-4581-b8a5-0d7933cf2e66","pid":21,"level":50,"message":"worker died, restarting","worker_pid":298,"exit_code":1,"levelPath":"error/service-runner/master","msg":"worker died, restarting","time":"2018-09-13T09:17:24.384Z","v":0}

Any fix?

Reply to "[IMPORTANT/FASTER] Heroku not working, causes loop not start"

error: Failed at the sqlite3@3.1.13 install script 'node-pre-gyp install --fallback-to-build'.

2
StRiANON (talkcontribs)

Here is my trouble with RESTBase installation, need help :(

P.S.: I added param --unsafe-perm in order to trying fix error, but it didn't help. Without this param I have same error. I tried to install v. 0.18.1 and then 0.15.2 (thought, that mb I need a version, that was released in same time with parsoid, which is 0.6, bcz this is max version, that works on mediawiki 1.30).

npm ERR! Linux 4.4.0-127-generic

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--unsafe-perm"

npm ERR! node v4.2.6

npm ERR! npm  v3.5.2

npm ERR! file sh

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! syscall spawn

npm ERR! sqlite3@3.1.13 install: `node-pre-gyp install --fallback-to-build`

npm ERR! spawn ENOENT

npm ERR!

npm ERR! Failed at the sqlite3@3.1.13 install script 'node-pre-gyp install --fallback-to-build'.

StRiANON (talkcontribs)
Reply to "error: Failed at the sqlite3@3.1.13 install script 'node-pre-gyp install --fallback-to-build'."

Timeout waiting for config in worker

6
Prh47bridge (talkcontribs)

I'm trying to get RESTBase set up on my wiki. I've downloaded it, run npm install and updated the configuration. However, about 3-4 seconds after startup I get the above error message from node_modules/service-runner/lib/worker.js. In case it is relevant I'm running on Ubuntu 14.04 using SQLite. I expect it is something silly I've missed but any pointers would be much appreciated.

Mobrovac-WMF (talkcontribs)

This means that the worker never received the config from the master process, which is rather unusual. Could you try starting your service with `no_workers: 0` set in your config YAML and see if the service works?

Prh47bridge (talkcontribs)

Thanks for your response. I've tried it and that doesn't seem to make any difference. However, if I put "-n 0" on the command line it exits immediately with the message:

const P = require('bluebird'); ^^^^^ {"name":"restbase","hostname":"XXXXX","pid":31218,"level":60,"err":{"message":"Use of const in strict mode.","name":"SyntaxError","stack":"SyntaxError: Use of const in strict mode.\n at Module._compile (module.js:439:25)\n at Object.Module._extensions..js (module.js:474:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n at Module.require (module.js:364:17)\n at require (module.js:380:17)\n at Object.<anonymous> (/usr/local/restbase/node_modules/hyperswitch/index.js:3:18)\n at Module._compile (module.js:456:26)\n at Object.Module._extensions..js (module.js:474:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n at Module.require (module.js:364:17)\n at require (module.js:380:17)\n at Master.BaseService._requireModule (/usr/local/restbase/node_modules/service-runner/lib/base_service.js:309:26)\n at P.map.then.self.serviceReturns (/usr/local/restbase/node_modules/service-runner/lib/worker.js:162:21)\n at tryCatcher (/usr/local/restbase/node_modules/bluebird/js/release/util.js:16:23)","moduleName":"hyperswitch","levelPath":"fatal/service-runner/worker"},"msg":"Use of const in strict mode.","time":"2016-12-24T10:34:40.865Z","v":0}

where XXXXX is the name of my server. There is no other error message.

Without the -n 0 I get:

{"name":"restbase","hostname":"XXXXX","pid":31224,"level":30,"levelPath":"info/service-runner","msg":"master(31224) initializing 4 workers","time":"2016-12-24T10:34:53.531Z","v":0} {"name":"restbase","hostname":"XXXXX","pid":30911,"level":60,"err":{"message":"Object function Object() { [native code] } has no method 'assign'","name":"TypeError","stack":"TypeError: Object function Object() { [native code] } has no method 'assign'\n at /usr/local/restbase/node_modules/service-runner/lib/master.js:207:33\n at Promise._execute (/usr/local/restbase/node_modules/bluebird/js/release/debuggability.js:299:9)\n at Promise._resolveFromExecutor (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:481:18)\n at new Promise (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:77:14)\n at Master._startWorkers (/usr/local/restbase/node_modules/service-runner/lib/master.js:204:16)\n at /usr/local/restbase/node_modules/service-runner/lib/master.js:107:21\n at tryCatcher (/usr/local/restbase/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:510:31)\n at Promise._settlePromise (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:567:18)\n at Promise._settlePromise0 (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:612:10)\n at Promise._settlePromises (/usr/local/restbase/node_modules/bluebird/js/release/promise.js:691:18)\n at Async._drainQueue (/usr/local/restbase/node_modules/bluebird/js/release/async.js:138:16)\n at Async._drainQueues (/usr/local/restbase/node_modules/bluebird/js/release/async.js:148:10)\n at Async.drainQueues (/usr/local/restbase/node_modules/bluebird/js/release/async.js:17:14)\n at process._tickCallback (node.js:448:13)","levelPath":"fatal/service-runner/unhandled"},"msg":"Object function Object() { [native code] } has no method 'assign'","time":"2016-12-24T10:29:09.261Z","v":0}

The above text is in white and is followed by the error message regarding a timeout in red. My bad - I hadn't looked properly at the white text before and should have reported that. Am I missing a dependency?

Mobrovac-WMF (talkcontribs)

Are you using Node >= 4 ? These messages indicate that you might be running it on an older version. Is that the case? Note that RESTBase needs Node >= 4 in order to run properly.

Prh47bridge (talkcontribs)

That would be the problem then! The README.md file says I need 0.10+ and, since I've got 0.10.37, I assumed that would be ok. Suggest someone updates the README! Thanks for your help.

Mobrovac-WMF (talkcontribs)

Oh, right! Will update, thank you for pointing that out.

Need clarification: high volume API timeframe

4
Fasnoosh (talkcontribs)
Ltrlg (talkcontribs)

I guess the “/s” part means “per second”…

Mobrovac-WMF (talkcontribs)

Indeed, '/s' refers to 'seconds'

Fasnoosh (talkcontribs)

Good point. I think I speed-read that, and squished the s's together.

Might be helpful instead to show it like this: requests / sec

Scejja (talkcontribs)

I want to enable switching between wikitext and visualeditor edits. I follow installation instructions but when test restbase with

curl -v http://localhost:7231/localhost/mediawiki/v1/

I get this error.

* Hostname was NOT found in DNS cache

*   Trying 10.0.2.15...

* connect to 10.0.2.15 port 7231 failed: Conexión rehusada

* Failed to connect to 10.0.2.15 port 7231: Conexión rehusada

* Closing connection 0

curl: (7) Failed to connect to 10.0.2.15 port 7231: Conexión rehusada

I can connect to any other url, for example:

curl http://www.google.com

Parsoid is running. I am running wikimedia 1.29.2 on a virtual machine (Debian Jessie). This are some of the parameters for configuring /opt/restbase/config.yaml

    YOUR_WIKI_API_ENDPOINT    =  http://localhost/mediawiki/api.php

    YOUR_PARSOID_SERVER:PORT  =  http://localhost:8142

    YOUR_WIKI_WEBSITE         =  localhost/mediawiki

Any help please?

Thanks in advance

Reply to "Not able to start RESTBase server"

Will it produce a mistake while try to get a sub page?

2
Ken Ookami Horo (talkcontribs)
Lord Aro (talkcontribs)

Anyone know what's going on here? I've got the same issue, only with ElectronPdfRenderer and VisualEditor/parsoid . Mediawiki sites appear to be working fine, so there must be a way around it...

Reply to "Will it produce a mistake while try to get a sub page?"

RESTBase, HTTPS and Mixed Content error

2
Summary by Seb35

On a HTTPS-enabled wiki, RESTBase must be served through HTTPS.

66.133.74.101 (talkcontribs)

I have a mediawiki 1.28.2 site served over HTTPS. Both parsoid and restbase are running and served internally in containers. Parsoid works but when trying to use restbase functionality, I get:

load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=00zsvrj:140 Mixed Content: The page at 'https://freecalifornia.wiki/index.php?title=Category:Help&action=edit' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://restbase:7231/freecalifornia.wiki/v1/transform/wikitext/to/html/Category%3AHelp/10796'. This request has been blocked; the content must be served over HTTPS.

RESTBase load failed: error

Is there anyway to resolve this? Thanks.

Seb35 (talkcontribs)
Wess (talkcontribs)

We are trying to install RESTbase to support the wikieditor-VisualEditor switch. It seems that REST base is working fine (on localhost) but the VisualEditor will not load, providing a http 0 server error.

Also the old Wikieditor will not load, and the console sends 'Uncaught TypeError: Cannot read property 'id' of undefined':

I guess it has to do with a missing configuration but any clue will be very helpful.

Wess (talkcontribs)

Apparently the editor issue was due to another extension that was not up to date. However the VisualEditor http 0 issue is still present...

Mobrovac-WMF (talkcontribs)

If RESTBase is working on localhost, then this is likely a VE-related issue. Try to get help on Extension:VisualEditor . You need to provide them with the versions of MW and VE you are running, along with your LocalSettings.php configuration. Also useful would be to get the stack trace of the error you see on the console.

Wess (talkcontribs)

Thanks. Apparently the issue was pointing VE RestbaseURL to localHost rather than to the external url.

MarcoSwart (talkcontribs)

When I try to use the all-days parameter I get the message

"The date(s) you used are valid, but we either do not have data for those date(s), or the project you asked for is not loaded yet.  Please check https://wikimedia.org/api/rest_v1/?doc for more information."

As the data for the month in question appear to be present: is there other data that is not loaded yet?

Milimetric (WMF) (talkcontribs)
One of the API devs here. The reason is that, unfortunately, we had performance problems when computing the monthly top articles. So we beed to change the algorithm and we haven't gotten to that yet. We have a tracking task in phabricator: https://phabricator.wikimedia.org/T120113
Mobrovac-WMF (talkcontribs)

@MarcoSwart could you provide the full URL you were using?

MarcoSwart (talkcontribs)

I tried several, but the one I really wanted was:

https://wikimedia.org/api/rest_v1/metrics/pageviews/top/nl.wiktionary/all-access/2015/12/all-days

Reply to "all-days parameter Pageviews"