Emoji problem
-
I had a similar issue after upgrading to v1.17. The solution was to update your Node version to ver 14. I hope this helps.
-
Yes I believe the emoji plugin requires Node 14
-
@teemberland said in Emoji problem:
The solution was to update your Node version to ver 14.
Thank you for your help.
This is the installed version,
node.js 14.16
mongodb 2.4.6
need to exchange?! -
@chez what's the output of
./nodebb info
and./nodebb plugins
-
@pitaj said in Emoji problem:
@chez what's the output of ./nodebb info and
C:\Windows\system32>cd nodebb C:\Windows\System32\nodebb>.\nodebb plugins 2021-05-06T20:37:09.353Z [4567/9472] - verbose: [minifier] utilizing a maximum of 3 additional threads Active plugins: * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, disabled) * nodebb-plugin-audio-control (not installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * nodebb-plugin-chat-monitor (not installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * nodebb-plugin-extended-markdown (not installed, enabled) * nodebb-plugin-image-sizer-forum (not installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * nodebb-plugin-poll (not installed, enabled) * [email protected] (installed, enabled) * nodebb-plugin-recent-cards (not installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * nodebb-widget-search-bar (not installed, enabled) C:\Windows\System32\nodebb>.\nodebb info 2021-05-06T20:40:10.595Z [4567/12412] - verbose: [minifier] utilizing a maximum of 3 additional threads version: 1.17.0 Node ver: v14.16.1 git hash: 6b4ef46eadce177d51b609bf75df8acdaab61f0a database: mongo version: 4.2.6 engine: wiredTiger ▲ │ • │ │ • │ │ │ │ │ │ │ • ┼───•─•─•─•─•─•─•───•─•─•─•─•─•───•─•─•─•─•─•─•─•▶ Pageviews, last 24h (min: 0 max: 27) C:\Windows\System32\nodebb>
-
Can you try a rebuild and restart, then clicking the build emoji assets button again?
-
@chez worth a try. I'll have to see if I can reproduce
-
@chez so it doesn't happen with a brand new forum?
-
@pitaj
Will happen in a new forum with an old database
I set up a new forum in Windows Activation Cave
And as soon as I entered my old database
Then the glitch appeared immediately, so I know this is a database related issue, but I do not know what the issue is -
I think this may be the same issue. There's a remedy there, but you'll lose your custom emoji.
Cannot get emojis to work
Hello, I do not seem to get the emojis to work in my forum. The code gets printed but in the preview the icon is not there and is also missing when submitted...
NodeBB Community (community.nodebb.org)
-
@pitaj said in Emoji problem:
I think this may be the same issue. There's a remedy there, but you'll lose your custom emoji.
Cannot get emojis to work
Hello, I do not seem to get the emojis to work in my forum. The code gets printed but in the preview the icon is not there and is also missing when submitted...
NodeBB Community (community.nodebb.org)
Thank you for thinking of me.
Which post number do you mean I will find a solution there? -
@chez here's a direct link: https://community.nodebb.org/post/81730
-
@pitaj
I tried to run the command I said in the command line.C:\Windows\system32>CD NODEBB C:\Windows\System32\nodebb>db.objects.update({ _key:'emoji:customizations:emojis' }, { $set: { _key: 'emoji:customizations:emojis:bkp' } }, { multi: true }) 'db.objects.update' is not recognized as an internal or external command, operable program or batch file. C:\Windows\System32\nodebb>
This is the output.
Surely it should be done differently. I would love if you could explain to me how I should do this ??
Run in a 'jet'
Or withoutCD NODEBB
-
@chez it needs to be executed in a mongo cli shell:
Cannot get emojis to work
@taloche alright can you give me the output of the following, executed in the mongo shell: mongo > use > db.objects.find({ _key:'emoji:customizations:emoji...
NodeBB Community (community.nodebb.org)
-
I ran the command
Step me through exactly what you did.
What's the output of the following?
mongo > use <your nodebb database name> > db.objects.find({ _key:'emoji:customizations:emojis' }) > db.objects.find({ _key:'emoji:customizations:adjuncts' })
I uninstalled the Android package and installed the "nodebb-plugin-emoji-one" package and the emoji works for me.
Weird.
-
@pitaj said in Emoji problem:
תדריך אותי בדיוק מה שעשית.
I ran the command I was told as follows:
I opened cmd as a manager>
mongo>db.objects.update ({_key: 'emoji: customizations: emojis'}, {$ set: {_key: 'emoji: customizations: emojis: bkp'}}, {multi: true})
After to no avail, I removed the android and it worked for me
It turned out that probably in one of the experimental stages I installed the replacement emoji plugin "nodebb-plugin-emoji-one"@pitaj said in Emoji problem:
מה התפוקה של הדברים הבאים?
Microsoft Windows [Version 10.0.19042.928] (c) Microsoft Corporation. כל הזכויות שמורות. C:\Windows\system32>mongo MongoDB shell version v4.2.6 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("cda2452c-954a-4b0e-b086-5e6a6d4164fa") } MongoDB server version: 4.2.6 Server has startup warnings: 2021-05-09T08:00:56.911+0300 I CONTROL [initandlisten] 2021-05-09T08:00:56.911+0300 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. 2021-05-09T08:00:56.912+0300 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. 2021-05-09T08:00:56.912+0300 I CONTROL [initandlisten] --- Enable MongoDB's free cloud-based monitoring service, which will then receive and display metrics about your deployment (disk utilization, CPU, operation statistics, etc). The monitoring data will be available on a MongoDB website with a unique URL accessible to you and anyone you share the URL with. MongoDB may use this information to make product improvements and to suggest MongoDB products and deployment options to you. To enable free monitoring, run the following command: db.enableFreeMonitoring() To permanently disable this reminder, run the following command: db.disableFreeMonitoring() --- > > use <your nodebb database name> ... > db.objects.find({ _key:'emoji:customizations:emojis' }) 2021-05-10T08:54:11.203+0300 E QUERY [js] uncaught exception: SyntaxError: expected expression, got '>' : @(shell):1:0 > > db.objects.find({ _key:'emoji:customizations:adjuncts' }) 2021-05-10T08:54:34.051+0300 E QUERY [js] uncaught exception: SyntaxError: expected expression, got '>' : @(shell):1:0 >