This is an old topic, but for those wondering, this is best done via the registration queue.
From there you can see all other accounts with matching IPs and approve/deny as needed.
Thanks @mootzville . Only changes I made are installing a few themes and plugins. I have not made any manual edit to any of the files as far as I can remember.
git status result
new file: public/less/mixins.less
I must also thank @frissdiegurke who tried to help me in between.
Restored using snapshotp and git status gave
[email protected]:~/home/nodebb# git status
nothing added to commit but untracked files present (use "git add" to track)
[email protected]:~/home/nodebb#
@meetdilip, open npm-shrinkwrap.json
with a text editor and replace its content with the contents of this file.
After you've done that do a git add npm-shrinkwrap.json
, git commit -am "updated files"
and git push
and things should be working.
@meetdilip said:
Restored using snapshotp and git status gave [...]
That just means that the public/google-adsense.config.json
isn't being tracked by git (it isn't under source control). Most likely that file was added by some NodeBB plugin.
You can either add it to the git repo using git add pulic/google-adsense.config.json
and then git commit -am "added adsense config file"
and git push
to update the remote repository, or ignore that message.
So nice of you @fuzzmz . I am just need to try the last step then, right ?
@fuzzmz said:
git add pulic/google-adsense.config.json
[email protected]:~# git add pulic/google-adsense.config.json
fatal: Not a git repository (or any of the parent directories): .git
[email protected]:~# cd home/nodebb
[email protected]:~/home/nodebb# git add pulic/google-adsense.config.json
fatal: pathspec 'pulic/google-adsense.config.json' did not match any files
[email protected]:~/home/nodebb#
@meetdilip it should be public
instead of pulic
. Sorry for the typo
Techiewiz running on 0.5.1 Thanks to @fuzzmz and all.
@meetdilip Glad to hear.
Also, I have been reading a great book about git you might want to look into. It's called 'Version Control with Git' and it's written by a couple of guys that work at github. It's published by O'Reilly.
Thanks @mootzville
A free and really good alternative to the book mentioned by @mootzville is Git - Book. It teaches best practices, as well as providing both in depth information and quick reference.
error: Cannot find module '../public/src/templates'
Error: Cannot find module '../public/src/templates'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at Object.<anonymous> (E:\nodejs\tpc\node_modules\nodebb-plugin-cash\library
.js:7:28)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
error: Connection Closed By Application
error: undefined
info: [app] Database connection closed.
Don't know why it always shows up this error when I start the nodeBB after upgrade. My git say everything is up-to-date.
@Hưng-Thành-Nguyễn I'm wagering the "cash" plugin is not compatible with the latest version. You might want to remove it:
./nodebb reset plugin="nodebb-plugin-cash"
@julian thank you so much, but it's still very painful to hear that. It's quite important plugin.
@psychobunny can you fix this issue for new nodebb? I can manage to try, but hopefully it will be fixed by you
@julian it seems to refuse to load. This is the log when I run nodebb in development mode:
info: NodeBB v0.5.2 Copyright (C) 2013-2014 NodeBB Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Thu Oct 02 2014 13:44:36 GMT-0400 (EDT)
info: Initializing NodeBB v0.5.2
info: * using configuration stored in: /root/tpc/config.json
info: * using mongo store at 127.0.0.1:27017
info: * using themes stored in: /root/tpc/node_modules
info: Base Configuration OK.
morgan deprecated morgan(options): use morgan("default", options) instead src/logger.js:128:22
morgan deprecated default format: use combined format src/logger.js:128:22
info: [notifications.init] Registering jobs.
info: [user.startJobs] Registering User Jobs
info: Enabling 'trust proxy'
[cluster] Child Process (1323) listening for connections.
info: [themes] Using theme nodebb-theme-lavender
info: [plugins] Initializing plugins system
info: Middlewares loaded.
info: [plugins] Found 1 CSS file(s) for plugin nodebb-widget-essentials
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-markdown
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-markdown
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-mentions
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-mentions
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-desktop-notifications
warn: [plugins/nodebb-plugin-imgshow] staticDir is deprecated, use staticDirs instead
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-imgshow
warn: [plugins/nodebb-plugin-spoilers] staticDir is deprecated, use staticDirs instead
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-spoilers
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spoilers
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-emoji-extended
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-emoji-extended
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-cards
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-cards
info: [plugins] Found 2 LESS file(s) for plugin nodebb-plugin-poll
info: [plugins] Found 6 js file(s) for plugin nodebb-plugin-poll
info: [plugins] Found 3 CSS file(s) for plugin nodebb-plugin-gallery
info: [plugins] Found 6 js file(s) for plugin nodebb-plugin-gallery
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-shoutbox
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-shoutbox
warn: [plugins/nodebb-plugin-featured-threads] staticDir is deprecated, use staticDirs instead
info: [plugins] Found 1 CSS file(s) for plugin nodebb-plugin-featured-threads
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-spam-be-gone
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-analytics
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-adsense
info: [plugins] Found 1 LESS file(s) for plugin nodebb-plugin-youtube-lite
info: [plugins] Found 2 js file(s) for plugin nodebb-plugin-youtube-lite
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-beep
info: [plugins] Found 1 js file(s) for plugin nodebb-plugin-buttons-galore
info: [plugins] Found 3 js file(s) for plugin nodebb-theme-lavender
info: [plugins] Loaded plugin: nodebb-widget-essentials
info: [plugins] Loaded plugin: nodebb-plugin-markdown
info: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
info: [plugins] Loaded plugin: nodebb-plugin-mentions
info: [plugins] Loaded plugin: nodebb-plugin-dbsearch
info: [plugins] Loaded plugin: nodebb-plugin-imgur
info: [plugins] Loaded plugin: nodebb-plugin-sso-google
info: [plugins] Loaded plugin: nodebb-plugin-sso-facebook
info: [plugins] Loaded plugin: nodebb-plugin-desktop-notifications
info: [plugins] Loaded plugin: nodebb-plugin-imgshow
info: [plugins] Loaded plugin: nodebb-plugin-spoilers
info: [plugins] Loaded plugin: nodebb-plugin-emoji-extended
info: [plugins] Loaded plugin: nodebb-plugin-imgbed
info: [plugins] Loaded plugin: nodebb-plugin-cards
info: [plugins] Loaded plugin: nodebb-plugin-poll
info: [plugins] Loaded plugin: nodebb-plugin-gallery
info: [plugins] Loaded plugin: nodebb-plugin-shoutbox
info: [plugins] Loaded plugin: nodebb-plugin-featured-threads
info: [plugins] Loaded plugin: nodebb-plugin-spam-be-gone
info: [plugins] Loaded plugin: nodebb-plugin-google-analytics
info: [plugins] Loaded plugin: nodebb-plugin-google-adsense
info: [plugins] Loaded plugin: nodebb-plugin-color
info: [plugins] Loaded plugin: nodebb-plugin-youtube-lite
info: [plugins] Loaded plugin: nodebb-plugin-beep
info: [plugins] Loaded plugin: nodebb-plugin-buttons-galore
info: [plugins] Loaded plugin: nodebb-theme-lavender
info: [plugins] Sorting hooks to fire in priority sequence
warn: [plugins] The `action:app.load` hook is deprecated in favour of `static:app.load`, please notify the developers of the following plugins:
* nodebb-plugin-imgshow
* nodebb-plugin-poll
* nodebb-plugin-featured-threads
* nodebb-plugin-spam-be-gone
* nodebb-plugin-google-adsense
info: [hotswap] Router with id `plugins` replaced successfully
info: [plugins] All plugins reloaded and rerouted
info: [plugins] Plugins OK
info: [meta/css] Minifying LESS/CSS
warn: [meta/css] File not found! nodebb-plugin-featured-threads/css/main.css
info: NodeBB attempting to listen on: 0.0.0.0:4567
info: [hotswap] Router with id `auth` replaced successfully
info: NodeBB is now listening on: 0.0.0.0:4567
[cluster] Child Process (1323) listening for connections.
info: [sounds] Sounds OK
info: [meta/templates] Compiling templates
info: [meta/css] Done.
info: [meta/css] Committing stylesheet (acpCache) to disk
info: [themes] Successfully compiled templates.
info: [meta/css] Stylesheet (acpCache) committed to disk.
info: [meta/css] Done.
info: NodeBB Ready
info: [meta/css] Committing stylesheet (cache) to disk
info: [socket] uid 1 (HI6Q070wYm8fFNx_9rBw) has successfully reconnected.
info: [meta/css] Stylesheet (cache) committed to disk.
info: [meta/js] Successfully minified.
info: [meta/js] Retrieved Mapping.
info: [meta/js] Compilation complete
info: [meta/js] Committing minfile to disk
info: [meta/js] Client-side minfile and mapping committed to disk.
... that log actually looks like it's loading fine for me
NodeBB inaccessible? What do you see in the log when you try?
@julian you can check out it here: http://chuyentranphu.com/
It seem not loading all the file.
In adminCP I can't do anything, can't click links and everythings.
This is when I tried to stop it.
[email protected]:~/tpc# ./nodebb stop
./nodebb: line 15: kill: (1271) - No such process
Stopping NodeBB. Goodbye!
./nodebb: line 42: kill: (1271) - No such process
@julian never mind, I have figured out that another plugin make it unable to load.
nodebb-plugin-cards
So we have 2 plugin which not compatible with new version
nodebb-plugin-cards
nodebb-plugin-cash
I will make a topic to inform this