• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. ToeiRei
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    ToeiRei

    @ToeiRei

    0
    Reputation
    435
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website toei.stargazer.at

    ToeiRei Unfollow Follow

    Latest posts made by ToeiRei

    • RE: [nodebb-plugin-ns-spoiler] NS Spoiler

      Sorry for necroposting, but it looks like the spoiler plugin got a problem with lists at the current versionof nodebb.

      :::
      
      - some
      - items
      - here
      
      :::
      
      posted in NodeBB Plugins
      ToeiRei
      ToeiRei
    • RE: browser console errors after v1.6.0 upgrade

      Issue confirmed - good catch.

      As far as I can see nginx doesn't touch the headers (if not explicitly told to do so) as it's just proxying stuff...

      Update:

      Got around the issue using:

       location ~ \.jst {
                      add_header              Content-Type    application/javascript;
                      proxy_pass              http://board;
              }
      

      Not nice, but for now it's a solution I am able to live with on that vhost even with
      nginx.conf having set add_header X-Content-Type-Options nosniff;

      posted in Technical Support
      ToeiRei
      ToeiRei
    • RE: Replacing myBB with NodeBB

      @julian it actually worked.

      posted in Technical Support
      ToeiRei
      ToeiRei
    • RE: Login Sessions always 127.0.0.1

      Thanks a ton. Lesson learned: 3 o' clock in the morning isn't good for migration stuff.

      posted in Technical Support
      ToeiRei
      ToeiRei
    • Login Sessions always 127.0.0.1

      Hi guys,

      I got a nasty problem with nodebb and nginx reverse proxying as nodebb logs every IP as 127.0.0.1
      Any ideas what I'm doing wrong?

      config.json

      {
         "url":"http://board.domain.com",
         "use_port": false,
         "secret":"some secret",
         "mongo":{
            "username":"",
            "host":"databasehost",
            "password":"mypw",
            "port":"27017",
            "database":"nodebb"
         },
         "database":"mongo"
      }
      

      nginx:

      server {
              listen 80;
      
              server_name board.domain.com;
              return 301 https://$host$request_uri;
      }
      
      upstream board {
              server 127.0.0.1:4567;
      }
      
      server {
              listen 443 ssl http2;
              gzip off;
      
              ssl on;
              ssl_certificate /path/to/fullchain.pem;
              ssl_certificate_key /path/to/privkey.pem;
              ssl_dhparam ssl/dhparam-board.pem;
      
              server_name board.domain.com;
      
              access_log syslog:server=syslog:12301 graylog2_format;
              error_log syslog:server=syslog:12302;
      
      
              location / {
                      proxy_set_header                X-Real-IP $remote_addr;
                      proxy_set_header                X-Forward-For $proxy_add_x_forwarded_for;
                      proxy_set_header                X-Forward-Proto http;
                      proxy_set_header                Host $http_host;
                      proxy_set_header                X-Nginx-Proxy true;
      
                      proxy_pass                      http://board;
                      proxy_redirect off;
      
                      # Socket.IO
                      proxy_http_version              1.1;
                      proxy_set_header                Upgrade $http_upgrade;
                      proxy_set_header                Connection "upgrade";
      
              }
      
      
      }
      
      
      posted in Technical Support
      ToeiRei
      ToeiRei
    • RE: Replacing myBB with NodeBB

      Okay guys, I got a solution that works somehow: I managed to dig out an old docker image vpetersson/nodebb which actually is 1.0.3
      Using an external mongodb I could set up a running version compatible with the importer mentioned above and actually do the import. After having the import done, I could throw away the container and using a new/fresh install writing config.json by hand and running the updater (./nodebb upgrade)

      Sounds like some dirty work right? But it's the easiest/fastest way I found.

      posted in Technical Support
      ToeiRei
      ToeiRei
    • RE: Replacing myBB with NodeBB

      I'm a bit lost here as it looks like there is no sane way of migration possible.

      posted in Technical Support
      ToeiRei
      ToeiRei
    • RE: Replacing myBB with NodeBB

      @Giggiux NodeBB 1.0.3 seems to need some older version of nodejs or some socket.io jazz being messed up as it denies login complaining about an invalid csrf token. Couldn't resolve that so far.

      posted in Technical Support
      ToeiRei
      ToeiRei
    • Replacing myBB with NodeBB

      Hi guys,

      I am currently running some myBB board which is a bit old-fashioned and I'd like to replace it with nodeBB as it seems like nodeBB fits my needs a bit better than the old board;

      Is there some way to import the myBB data in some way?

      All I have found was some outdated importer that requires some version 1.0.3 of nodeBB which I couldn't get to work.

      Cheers
      Rei

      posted in Technical Support
      ToeiRei
      ToeiRei

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact