Migration issue, redirecting to localhost

Found the issue, it was the Force_SSL setting, managed to fix it directly in the database. The snap way of changing settings seems broken on my system, I tried setting it that way before.

In the command line I did the following.

~# mongo
use parties
db.rocketchat_settings.update({ _id: “Force_SSL” }, { $set: { value: false } });