and MongoDB tells:
[Thread1] SyntaxError: Missing ; before statement @<shell>:1:10
Does nodebb have a website migration scheme?
-
I have a question. Does nodebb have a website migration scheme? If I want to move my website from one server to another, what should I do?
-
@ahoh there isn't one per se, but that's something you can get assistance and guidance with over at https://sudonix.com
-
I tried a reckless approach.
First, I migrated the database (mongodb).
Then, I directly copy all the files on the original server to the new server
Finally, modify the uri variable in config.json.
So far it looks successful. . .
Hahaha -
@ahoh Yeah that's basically it. You need to port over the database and everything in
public/uploads/
, everything else is static from the codebase. -
@julian Thank you , this is helpful.