- Create Droplet
- Give your preferred Droplet name “Test” (please given the name u want, I will use “Test” for this example.
- Select Droplet Size as required ($5, with 512 MB is sufficient)
- Choose Desire Region for Droplet
- Select Default Image Ubuntu 14.04 X 64
- Ignore SSH Option
- Create Droplet
- Your IP Address/Initial root Password of the Droplet Sent to your email id.
- Login root & password sent. (either use digital ocean console or putty for windows)
- Create a new user “ngsankar”(please give your desired user id and note the password being given) and give “sudo” access to the user with following command at root
a. root@test:~# adduser ngsankar
b. **root@test:~# **adduser ngsankar sudo - logout of root
- login again to the droplet using “ngsankar” and use the password given at the user creation
- Execute the following commands
a. ngsankar@test:~$ sudo apt-get install git nodejs nodejs-legacy npm redis-server imagemagick build-essential
b. ngsankar@test:~$ sudo add-apt-repository ppa:chris-lea/redis-server
c. ngsankar@test:~$ sudo apt-get update
d. ngsankar@test:~$ sudo apt-get install redis-server
e. ngsankar@test:~$ git clone -b v0.8.x https://github.com/NodeBB/NodeBB.git nodebb
f. ngsankar@test:~$ cd nodebb
g. ngsankar@test:~$ npm install --production
h. ngsankar@test:~$ npm start
i. ngsankar@test:~$ ./nodebb setup (Go with default values for all the quesitons here, except for user name / password , you can decide, which will be nodebb admin...)
j. ngsankar@test:~$ ./nodebb start
k. ngsankar@test:~$ node app (check if nodebb is running properly) - Now you can see nodebb @ yourip:4567, and welcome to nodebb !!! !!!
ngsankar
Posts
-
Installing nodebb on digital ocean 0.8v -
[nodebb-plugin-telegram] Telegram Notifications on NodeBB@exodo . thank you . I managed to install and configure. However after first msg is sent from telegram, nodebb got broken and stopped working.
Its strange , there is no reference to the plugin in the error log...luckily i was clearly noting down action i was doing...and guessed something going wrong here...after i removed the plug in , forum got up and running...i am able to reproduce it now..v0.8.2 is not liking something, but dont know what. Hope u r able to find it...I like the plug in..if this is resolved,...i will surely use it..thanks for ur effort...
following is the error log
3/11 13:14 [15929] - info: NodeBB v0.8.2 Copyright (C) 2013-2014 NodeBB Inc.
3/11 13:14 [15929] - info: This program comes with ABSOLUTELY NO WARRANTY.
3/11 13:14 [15929] - info: This is free software, and you are welcome to redistribute it under certain conditions.
3/11 13:14 [15929] - info:
3/11 13:14 [15929] - info: Time: Tue Nov 03 2015 13:14:10 GMT-0500 (EST)
3/11 13:14 [15929] - info: Initializing NodeBB v0.8.2
3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-facebook] Hookfilter:user.delete
is deprecated, please use an alternative
3/11 13:14 [15929] - warn: [plugins/nodebb-plugin-sso-google] Hookfilter:user.delete
is deprecated, please use an alternative
3/11 13:14 [15929] - info: NodeBB Ready
3/11 13:14 [15929] - info: NodeBB is now listening on: 0.0.0.0:4567
3/11 13:14 [15929] - error: TypeError: undefined is not a function
at /home/ngsankar/nodebb/src/user/posts.js:37:12
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:694:17
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:173:37
at /home/ngsankar/nodebb/src/user.js:405:5
at fireFilterHook (/home/ngsankar/nodebb/src/plugins/hooks.js:86:11)
at Object.Plugins.fireHook (/home/ngsankar/nodebb/src/plugins/hooks.js:70:5)
at filterIsModerator (/home/ngsankar/nodebb/src/user.js:400:12)
at /home/ngsankar/nodebb/src/user.js:462:6
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:697:13
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/ngsankar/nodebb/node_modules/async/lib/async.js:248:21)
at /home/ngsankar/nodebb/node_modules/async/lib/async.js:44:16 -
Nodebb 9.3 - Shutting Down and restarting automatically when clicking InstallPlugin - menu on ACPHello,
- I am running on 9.3 and today, when tried to click on Plugins-->Install Plugin menu from ACP, no action was happening (like bringing in plugin list)
- So I was checking the log file on the server and noticed whenever I clicked Install Plugin menu from ACP, nodebb automatically shuts itself down and restarting.
I could not understand any obvious error...some warning about couple of plugin compatibility are show in log, but that were always there for a month and it did not cause any issue so far till now.
In the last weeks or so, I installed few plugins , but i did not realize this issue or this was never there till today
-
Uninstalled -- nodebb-plugin-google-adsense
-
Installed -- nodebb-plugin-adsense
-
Installed -- nodebb-plugin-ns-likes
-
Installed -- nodebb-widget-ns-stats
Following is the log file output, Pls help...
15/3 15:16 [13039] - info: NodeBB Ready
15/3 15:16 [13039] - info: Enabling 'trust proxy'
15/3 15:16 [13039] - info: NodeBB is now listening on: 0.0.0.0:4567
15/3 15:18 [13039] - error: TypeError: Cannot assign to read only property 'id' of <
at Object.Plugins.normalise (/home/ngsankar/nodebb/src/plugins.js:226:20)
at Request._callback (/home/ngsankar/nodebb/src/plugins.js:217:12)
at Request.self.callback (/home/ngsankar/nodebb/node_modules/request/request.js:198:22)
at Request.emit (events.js:110:17)
at Request.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:1035:10)
at Request.emit (events.js:129:20)
at IncomingMessage.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:962:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
TypeError: Cannot assign to read only property 'id' of <
at Object.Plugins.normalise (/home/ngsankar/nodebb/src/plugins.js:226:20)
at Request._callback (/home/ngsankar/nodebb/src/plugins.js:217:12)
at Request.self.callback (/home/ngsankar/nodebb/node_modules/request/request.js:198:22)
at Request.emit (events.js:110:17)
at Request.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:1035:10)
at Request.emit (events.js:129:20)
at IncomingMessage.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:962:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
15/3 15:18 [13039] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
15/3 15:18 [13039] - info: [app] Database connection closed.
15/3 15:18 [13039] - info: [app] Web server closed to connections.
15/3 15:18 [13039] - info: [app] Shutdown complete.
15/3 15:18 [13064] - info: Time: Tue Mar 15 2016 15:18:20 GMT+0530 (IST)
15/3 15:18 [13064] - info: Initializing NodeBB v0.9.3
15/3 15:18 [13064] - info: [database] Checking database indices.
15/3 15:18 [13064] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
15/3 15:18 [13064] - warn: [plugins/nodebb-plugin-sso-google] Hookfilter:user.delete
is deprecated, please use an alternative15/3 15:18 [13064] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run
./nodebb reset -p PLUGINNAME
to disable it.- nodebb-plugin-telegram-notifications
- nodebb-plugin-recent-cards
15/3 15:18 [13064] - info: [User-Invitations] Initializing User-Invitations...
15/3 15:18 [13064] - info: [User-Invitations] Synced settings: restrictRegistration=0, invitedUsers=[], defaultInvitations=25, inviteGroup=registered-users
15/3 15:18 [13064] - info: NodeBB Ready
15/3 15:18 [13064] - info: Enabling 'trust proxy'
15/3 15:18 [13064] - info: NodeBB is now listening on: 0.0.0.0:4567 -
[nodebb-plugin-ns-likes] NS Likes@Nicolas Thank you, i could make it work with this help. It works great.