Broken forum after migration

General Discussion
  • I migrated my nodebb forum to a digital ocean droplet from my local machine. I made a backup of my mongodb database and transfered it to my droplet via ssh. Rebuilt and configured nodebb using that database. When I navigate to the forum with my browser (chrome and firefox) all of the data from my local machine is there. However the header is broken and there are no tools such as admin settings button. A notification box in the bottom right says I lost my connection and it is attempting to reconnect. But I can still navigate all of the categories just fine here is a screenshot

    does anyone have experience migrating a nodebb forum that may be able to give me a direction to look as to where i might find a solution?

  • @rimann make sure that config.json contains the correct url value. It should be set to exactly the URL at which you access the site. If you're just testing, I recommend using ./nodebb dev to start NodeBB.

  • Thank you for the tip. I actually remember reading to make sure and do that but I forgot. Unfortunatly after doing this I recieve this type error:
    TypeError: Cannot read property 'replace' of null at setupConfigs (/home/riley/nodebb/src/start.js:96:68) at Object.start.start (/home/riley/nodebb/src/start.js:13:2) at Object.<anonymous> (/home/riley/nodebb/app.js:97:25) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.runMain (module.js:611:10) at run (bootstrap_node.js:387:7)

  • @rimann that probably means that you set the url value to something invalid. What did you set it to? If it's something you'd rather not share, you can PM me instead.

  • Solution

    Thanks to PitaJ I have the solution for anyone else who encounters this problem. Make sure the url in the conf.json is correct. Also make sure that the ip adress is prefixed with http://

Suggested Topics

  • 3 Votes
    16 Posts

    @Johan-Joseph šŸ‘Œ :nod:


    (an emoji is worth at least 5-10 words, no?)

  • 0 Votes
    1 Posts

    I'm trying to understand the legal implications of allowing EU residents to create accounts on a US based forum. Is it sufficient to place verbiage in the ToS that requires acceptance of data residency in the US?

    For example

    We care about data privacy and security. By using the Site, you agree to be bound by our Privacy Policy which is incorporated into these Terms of Use. Please be advised the Site is hosted in the United States. If you access the Site from any other region of the world with laws or other requirements governing personal data collection, use, or disclosure that differ from applicable laws in the United States, then through your continued use of the Site, you are transferring your data to the United States, and you agree to have your data transferred to and processed in the United States.

    Are there any other clauses that need to be clearly identified? We do state the identifiers collected when creating an account

    All data collected is solely for the purpose of providing unique indentifiers in order to allow for the creation of a user account that is then used to access our services. None of this data is shared with 3rd parties, and our own usage is restricted to informational messaging around the operation and functionality of the application. We may ask for and store the following data elements as part of our Sign Up process:

    Username (can be fully anonymous)
    A valid email address
    A valid phone number for dual factor authentication (optional)

    Any gotchas to be wary of? or any advice in general would be much appreciated.

  • 0 Votes
    5 Posts

    In redis you would use hgetall config to get the global config object, and then use hset config <field> <value> to set the new values. You could write some javascript to automate this and run it in the nodebb folder.

  • 0 Votes
    9 Posts

    @juan-g If Iā€™m not wrong this is only for groups. Anybody can't make subforum both with his own group.

    This is interesting idea for plugin or like a feature for new version of core nodebb.
    Good for wide community forums on autopilot, when owner not have enough time to support all desires of members.

  • 0 Votes
    3 Posts

    Generally, you buy a domain name from a registrar, such as, then add a host record that points to your server.