@phenomlab thank you very much for the assistance Mark, massively appreciated as always.
The great thing about this is it’s all documented for other NodeBB users that come looking for solutions 😃.
Looks far better 🤝👍🏻.
@cagatay If the upgrade appears to have worked, then you don’t need to run it again, but I would certainly take a look at the nodebb-plugin-emoji
issue in more detail as this is 100% a permissions issue
@phenomlab faced same problem for upgrade to 2.8.5
Mark do you have this plugin on Sudonix? And which version are you running?
@cagatay Yes, I do, but it’s not a version issue - it’s permissions.
@phenomlab permission for user right? so i did not change any permison for nodebb user so why it caused or what i should do for to give permision to nodebb user? till 2.8.2 nodebb user can upgrade any permission case what happened with 2.8.4
@cagatay are you able to remove that plugin and reinstall or does it present the same error?
@phenomlab yeap i removed the plugin and reinstall it problem is fixed.
@phenomlab i deleted emoji plugin but while upgraded to 2.8.6 faced same problem.
cant understand whats going on.
@cagatay can you provide the logs?
@phenomlab from now like this;
but when upgrading;
@cagatay does it work if you remove this plugin, perform the upgrade, and then put it back afterwards?
@phenomlab i removed the plugin then upgraded but faced same eror…
Maybe reset permissions on all nodebb directory like this ?
chown -R yournodebbuser:yournodebbuser /home/youruser/yournodebbdirectory
chown -R nodes:nodes /home/nodes/nodebb
because I see permissions error on /home/nodes/nodebb/builds/....
in the last screenshot
And .upgrade and or rebuild nodebb
??
@DownPW yes, but we really need to understand why and how these permissions are changing.
@DownPW @cagatay I found the reason why. This plugin is in fact faulty. I installed it myself because I wanted to add that feature to Sudonix. Not only does it push socket.io through the roof (and adds at least 2 seconds lag to each transaction)
It also is impossible to remove by using the GUI - see my experience below, which is exactly the same as @cagatay
Not great. The only way to remove this cleanly is from the CLI
npm remove @nodebb/nodebb-plugin-reactions
./nodebb build
./nodebb restart
I remember flagging this a while back - it’s here
https://github.com/NodeBB/NodeBB/issues/10582
And here (one I raised)
https://github.com/NodeBB-Community/nodebb-plugin-reactions/issues/8
So, my advice is NOT to use this plugin currently as the unnecessary load it places on your forum isn’t worth the functionality it provides.
@phenomlab i dont have this plugin Mark. So the problem is currently continue.
@cagatay Sorry - my mistake.
@phenomlab not fixed yet.
@cagatay are you installing this plugin as root, or as the user running NodeBB?
@phenomlab as user.
as a root i dont want to use for Nodebb.
on the other hand the forum is working normally. it is happening just when i m upgrading.
@cagatay I’m not able to replicate this issue within my test environment. What permissions are set for the file and folders on this specific plugin?