@prog Hi there,
Sorry I did not updated this post and crossed my fingers too quickly, it worked fine until expiration of my token (not sure ??)
I opened a new topic https://community.nodebb.org/topic/6397/need-guru-s-help-unable-to-log-on-fresh-0-8-0-even-with-local-admin because I' could not log in anymore on my forum (even with local admin),
Any ideas would save my live
Charly86
Posts
-
Registration via Google: failed to fetch user profile -
SSL on login/register pagesAnd for those who're interested here the trick on nginx (mine on /etc/nginx/sites-enables/default) for nodebb
################################# # community.yourgreatdomain.com # ################################# server { listen 80; server_name community.yourgreatdomain.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; server_name community.yourgreatdomain.com; ssl_certificate /etc/ssl/community.yourgreatdomain.com.chain.crt; ssl_certificate_key /etc/ssl/community.yourgreatdomain.com.key; location / { proxy_pass http://localhost:4567/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_redirect off; proxy_buffering off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
-
[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)@watomsk
Looking at the architecture, I'm pretty sure it should work on different servers -
Clear cache after 0.8.0 upgrade & can NOT login@julian
Twitter SSO pplugins has also problem on 0.8.0Internal error. Oops! Looks like something went wrong! /auth/twitter/callback Cannot set property 'user' of undefined
-
NodeBB v0.7.3Ok guys, self answer after v0.8.0 upgrade,
I must admit this this the 1st no pain upgrade that I ever done with nodebb (each time took me hours to solve upcoming problems and re install all), but this time, it was a success and solved my previous issue. Here what I've done for interested people
cd /usr/local/share/nodebb ./nodebb stop cd .. cp -r nodebb/ nodebb_old cp /var/lib/redis/dump.rdb /var/lib/redis/dump.rdb.bak cd nodebb git fetch git checkout v0.8.x git merge origin/v0.8.x #(nothing done already up to date) git pull #(nothing done already up to date) ./nodebb upgrade ./nodebb start
and voila! works fine
-
Can't upload image if option "restrict file type" is set when I do post creationOk guys, solved !!!!
Just went into source file and done some debugging. No luck I had, in fact type we need to put in this field should match I think mime type and this one can be different than file extension.
So if you want to upload .jpg (the tests I've done) you need to put in this box
jpeg
(type) and notjpg
(file extension)
and if you want to allow upload upload of .jpg and .png (file extension is the same than type for this one) you need to comma separated so
jpeg,png
may be changing text above this field would allow users to understand betterI'm now working with the following configuration
jpeg,png,gif
works like a charm -
Clear cache after 0.8.0 upgrade & can NOT loginOk guys, seems (from my low knowledge about auth) that since 0.8.0 only oauth2 is used ? and I think before it was not mandatory and was working because I didn't changed anything on auth provider (google, twitter, FB) between the upgrade on 0.7.3 to 0.8.0
So after log investigation I get back on all app config, not it nodebb but on external application for developer on google, twitter, facebook and adjusted settings :
- on FB dev page I added my email and enabled visibility to anyone => now Works
- on google dev dashboard I enabled google+ API (it was working without this before, strange) => now works
- I also changed into nodebb config.json url from http://site.com to https://mysite.com (even if nginx redirect all http to https) and solved my twitter problem
Now all seems to auth fine, yeah!!
-
Registration via Google: failed to fetch user profileOk guys, seems (from my low knowledge about auth) that since 0.8.0 only oauth2 is used ? and I think before it was not mandatory and was working because I didn't changed anything on auth provider (google, twitter, FB) between the upgrade on 0.7.3 to 0.8.0
So after log investigation I get back on all app config, not it nodebb but on external application for developer on google and adjusted settings :
- on google dev dashboard I enabled google+ API (it was working without this before, strange) => now works
Now all seems to auth fine, yeah!!
-
chat notification problem on V 0.9.0@julian
Sorry forgot this one, mail notification settings says
"Send an email if a new chat message arrives and I am not online"
And I receive one even if I'm connected (but not on same tab) which does not match option configuration -
easy nodebb upgrade processGuys,
I just upgraded from 1.0.0 to latest (Control panel told me new version 1.0.1-auto0) so I did
./nodebb stop git fetch git reset --hard origin/v1.x.x ./nodebb upgrade #(could take up to 5 min) ./nodebb start
Now control panel tells me I'm on V1.0.2 all is fine