ActiveRecord::PendingMigrationError
Migrations are pending. To resolve this issue, run:
bin/rails db:migrate
You have 269 pending migrations:
The discussion revolves around a user encountering an ActiveRecord::PendingMigrationError while attempting to self-host Discourse using WSL. raadtotheraad is self-hosting and using WSL, but merefield clarifies that WSL is not a supported production configuration. NateDhaliwal suggests that WSL is suitable for development, pointing to a guide for development setup. raadtotheraad confirms they are using a VM for experimentation and not for production, aiming to ‘goof around’ with Discourse, and thanks the community for the help.
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
and prepared to work out most issues on your own.
Im going to try a VM because its a little less of a pain
The cloud VM is if you want to host a production instance. If you want to use WSL for development, follow this guide. If you want to do it for production, then, well, it won’t be easy (and you also won’t want to run your computer 24/7).
Im doing it to goof around with discourse
Im using a VM to do it myself, already found the ip adress (somehow)
Thanks for the help, it was hard to differentiate what was for development or hosting ![]()
P.S: Im slowly getting the hang of it