Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. djcyry
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    djcyry

    @djcyry

    GNU/Linux

    1
    Reputation
    77
    Posts
    798
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    djcyry Follow
    Translator GNU/Linux

    Best posts made by djcyry

    • RE: Can't go beyond the "Congratulations" page

      @ron_jeremy said:

      I'm not 100% sure.

      I have "failed" to install NodeBB on a DigitalOcean Droplet about 25 times by now. Seriously, I'm not exaggerating. The people at DO must have wondered "wtf is this guy doing?" because I was creating and destroying Droplets non-stop for days.

      I think what made the difference for me this time was not installing redis or nodejs as per the official NodeBB install document. Instead, I only installed the Chris Lea files.

      I was so tired to trying different methods of installation I actually started keeping a log of what I was doing. I got it down to where only a few lines would change, and I am pretty sure this is what finally worked for me (remember, this is on a DO Droplet running Ubuntu 14.04 x64):

      • add-apt-repository ppa:chris-lea/redis-server
      • apt-get update
      • apt-get install redis-server
      • apt-get update
      • apt-get install git
      • apt-get install build-essential
      • apt-get install imagemagick
      • apt-get install python-software-properties
      • add-apt-repository ppa:chris-lea/node.js
      • apt-get update && apt-get dist-upgrade
      • mkdir nodebb
      • git clone git://github.com/designcreateplay/NodeBB.git nodebb
      • cd nodebb
      • npm install
      • node app --setup
        - only modify first line where I enter my server's address http://your.server.ip.address (without the port) and hit 'Enter' for all other options
      • node app
        - Now you can go to http://your.server.ip.address:4567 to see the forum

      I have try this but when i go to npm install
      i get this :
      E: Unable to correct problems, you have held broken packages.

      PD.
      Got fixed with :

      apt-get remove --purge nodejs npm
      curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
      apt-get install nodejs

      posted in Technical Support
      djcyry
      djcyry

    Latest posts made by djcyry

    • RE: Xenforo to NodeBB

      Check this : https://community.nodebb.org/topic/2006/transfer-xenforo-to-nodebb/3

      posted in Technical Support
      djcyry
      djcyry
    • RE: Getting errors doing npm install --production

      Try this :

      apt-get remove --purge nodejs npm
      curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
      apt-get install nodejs

      posted in Technical Support
      djcyry
      djcyry
    • RE: Fresh install ?

      @pichalite said:

      @djcyry paste the contents of your config.json

      {
      "url": "https://www.nodebb.es",
      "port": "4568",
      "secret": "86df865a-c4a2-4060-be42-be1cdbf1b3cd",
      "database": "redis",
      "redis": {
      "host": "127.0.0.1",
      "port": "6379",
      "password": "pass",
      "database": "1"
      }
      }

      posted in Technical Support
      djcyry
      djcyry
    • RE: Fresh install ?

      @Peter-Zoltan-Keresztes said:

      @djcyry NodeBB address in use, that mean there is a nodebb server started. You should use netstat -ntlp to find out the pid of the process and then kill it with kill -9 <pid>
      Drop db? yes it's recomended if you have an empty database(no data in it). Stop the redis-server delete the dump.rdb and start the redis-server.

      But if i detele the db , the second forum is ok , its works .
      Only i want to make a fresh install for one of them or repair it 😢

      posted in Technical Support
      djcyry
      djcyry
    • RE: Fresh install ?

      @Peter-Zoltan-Keresztes said:

      @djcyry said:

      I have tried 2 options , no results ( i have rebooted the vps , restart forum , restart redis)

      Obviously the masterauth is not the one you need since that is used for the cluster. The one is needed is requirepass. After setting that password restart the redis, update your nodebb config with the redis password you set and restart it.

      I have tried , no results . Drop db ? i have 2 dbs for 2 forums , is saved on the same file** /var/lib/redis/dump.rdb **

      Also i have this on dev mode :
      23/12 19:23 [4940] - error: NodeBB address in use, exiting...
      [cluster] Child Process (4940) has exited (code: 0, signal: null)

      posted in Technical Support
      djcyry
      djcyry
    • RE: Fresh install ?

      @AOKP said:

      You set a password for Redis?
      If not, add it under /etc/redis.conf.

      Now try to start the forum again over ./nodebb start. Be sure to have set a different port for each of your forums!

      This problem came after update , forums have different ports , everything ok , but one of them ,
      have this problem when i acces the topics : https://i.imgur.com/hLiD21J.png

      I have tried 2 options , no results ( i have rebooted the vps , restart forum , restart redis)
      requirepass mypassword
      masterauth mypassword

      posted in Technical Support
      djcyry
      djcyry
    • Fresh install ?

      Hello ,

      First i have 2 forums with nodeBB .
      I have made update to 0.9.3 few days ago and one of them have a problem
      with the database or something . Problem is posted here
      I dont find any solution for that , so i want t install it
      again ,a fresh install 😥 .
      How can i do it ?

      posted in Technical Support
      djcyry
      djcyry
    • RE: SSL : yes or not

      @pichalite said:

      @djcyry changing return 301 https://nodebb.es$request_uri; to return 301 https://www.nodebb.es$request_uri; should do it I think

      I have change it , not redirect .

      posted in General Discussion
      djcyry
      djcyry
    • RE: SSL : yes or not

      @julian
      @supersym

      It·s fixed but , its respond with www and without www , i want to
      redirect all to www. ..any idea? thanks

      in my config /etc/nginx/conf.d/.conf i have :

      server {
      listen 80;
      server_name www.hercio.net hercio.net;
      return 301 https://hercio.net$request_uri;
      }

      server {
      listen 80;
      server_name www.nodebb.es nodebb.es;
      return 301 https://nodebb.es$request_uri;
      }

      I restarting nginx but still responding from both.

      posted in General Discussion
      djcyry
      djcyry
    • RE: SSL : yes or not

      @a_5mith said:

      Here's mine. Compare:

      
      server {
          client_max_body_size 40M;
          listen 443 ssl;
          server_name 35hz.co.uk;
          ssl          on;
          ssl_certificate /etc/letsencrypt/live/35hz.co.uk/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/35hz.co.uk/privkey.pem;
          ssl_stapling on;
          ssl_stapling_verify on;
          add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
      
          location / {
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;
              proxy_pass http://188.226.239.27:4567;
              proxy_redirect off;
      
              # Socket.IO Support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
      
          }
      }
      server {
          client_max_body_size 40M;
          listen 80;
          server_name 35hz.co.uk;
          rewrite        ^ https://$server_name$request_uri? permanent;
      }
      
      

      Thanks @a_5mith .
      Look at this :

      https://hercio.net/ - ssl works without www.
      https://www.hercio.net/ - ssl works with www

      https://nodebb.es/ - ssl works without www.
      https://www.nodebb.es/ - ssl not works with www

      Both forums are hosted on same server, same configuration , etc ...any idea?

      posted in General Discussion
      djcyry
      djcyry