Hello there,
I'm creating this new topic because I'm totally stuck and unable to log it anymore to my nodebb forum, I spend all the day trying to make things working after severals 0.8.0 updates.
I had first some problems than you can see at the end of this post and also this one
Then after several tries (using git pull classic ./nodebb upgrade ...), I thought is was working until users reported login problem, so I decided to install from scratch (I've done this each time I upgraded because it was never working 1st time)
So I deleted nodebb folder and done
git clone -b v0.8.x https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
npm install
cp /bkp/config.json config.json
cp -rf /bkp/public/uploads/* public/uploads/
./nodebb setup
npm install nodebb-plugin-blog-comments nodebb-plugin-sso-facebook nodebb-plugin-sso-github nodebb-plugin-sso-google nodebb-plugin-sso-twitter nodebb-plugin-code-button nodebb-plugin-color nodebb-plugin-custom-pages nodebb-plugin-editor-plus nodebb-plugin-emailer-ssl-smtp nodebb-plugin-google-analytics nodebb-plugin-gravatar-extended nodebb-plugin-spam-be-gone
./nodebb start
and guess what, I'was totally unable to login even with my local admin (so no SSO) give me
Cannot set property 'user' of undefined
So I restored old 0.7.3 database and
./nodebb stop
/etc/init.d/redis-server stop
cp /var/lib/redis/dump.rdb.bak /var/lib/redis/dump.rdb
/etc/init.d/redis-server start
./nodebb upgrade
./nodebb start
same result unable to login
So I've done the same thing but with v0.7.3 (but keeping this new v0.8.0 fresh install) and restore 0.7.3 database since previous test upgraded to 0.8.0.
cd ..
/etc/init.d/redis-server stop
cp /var/lib/redis/dump.rdb.bak /var/lib/redis/dump.rdb
/etc/init.d/redis-server start
mv nodebb/ nodebb_v080/
git clone -b v0.7.x https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
npm install
cp /bkp/config.json config.json
cp -rf /bkp/public/uploads/* public/uploads/
./nodebb setup
npm install nodebb-plugin-blog-comments nodebb-plugin-sso-facebook nodebb-plugin-sso-github nodebb-plugin-sso-google nodebb-plugin-sso-twitter nodebb-plugin-code-button nodebb-plugin-color nodebb-plugin-custom-pages nodebb-plugin-editor-plus nodebb-plugin-emailer-ssl-smtp nodebb-plugin-google-analytics nodebb-plugin-gravatar-extended nodebb-plugin-spam-be-gone
./nodebb start
Now I can log but I loose 3 days of topics (because I upgraded to v0.8.0 3 days ago and until today authentication was working) and there are some strange things like no homepage to recent (error) and logout click does nothing. So I really would like to work with my latest database
So I stopped nodebb v073, renamed to nodebb_v073 and renamed nodebb_v080 to nodebb
So now my forum is running with latest db content, but nobody can post because we're all unable to login into. TYI, the forum is located here, you can git it a try.
I'm suspecting database user/token/links problem but I do not know if there is a way to reset them
Any guru's help appreciated to resolve this issue, of course I can to test change source code to display mode debug output if you want and even give full access to the VM hosting nodebb because I'm totally out of ideas there
Thank you very much for your help