How to install botpress on linux server

#1

How to install botpress on linux server

#2

@patelmaulikmca just unzip the download and run \bp.exe

Ensure you have NodeJS installed.

#3

@patelmaulikmca We have instructions for different methods of deploying on linux servers in the documentation: https://botpress.io/docs/deploy/hosting/

Download the linux zip file here: https://botpress.io/download and unzip on your linux box. Start it with ./bp

@jainsourabh2 In fact NodeJS isn’t required, it’s already bundled with Botpress when you download the binary ! We wanted to make it as frictionless as possible to get started quickly

#4

Yes Node js installed

#5

As @allardy mentioned , NodeJS isnt required. You can refer more documentation here : https://botpress.io/docs/installation/

#6

give this type error when use bp start
Knex: run
$ npm install sqlite3 --save
Error: Cannot find module ‘sqlite3’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:649:15)
at Function.Module._load (internal/modules/cjs/loader.js:575:25)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Client_SQLite3._driver (/usr/lib/node_modules/botpress/node_modules/knex/lib/dialects/sqlite3/index.js:75:12)
at Client_SQLite3.initializeDriver (/usr/lib/node_modules/botpress/node_modules/knex/lib/client.js:219:26)
at Client_SQLite3.Client (/usr/lib/node_modules/botpress/node_modules/knex/lib/client.js:113:10)
at new Client_SQLite3 (/usr/lib/node_modules/botpress/node_modules/knex/lib/dialects/sqlite3/index.js:58:20)
at Knex (/usr/lib/node_modules/botpress/node_modules/knex/lib/index.js:60:34)
at /usr/lib/node_modules/botpress/src/database/index.js:47:17
at Generator.next ()
at step (/usr/lib/node_modules/botpress/lib/database/index.js:37:202)
at /usr/lib/node_modules/botpress/lib/database/index.js:37:459
at Promise._execute (/usr/lib/node_modules/botpress/node_modules/bluebird/js/release/debuggability.js:313:9)
at Promise._resolveFromExecutor (/usr/lib/node_modules/botpress/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/usr/lib/node_modules/botpress/node_modules/bluebird/js/release/promise.js:79:10)

#7

@patelmaulikmca Can you show a full screenshot of the complete message, including the startup command ? What is your OS version, exactly?