Self hosting discourse with WSL shows an error, the command shown also doesnt work

ActiveRecord::PendingMigrationError

Migrations are pending. To resolve this issue, run:

bin/rails db:migrate

You have 269 pending migrations:

Hi there, are you running a development or production server here? I assume it’s development?

It’s self hosted, so I’m trying to test discourse out

WSL is not a supported Production configuration (but a great choice for development)

Oh, are there other ways for windows?

Yes, but you’d be mainly on your own with limited support here.

A cloud Ubuntu VPS is the recommended and supported platform.

WSL makes sense if you are a wizard :mage:t3: and prepared to work out most issues on your own.

2 Likes