Migrating Forums from one server to another
-
So I have a nodebb forum I need to migrate to this other forum. I did a backup of the database (dump.rdb) I am using redis and moved it to the new servers dump.rdb. When I run nodebb it says schema error out of date do ./nodebb upgrade (1.9.1 to 1.9.1 so no difference) and when it runs it works fine but then when I load onto the website it shows the navbar stretched across the screen like this:
I have a lot of user data that is irreplaceable is there anyway to save this?
-
@militantmario the image isn't showing up
-
Sorry about that @PitaJ the image wasn't showing up. So I noticed when I did the ./nodebb upgrade it was skipping all the scripts to upgrade. Should be an updated picture
-
Are there any errors when you run
./nodebb build
and restart? -
No errors same screen.
-
While I was waiting for a response it gave me this error.
-
If you're getting that error, then redis can't write to disk, which means that some kind of misconfiguration of redis is causing this issue.
-
I uninstalled redis and reinstalled it but it keeps giving me this error every time I try and load it in with the nodebb database
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Unit entered failed state.
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Failed with result 'resources'.
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
May 21 04:00:06 vanguard systemd[1]: Stopped Advanced key-value store.
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Start request repeated too quickly.
May 21 04:00:06 vanguard systemd[1]: Failed to start Advanced key-value store.
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Unit entered failed state.
May 21 04:00:06 vanguard systemd[1]: redis-server.service: Failed with result 'resources'. -
I suggest you search for these errors on Google. Here's an answer for the "unable to persist" error: https://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots
-
Seems to me like it worked thanks man.