kan
kan copied to clipboard
Unable to create workspace
🐛 Bug Report
I just deployed Kan on Railway, created an account, and I am unable to create a workspace. See screenshot below:
Steps to reproduce the behavior:
- Go to deployed production URL
- Create an account
- Input workspace name and hit create
- See error
Expected behavior A new workspace created
Screenshots
Environment:
- OS: Windows
- Browser Chrome
- Node version - no idea (latest one as of writing this?)
up. I experienced this as well.
Root cause was Railway deploying Web and the migration service independently, with no ordering guarantee, so Web could serve requests before migrations finished. Fixed in the template: Web now runs migrations on startup before serving traffic, and the separate migrate service is removed. Redeploy from the template and this should be resolved.