@ufan0 said in Excuse me, how to set a nodebb two domain address.:
Like this? it works.
[email protected]:~/xxx# cat config.json { "url": "http://xxx.com", "url": "http://www.xxx.com", ... }
This is wrong,please don't be misled by me,sorry.
Every time I do an upgrade it does not go well. There is always some kind of error even though I am following the upgrade process from the docs.
I just tried upgrading from v0.7.1 to v0.7.2. The first thing I got was an npm error when I ran the ./nodebb upgrade script. Tried running it again, it worked this time don't know why and how. Tried starting NodeBB with ./nodebb start. It wouldn't start with an uglify.js module error. I install uglify.js, now I get a 503 error.
@julian It was actually 500 not 503.
- error: Error: Failed to lookup view "500" in views directory "/home/pichalite/nodebb/public/templates"
at EventEmitter.render (/home/pichalite/nodebb/node_modules/express/lib/application.js:579:17)
at ServerResponse.render (/home/pichalite/nodebb/node_modules/express/lib/response.js:961:7)
at ServerResponse.res.render (/home/pichalite/nodebb/src/middleware/middleware.js:337:10)
at /home/pichalite/nodebb/src/routes/index.js:223:9
at /home/pichalite/nodebb/src/middleware/middleware.js:192:12
at /home/pichalite/nodebb/node_modules/async/lib/async.js:589:17
at done (/home/pichalite/nodebb/node_modules/async/lib/async.js:126:15)
at /home/pichalite/nodebb/node_modules/async/lib/async.js:32:16
at /home/pichalite/nodebb/node_modules/async/lib/async.js:586:21
at EventEmitter.render (/home/pichalite/nodebb/node_modules/express/lib/application.js:581:14)
Error: Failed to lookup view "500" in views directory "/home/pichalite/nodebb/public/templates"
I reset the theme to vanilla too after I got this error to eliminate the possibility of custom theme error.
@pichalite the composer has a bug. it does not scroll when I am typing a long message, the page scrolls instead. The composer starts scrolling after it reaches the end of the page.
@pichalite Did you update your theme to specify the proper base theme? https://community.nodebb.org/topic/6098/on-changing-the-default-theme-to-persona
i tried upgrading using nodebb upgrade, it still shows 0.7.1, its not a git repo, so i cant do a fetch and checkout
Even I was having trouble installing the update using the method listed in the docs.
I did a little searching and found @julian had mentioned a step of installing dependencies after the fetch, etc and prior to running ./nodebb upgrade
somewhere in this forum as a reply to a previous update issue.
He had asekd to run npm i
to install dependencies and that is what is working for me. I used it to update from v0.7.0.0 to v0.7.1.0 and also to v0.7.2.0.
@pichalite said:
Every time I do an upgrade it does not go well. There is always some kind of error even though I am following the upgrade process from the docs.
Same here. Haven't had one work yet, actually. Not since 0.3 I think.