Using nodeBB also since few weeks
Best posts made by Maciej Bąk 0
-
Generic mobile app, for nodebb forums
Is there a way to use some generic mobile app to use nodeBB software ?
Like tapatalk ? -
RE: Problem while trying to install plugin via admin panel ( missing permissions )
omg nevermind,
I was missing nodebb directory in home
so just mkdir nodebb in home and sudo chown nodebb:nodebb nodebb/ does the job -
RE: Embedding youtube videos
yeah started working here, I had to install it manually from the CLI, because via admin panel its installing some old version.
Latest posts made by Maciej Bąk 0
-
Generic mobile app, for nodebb forums
Is there a way to use some generic mobile app to use nodeBB software ?
Like tapatalk ? -
RE: MongoDB died today CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position
ok problem was because of global chat plugin..
but heh I have running forum on mongo 4.0.14
-
RE: Chat, socket often disconnecting
ok problem was because of global chat plugin
-
RE: MongoDB died today CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position
I have 3.63., I will try to update to 3.7.2 then thanks
-
MongoDB died today CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position
Hi,
today I had problem with nodebb + mongodb
uncaughtException: PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257) MongoError: PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257) at Function.MongoError.create (/var/www/nodebb/node_modules/mongodb-core/lib/error.js:31:11) at /var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:497:72 at authenticateStragglers (/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:443:16) at Connection.messageHandler (/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:477:5) at Socket.<anonymous> (/var/www/nodebb/node_modules/mongodb-core/lib/connection/connection.js:363:20) at Socket.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at Socket.Readable.push (_stream_readable.js:224:10) at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) {"error":{"name":"MongoError","message":"PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257)","ok":0,"errmsg":"PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257)","code":175,"codeName":"QueryPlanKilled"},"stack":"MongoError: PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257)\n at Function.MongoError.create (/var/www/nodebb/node_modules/mongodb-core/lib/error.js:31:11)\n at /var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:497:72\n at authenticateStragglers (/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:443:16)\n at Connection.messageHandler (/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js:477:5)\n at Socket.<anonymous> (/var/www/nodebb/node_modules/mongodb-core/lib/connection/connection.js:363:20)\n at Socket.emit (events.js:198:13)\n at addChunk (_stream_readable.js:288:12)\n at readableAddChunk (_stream_readable.js:269:11)\n at Socket.Readable.push (_stream_readable.js:224:10)\n at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)","exception":true,"date":"Fri Apr 24 2020 14:27:35 GMT+0200 (Central European Summer Time)","process":{"pid":22780,"uid":0,"gid":0,"cwd":"/var/www/nodebb","execPath":"/usr/bin/node","version":"v10.20.1","argv":["/usr/bin/node","/var/www/nodebb/app.js"],"memoryUsage":{"rss":231395328,"heapTotal":175448064,"heapUsed":113421760,"external":55057231}},"os":{"loadavg":[0.77294921875,0.34228515625,0.1728515625],"uptime":2431380},"trace":[{"column":11,"file":"/var/www/nodebb/node_modules/mongodb-core/lib/error.js","function":"Function.MongoError.create","line":31,"method":"create","native":false},{"column":72,"file":"/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js","function":null,"line":497,"method":null,"native":false},{"column":16,"file":"/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js","function":"authenticateStragglers","line":443,"method":null,"native":false},{"column":5,"file":"/var/www/nodebb/node_modules/mongodb-core/lib/connection/pool.js","function":"Connection.messageHandler","line":477,"method":"messageHandler","native":false},{"column":20,"file":"/var/www/nodebb/node_modules/mongodb-core/lib/connection/connection.js","function":null,"line":363,"method":null,"native":false},{"column":13,"file":"events.js","function":"Socket.emit","line":198,"method":"emit","native":false},{"column":12,"file":"_stream_readable.js","function":"addChunk","line":288,"method":null,"native":false},{"column":11,"file":"_stream_readable.js","function":"readableAddChunk","line":269,"method":null,"native":false},{"column":10,"file":"_stream_readable.js","function":"Socket.Readable.push","line":224,"method":"push","native":false},{"column":17,"file":"internal/stream_base_commons.js","function":"TCP.onStreamRead [as onread]","line":94,"method":"onStreamRead [as onread]","native":false}]} 2020-04-24T12:27:35.431Z [4567/22780] - error: PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257) {"name":"MongoError","ok":0,"errmsg":"PlanExecutor killed: CappedPositionLost: CollectionScan died due to failure to restore tailable cursor position. Last seen record id: RecordId(11018257)","code":175,"codeName":"QueryPlanKilled"}
anyone knows why this occured ?
thanks! -
Chat, socket often disconnecting
2020/04/24 10:42:11 [error] 17609#17609: *3657877 connect() failed (111: Connection refused) while connecting to upstream, client: 37.47.200.53, server: ziomalum.pl, request: "GET /socket.io/?EIO=3&transport=polling&t=N6hMVu_ HTTP/2.0", upstream: "http://127.0.0.1:4567/socket.io/?EIO=3&transport=polling&t=N6hMVu_", host: "ziomalum.pl", referrer: "https://ziomalum.pl/recent"
also in browser I see:
VM113:1 GET https://ziomalum.pl/socket.io/?EIO=3&transport=polling&t=N6hMUWl 502
my config.json:
cat config.json { "url": "https://ziomalum.pl", "secret": "...", "database": "mongo", "bindaddress": "localhost", "mongo": { "host": "127.0.0.1", "port": "27017", ... }, "series": true, "socket.io": { "origins": "https://ziomalum.pl:* https://forum.ziomalum.pl:*" } }
can someone help me what is causing this issue ?
thanks! -
RE: Turn off global chat notifications
I dont see any option there, maybe its missing in Persona theme ? hmm
-
Turn off global chat notifications
Is it possible to turn off notifications from global chat ?
nodebb-plugin-global-chat -
RE: subscribe to newsletter/digest widget
@julian said in subscribe to newsletter/digest widget:
You can, here are the rough steps.
In the widget's HTML, make an HTTP GET call to
/api/me/settings
and parse the response to see the value ofdailyDigestFreqOptions
. Actually,/api/me/settings
will only return a redirection URL, but you can replace that with the URL to your actual username instead/api/user/julian/settings
.Then customize your widget as you see fit... maybe only show the widget if the user has daily digest set to
off
. Otherwise, show<a href="/me/settings" class="btn btn-primary">Subscribe to Digest</a>
Nice thanks, will try !
-
RE: Sending emails from admin panel ( ie: verification email again )
@julian said in Sending emails from admin panel ( ie: verification email again ):
Are you using an external emailer plugin, or just the one defined in the admin panel? I don't think the limiter settings apply if you're using a separate plugin for sending emails.
Defined in admin panel and gmail as a service