Thanks a lot @MJ.
Works fine!
Thanks a lot @MJ.
Works fine!
@pitaj Thanks! With node v8.7.0 and npm v5.4.2, I was able to run ./nodebb upgrade
and now I'm a proud member of the nodebb v1.7.4 club.
If I've understood things correctly, you have to activate the emoji-extended plugin, then the emoji-static plugin.
Once you restart your Nodebb, you should seen under Plugins > an emoji static option.
There you'll find a help file to tell you how to set up your own pack.
You have to create an index.json file.
Nevertheless, I'm trying it out now, but I can get it to work...
Finally made it from v0.6.0 to v1.4.1
This was my upgrade route (hosted on DigitalOcean and with a mongo database - shell 2.6.7, node v0.10.38)
*v0.6 to v0.6.1
git fetch
git reset --hard origin/v0.6.x
git describe --tags
./nodebb upgrade
*v0.6.1 to v0.7.0
git checkout v0.7.0
./nodebb upgrade
npm install touch
npm install minimist
npm install colors
*v0.7.0 to v0.7.3
git reset --hard origin/v0.7.x
git describe --tags
./nodebb upgrade
node app --upgrade
*install nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash
*Restart terminal
nvm install v0.10.39
* Change index.js in /root/"yourfoldername"/node_modules/connect-mongo from
*module.exports = require('./src');
*to
*module.exports = require('connect-mongo/es5');
*edit /etc/mongod.conf, to uncomment auth = true line
service mongod restart
mongo
use admin
db.createUser({user: "adminname", pwd: "yourpassword", roles: ["readWrite"]})
use *name of the db where nodebb is installed*
db.updateUser( "adminname",
{
roles : [
{ role : "dbAdmin", db : "*name of the db where nodebb is installed*" },
{ role : "readWrite", db : "*name of the db where nodebb is installed*" }
]
}
)
./nodebb upgrade
./nodebb start
./nodebb stop
*v0.7.3 to v0.8.x
git checkout v0.8.x
git pull
./nodebb upgrade
./nodebb start
./nodebb stop
*v0.8.2 to v0.9.x
git checkout v0.9.x
git pull
./nodebb upgrade
./nodebb start
./nodebb stop
*v0.9.4 to v1.4.1
git checkout v1.x.x
git pull
nvm install v6.2.1
nvm use v6.2.1
./nodebb upgrade
*edit /etc/mongod.conf, to uncomment noauth=true line
This should help to avoid any issue with mmmagic, kerberos, bluebird and the key_1_value_-1 already exist
error.
Et voilà !
Thanks again for your help Julian !
Enjoy your time off @baris and charge up your batteries!
Hi @jimmyc2018
I had the same issue once upgrading my nodebb installation from v1.4.2 to v1.5.1
The trick that worked out for me was to remplace the ip address in the "url" segment by my domain name in the config.json file.
Have you tried that out?
Check out this topic https://community.nodebb.org/topic/11324/error-listen-eaddrinuse-0-0-0-0-4800-looks-like-your-connection-to-nodebb-was-lost-please-wait-while-we-try-to-reconnect/9
changing for example,
"url": "http://localhost:4800", or "http://124.129.xxx.36:4800"
to
"url": "http://www.yourdomainname.com",
@baris whose shoulders are you on?
@yariplus You're right sorry! I checked yesterday quickly on my nodebb set-up and didn't think I had activated any special plugin for that. But after double checking, you're right it's the center align plugin that allows me to do this.
Allows you center align in NodeBB post content. Contribute to Stonebound/nodebb-plugin-align-center development by creating an account on GitHub.
GitHub (github.com)
@JsonHive sorry for not being more clear at first.
I believe that if you go in your profile in the set up page, the first box and option of that page is to force links to open in a new tab.
It would be nice to set up that option as default from the admin panel, but for now that works well.
And if you need alternatives
https://www.rosehosting.com/blog/how-to-install-nodebb-on-ubuntu-18-04/
https://www.youtube.com/watch?v=S7yunbN739s&feature=youtu.be (French)
@NoduleJS I believe if you add this in your control panel in the CSS custom section, your .gifs should show up fine.
.emoji-customizations {
height: 100%;
}
You're the best!
Thanks @baris
with version 3.1.5 for nodebb-plugin-tenor-gif everything is in order.
@zamky Did you go in the ACP to set the rights correctly? If I'm not mistaken, you have to go to Settings, then Upload where there is a complete section regarding Avatars/profile pictures.
@NoduleJS I've hosted my gifs only on my server (public>uploads>emoji) and it works. Did you try the "build emoji assets" button?
You can always try to restart and rebuild your forum.
When you say it doesn't work, do you mean:
I'm actually doing that.
Some changes, can go in the Admin Panel, through Appearance > Custom CSS & HTML. Changes will appear once you save them on that panel. No need to restart Nodebb.
But if you feel like playing with the tpl files, you should find them on your FTP, in the public folder > templates.
For the CSS files, you'll have to look in node_modules > theme used to find them.
In those two cases, you'll have to ./nodebb restart
to see the changes.
Hope it helps!
@zamky did you try to reboot your forum and log off and log back on? Are you sure your user is going to the correct place on his profile to upload an avatar?
@NoduleJS yes in your settings by default on nodebb the max limit for a file is 2048 Ko
Thanks @julian!
I started from my old 0.5.7 version, changed back my group.js to the original one found on Github.
Did
./nodebb stop
git pull
git checkout v0.6.x
git pull
./nodebb upgrade
./nodebb start
Everything went fine but nodebb wasn't lauching... In the end I started over again by disabling all the plugins (I think the mybb importer was the one causing all this fuss) and it worked, I am now in 0.6.0 and it's time for me to pull out the sunglasses to look cool.
Thanks again!
@NoduleJS Yes, I believe you can.
If you use this plugin: https://github.com/NodeBB/nodebb-plugin-emoji#readme
Once installed, you'll have access in your control panel to options in order to set up your own emoticons.
I've added only .gifs and then a simple CSS rule to render their layout does the trick.