here is the issue open in git
https://github.com/NodeBB/NodeBB/issues/9125
please request to check cluster support before launching update.
here is the issue open in git
https://github.com/NodeBB/NodeBB/issues/9125
please request to check cluster support before launching update.
@baris said in Upgrade from version 1.14.x to 1.15.x got error:
Upgrading these two dependencies should fix this error
"@nodebb/mubsub": "1.7.1", "@nodebb/socket.io-adapter-mongo": "3.1.1",
thanks solved.
I've created issue log in git : https://github.com/NodeBB/NodeBB/issues/8829
@julian critical error forum is down more than 5 hrs now please help
hello
after the upgrade from version 1.14.x to 1.15.x i got this error, what it could be and any info how to solve it. Forum is down after upgrade
2020-11-05T11:12:23.117Z [4568/1522469] - error: uncaughtException: Collection already exists. NS: forum_bb.socket.io
MongoError: Collection already exists. NS: forum_bb.socket.io
at MessageStream.messageHandler (/public_html/nodebb/node_modules/mongodb/lib/cmap/connection.js:268:20)
at MessageStream.emit (events.js:314:20)
at processIncomingData (/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream._write (/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at MessageStream.Writable.write (_stream_writable.js:318:11)
at Socket.ondata (_stream_readable.js:719:22)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:298:12) {"error":{"ok":0,"code":48,"codeName":"NamespaceExists","name":"MongoError"},"stack":"MongoError: Collection already exists. NS: forum_bb.socket.io\n at MessageStream.messageHandler (/public_html/nodebb/node_modules/mongodb/lib/cmap/connection.js:268:20)\n at MessageStream.emit (events.js:314:20)\n at processIncomingData (/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:144:12)\n at MessageStream._write (/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:42:5)\n at doWrite (_stream_writable.js:403:12)\n at writeOrBuffer (_stream_writable.js:387:5)\n at MessageStream.Writable.write (_stream_writable.js:318:11)\n at Socket.ondata (_stream_readable.js:719:22)\n at Socket.emit (events.js:314:20)\n at addChunk (_stream_readable.js:298:12)","exception":true,"date":"Thu Nov 05 2020 11:12:23 GMT+0000 (Coordinated Universal Time)","process":{"pid":1522469,"uid":1001,"gid":1001,"cwd":"/public_html/nodebb","execPath":"/usr/bin/node","version":"v12.19.0","argv":["/usr/bin/node","/public_html/nodebb/app.js"],"memoryUsage":{"rss":148234240,"heapTotal":102612992,"heapUsed":75559232,"external":20261562,"arrayBuffers":18742940}},"os":{"loadavg":[0.82,0.9,0.53],"uptime":1094243},"trace":[{"column":20,"file":"/public_html/nodebb/node_modules/mongodb/lib/cmap/connection.js","function":"MessageStream.messageHandler","line":268,"method":"messageHandler","native":false},{"column":20,"file":"events.js","function":"MessageStream.emit","line":314,"method":"emit","native":false},{"column":12,"file":"/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js","function":"processIncomingData","line":144,"method":null,"native":false},{"column":5,"file":"/public_html/nodebb/node_modules/mongodb/lib/cmap/message_stream.js","function":"MessageStream._write","line":42,"method":"_write","native":false},{"column":12,"file":"_stream_writable.js","function":"doWrite","line":403,"method":null,"native":false},{"column":5,"file":"_stream_writable.js","function":"writeOrBuffer","line":387,"method":null,"native":false},{"column":11,"file":"_stream_writable.js","function":"MessageStream.Writable.write","line":318,"method":"write","native":false},{"column":22,"file":"_stream_readable.js","function":"Socket.ondata","line":719,"method":"ondata","native":false},{"column":20,"file":"events.js","function":"Socket.emit","line":314,"method":"emit","native":false},{"column":12,"file":"_stream_readable.js","function":"addChunk","line":298,"method":null,"native":false}]}
or you can use this 3rd party website
https://www.printfriendly.com
Take screenshots and print it
Hi rebuild and restart nodebb
hello you can create two separate vhosts for 80 and 443 and add redirect to htttps in http (port 80) vhost
rewrite ^(.*)$ https://www.$host$1 permanent;
or
return 301 https://$server_name$request_uri;
try CWP webpanel they have all what you need including email server
you just need to open this ports :
ssh port in/out better to disable root/user login with pass instead use the key
Http protocol ( it is recommended to not use nodebb port publicly ) in/out:
80
443
Email if you're using SMTP in/out:
25
465
try to rebuild and restart sometime it solves the issues.
can you mention the nodejs version and verify all ip connection via this command if you find some suspicious ip ranges:
netstat -an | grep :80 | sort
This is because probably you're in ddos attack, kindly opt for good ddos protection or use nginx and configure and block those ddos.