@stephanbarker you can try this script
https://github.com/Neilpang/acme.sh
Dk
Posts
-
Generating your first Wildcard SSL Certificate via Certbot/Let's Encrypt -
NodeBB Scaling makes Mongodb Dead@baris only get this
Aug 28 16:39:27 hostname mongod[7590]: 2018-08-28T16:39:27.604+0800 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
# free -m total used free shared buff/cache available Mem: 1735 1296 102 3 336 231 Swap: 1019 287 731
#/etc/mongod.conf storage: dbPath: /var/lib/mongodb journal: enabled: true systemLog: destination: file logAppend: true path: /var/log/mongodb/mongod.log net: port: 27017 bindIp: 127.0.0.1 processManagement: timeZoneInfo: /usr/share/zoneinfo security: authorization: enabled
-
NodeBB Scaling makes Mongodb Deadi use this configure
https://docs.nodebb.org/configuring/scaling/
but after a few days nodebb dead
so i check service, found mongodb not running
the mongod log last line show nodebb get lots of post2018-08-28T14:40:05.667+0800 I COMMAND [conn28] command nodebb.objects command: getMore { getMore: 24796725858, collection: "objects", batchSize: 1000, lsid: { id: UUID("xxx") }, $readPreference: { mode: "secondaryPreferred" }, $db: "no debb" } originatingCommand: { find: "objects", filter: { _key: { $in: [ "post:63437".......... "post:98592" ] } }, projection: { _id: 0 }, returnKey: false, showRecordId: false, lsid: { id: UUID("xxx") }, $db: "nodebb" } planSummary: IXSCAN { _key: 1, value: -1 } cursorid:24796725858 keysExamined:840 docsExamined:424 cursorExhausted:1 numYields:10 nreturned:424 reslen:163097 locks:{ Global: { acquireCount: { r: 11 } }, Database: { acquireCount: { r: 11 } }, Collection: { acquireCount: { r: 11 } } } protocol:op_query 242ms
the mongod config is from apt source
i want know what makes mongodb stop, not set daemon let it restart frequently
-
How to disable global chat@pitaj Could you tell me how to delete this chat room?
I use mongodb, every time i open it system crashed
-
Failed to look up latest available version of NodeBBupgrade to v1.8.1 have this problem
@herocat said in error: [acp] Failed to fetch latest version:
@pitaj
me too!then upgrade to v1.8.2
Ubuntu 16.04.03 LTS
run nodebb as a serviceThere have another problem, after upgrade v1.8.1 poster can't get reply notification
-
v1.6.0 permission problems after upgrade/updateI have same problem
after thisgit fetch git checkout v1.6.0 ./nodebb upgrade
first time i found
nodebb-plugin-category-sort-by-title
will make nodebb crash, i disable it
then i foundError: EACCES: permission denied, open '/home/nodebb/build/public/templates/recent.jst'
then
chown -R nodebb /home/nodebb
problem solved
-
Migrate redis to mongodbI setup NodeBB v0.8.x and use redis on 2015, now it upgrade to v1.4.4
Official doc told me use redis, so i set redis maxmemory=300M, but there are too many data in redis, now redis need 1.3G ram
I want migrate data from redis to mongodb, the migration fee still 50$?
I send an email to [email protected] 7 days ago , but no reply -
compose is not floating in page footer@pichalite sloved, i find acp enabled Use a separate route for the composer
but i find some bug, in new page you can't add tag and use the reply button -
compose is not floating in page footerLike this
First one is nodebb-plugin-composer-default, second one is nodebb-plugin-composer-redactor
-
Can't use Reload@pichalite fixed, i delete node_modules and rebuild
-
Can't use Reload@pichalite yes, restart is ok, reload not work
-
Can't use ReloadClick reload don't work
maybe some plugin lost
-
cannot upload profile imageACP settings/uploads
disable Convert profile image uploads to PNG
save and reload -
Have any plugin like this?Set a topic allow users read after user reply this topic
If user not reply this topic, the first floor will hide for this user
@pichalite XD -
How to add own picture in EMOJI EXTENDED pluginOk, i fix it. It's my fault, i forgot change file name:bowtie:
-
How to add own picture in EMOJI EXTENDED pluginI try to add pictures name in !index.list and upload these picture.
But when i post with new picture, it didn't work, open picture's link show
/plugins/nodebb-plugin-emoji-extended/images/t_00.png [[gl*bal:404.title]]
[[gl*bal:404.message, {c*nfig.relative_path}]
DId it have another plugin can do this ?