• Hi 😉

    I can't find answer to my qustion about installation nodebb.

    I would install nodebb on digitalocean server where I have run Apache. I did it with Ghost and now I have:
    mainpage.com
    blog.mainpage.com (Ghost)
    And now I want to have:
    board.mainpage.com with nodebb.

    How can I do it?

    (sorry for my bad english. I hope you understand me 🙂 )


  • This seems good .
    ian.jpg



  • Ok, I did it, nodeBB works but... I can't log in 😞

    adress: http://188.226.241.129:4567/
    You can try, user: demo pw: demo123


  • @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 🙂

Suggested Topics

| |