Hi, just wanted to tell everyone that I'm working on the following issues:
- v1.6.0 compatibility
- Events have -1 day
- Start / end date pickers displaying wrong
Hi, just wanted to tell everyone that I'm working on the following issues:
@valentine-solo NodeBB doesn't work that way. It's not like PHP.
Looks like we should be using https://schema.org/breadcrumb
instead anyways. These attributes only exist for search engine robots anyways, I don't know why Firefox is complaining.
Where are the server-specific settings? You should have it in a separate file in sites_available
and link it into sites_enabled
.
Ideally you should run everything without root, and under the nodebb account. Everything besides systemctl
commands, that is. @julian pointed out above how best to run bash under a different user: su - nodebb
@adam-poniatowski because templates are done differently in v1.6.0, because it uses Benchpress.
What does npm -v
report? And yes, Benchpress requires Node 6 or later.
@adam-poniatowski what is your service file? My guess is that it starts nodebb under the nodebb
user. Running ./nodebb upgrade
as root is going to mess stuff up because it will change the ownership of certain files and directories during the build step.
What is your nginx config? Did you follow a tutorial? Which tutorial?
Yes, it's the source of the problem. Either use root/sudo for everything, or use it for nothing.
Are you using sudo at all during the upgrade?
Edit: sudo or root
If you upgraded to Node.js version 8, you will need to downgrade npm with npm i -g npm@4
I'd just try backing up your db and uploaded files, and reinstalling nodebb fresh.
But if you wanna try other things first, go ahead.
Did you make a backup before upgrading? My next step would be restoring the db backup.
You might try db.objects.reIndex()
No that should work. The error you have here is related to file permissions.
What did you chown? Did you everything in nodebb
or just everything in nodebb/build
?
Please provide any error messages both client and server side if there are any.
If you run ./nodebb build
and ./nodebb start
as root, you shouldn't have a problem. You need to run all of the commands as the same user.
Did you run it with sudo
? That would mean those files are owned by root.