• @Tomasz-Piątek you created an admin account when you ran ./nodebb setup

    Where it asked you for an admin username and an admin email address and password.


  • ehh... I run it but now i have error.

    This is log:

    info: Enabling 'trust proxy'
    warn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
     warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions".
    
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 188.226.241.129:4567
    info: NodeBB v0.4.3 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: Tue Jun 24 2014 09:35:16 GMT+0000 (UTC)
    info: Initializing NodeBB v0.4.3
    info: * using configuration stored in: /var/www/board.psds.pl/config.json
    info: * using redis store at 127.0.0.1:6379
    info: * using themes stored in: /var/www/board.psds.pl/node_modules
    warn: You have no redis password setup!
    info: [user.startJobs] Registering User Jobs
    info: Enabling 'trust proxy'
    
    warn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
    warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset     plugin="nodebb-plugin-mentions".
    
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 188.226.241.129:4567
    
    [loader] Experienced three start attempts in 10 seconds, most likely an error on startup. Halting.
    

    Anyway I have users but i cant log in.

    I just want to run this awesome script 😞


  • @Tomasz-Piątek You're advised not to run NodeBB from a public folder such as var/www, it's recommended to run it in /home/user/nodebb, outside of public view.

    Can you run ./nodebb dev and paste the output here.


  • @a_5mith I can 🙂

    info: NodeBB v0.4.3 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: Tue Jun 24 2014 10:51:43 GMT+0000 (UTC)
    info: Initializing NodeBB v0.4.3
    info: * using configuration stored in: /var/www/board.psds.pl/config.json
    info: * using redis store at 127.0.0.1:6379
    info: * using themes stored in: /var/www/board.psds.pl/node_modules
    info: Base Configuration OK.
    warn: You have no redis password setup!
    info: [notifications.init] Registering jobs.
    info: [user.startJobs] Registering User Jobs
    info: Enabling 'trust proxy'
    info: [plugins] Initializing plugins system
    info: [themes] Using theme nodebb-theme-lavender
    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 3 js file(s) for plugin nodebb-theme-lavender
    info: [plugins] Loaded plugin: nodebb-widget-essentials
    info: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    info: [plugins] Loaded plugin: nodebb-plugin-markdown
    info: [plugins] Loaded plugin: nodebb-theme-lavender
    info: [plugins] Sorting hooks to fire in priority sequence
    info: [plugins] Plugins OK
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 188.226.241.129:4567
    error: NodeBB address in use, exiting...
    

    Why nodeBB adress in use? 😐 it's not simple 😞


  • @Tomasz-Piątek NodeBB is already running then...

    ./nodebb stop
    ./nodebb dev
    

    I find it pretty simple, but I've installed NodeBB about 15 times through testing droplets and forgetting to create snapshots.


  • @a_5mith Im stupid 🙂 Restart server helped.

    Now it's run: http://188.226.241.129:4567 and still i cant log in (try demo demo123)


  • @Tomasz-Piątek

    Anything in ./nodebb log?


  • @a_5mith said:

    ./nodebb log

    info: Enabling 'trust proxy'
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 188.226.241.129:4567
    info: NodeBB is now listening on: 188.226.241.129:4567
    info: [meta/css] Done.
    info: [meta/js] Compilation complete
    info: NodeBB Ready

    So, its ok?


  • @Tomasz-Piątek I'm not seeing any errors, and I've registered fine, not sure why admin isn't working, no immediate reason why not. :s


  • @a_5mith Yes, registration work fine. But try logout and log in again 🙂 It doesn't work.


  • @Tomasz-Piątek Interesting... It locked me out as if I'd got the wrong password, however before then I was getting Post login aborted through net tools. Can you clarify where you have nodebb installed? Is it in var/www/?


  • @a_5mith /var/www/board.psds.pl and run it as root.


  • @Tomasz-Piątek I don't know if the two are related, but it could be that it's not supposed to be installed there, @julian can confirm if this would make a difference/cause your issues.

    It's also better to create a non root user with sudo priveliges. As root can modify certain aspects, that could cause issues.


  • @a_5mith I will make new user, but now I just want to run and make good it 🙂


  • @Tomasz-Piątek What guide did you follow to install? I recommend the official documentation as it contains all the info you need to set up and run nodebb error free. 🙂


  • @a_5mith I used https://docs.nodebb.org/en/latest/installing/os/ubuntu.html 🙂 I try clean install when I finish work 🙂


  • @a_5mith I install as other user with su privileges, and still this same. http://188.226.241.129:4567/login 😞


  • @Tomasz-Piątek

    Can you run

    ./nodebb stop
    ./nodebb dev 
    

    and paste the output. Where did you install it?


  • @a_5mith I install in /home/nodebb/nodebb/ (nodebb is user)

    dev output:

    Launching NodeBB in "development" mode.
    To run the production build of NodeBB, please use "forever".
    More Information: https://github.com/NodeBB/NodeBB/wiki/How-to-run-NodeBB
    info: NodeBB v0.4.3 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: Tue Jun 24 2014 13:41:35 GMT+0000 (UTC)
    info: Initializing NodeBB v0.4.3
    info: * using configuration stored in: /home/nodebb/nodebb/config.json
    info: * using redis store at 127.0.0.1:6379
    info: * using themes stored in: /home/nodebb/nodebb/node_modules
    info: Base Configuration OK.
    info: [notifications.init] Registering jobs.
    info: [user.startJobs] Registering User Jobs
    info: Enabling 'trust proxy'
    info: [plugins] Initializing plugins system
    info: [themes] Using theme nodebb-theme-lavender
    info: Middlewares loaded.
    info: [plugins] Found 1 CSS file(s) for plugin nodebb-widget-essentials

    warn: [plugins/nodebb-plugin-mentions] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
    warn: [plugins/nodebb-plugin-mentions] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-plugin-mentions".

    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 1 LESS file(s) for plugin nodebb-plugin-markdown
    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-mentions
    info: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    info: [plugins] Loaded plugin: nodebb-plugin-markdown
    info: [plugins] Loaded plugin: nodebb-theme-lavender
    info: [plugins] Sorting hooks to fire in priority sequence
    info: [plugins] Plugins OK
    info: [meta/css] Minifying LESS/CSS
    info: [sounds] Sounds OK
    info: [themes] Compiling templates
    info: [themes] Successfully compiled templates.
    info: NodeBB attempting to listen on: 188.226.241.129:4567
    info: NodeBB is now listening on: 188.226.241.129:4567
    info: [meta/css] Done.
    info: [meta/js] Compilation complete
    info: NodeBB Ready


  • @Tomasz-Piątek Strange, same issue, post login aborts. :s

    cd ~
    redis-server --version
    

    Should see v=x.x.x

    What's there?


Suggested Topics

| |