NodeBB DB Migration
-
Hi all,
So I'm on Nodebb v3.10.3 and previously I have successfully restored the database to local instances for testing. However, I've been trying to migrate the forum to a different server (My MongoDB is setup and a db dump has been restored).
However, whenever I try to run ./nodebb build, it stops after installing dependencies.
There are no other logs.
When I was trying again by performing ./nodebb setup (instead of build), I did see the following after providing my newly restored DBs URI:
2026-03-20T09:03:03.067Z [9971] - error: admin:username 2026-03-20T09:03:03.067Z [9971] - error: admin:password 2026-03-20T09:03:03.067Z [9971] - error: admin:password:confirm 2026-03-20T09:03:03.068Z [9971] - error: admin:emailI was wondering how to provide these info/overwrite in the DB/config file?
Thank you
-
Hi all,
So I'm on Nodebb v3.10.3 and previously I have successfully restored the database to local instances for testing. However, I've been trying to migrate the forum to a different server (My MongoDB is setup and a db dump has been restored).
However, whenever I try to run ./nodebb build, it stops after installing dependencies.
There are no other logs.
When I was trying again by performing ./nodebb setup (instead of build), I did see the following after providing my newly restored DBs URI:
2026-03-20T09:03:03.067Z [9971] - error: admin:username 2026-03-20T09:03:03.067Z [9971] - error: admin:password 2026-03-20T09:03:03.067Z [9971] - error: admin:password:confirm 2026-03-20T09:03:03.068Z [9971] - error: admin:emailI was wondering how to provide these info/overwrite in the DB/config file?
Thank you
@[email protected] did you copy over config.json from the old box?
-
@[email protected] did you copy over config.json from the old box?
-
@[email protected] hi Julian yeah I did yeah. Same secret and everything
@[email protected] can you get me the full log of the
./nodebb buildcommand?It's odd that it stops after installing dependencies, it suggests that dependency installation failed somehow.
-
Hi @[email protected]
The logs basically says "started" and nothing happens after. Even the web builder failed I'm afraid.I tried connecting the instance to a fresh DB but seems the webbuilder is still running even after performing a ./nodebb stop. and ./nodebb log does show that it's running. It only stopped once the VM was restarted.
-
Yeah so the build errors now show the following:
ERROR in ./build/public/src/modules/topicThumbs.js 104:6-106:8 Module not found: Error: Can't resolve 'composer' in '/home/nodebb/nodebb-root/build/public/src/modules'Hanging suggests maybe lack of RAM? Wild guess.
-
Yeah so the build errors now show the following:
ERROR in ./build/public/src/modules/topicThumbs.js 104:6-106:8 Module not found: Error: Can't resolve 'composer' in '/home/nodebb/nodebb-root/build/public/src/modules'
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login