- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add feed (user id is null) #1072
Comments
@guidopetri thanks for letting me know! Did you run the migrations with |
I don't think I ever did that manually, no. I'm not sure how to use it exactly - I'm stringer@928cf58af2ad:/app$ rails db:migrate
Usage:
rails new APP_PATH [options]
Options:
... Same output for
so it appears I don't have it fully migrated. I'm using this commit to build the image, i.e. I took 155f3c2 and modified the Dockerfile for ARM back before we modified that. |
@guidopetri you'll need to be in the application directory to run the command. When you type I'm a little surprised to see this error, though. Worst case, if we manage to get the migrations to run and you're still seeing the error, you may need to update to the latest version. I haven't gotten around to publishing a new docker image, but hopefully I'll manage it in the next week or so. |
Indeed, I was in the application directory. I didn't run I'll try updating to the latest version this weekend or next and I'll ping back if it's still not working. I'll probably still need to build the image myself (unless you build the arm64 version heh) so don't worry about publishing a new docker image (for my sake, at least). |
I tried again and ran I tried updating the image to base off of 2c7cd3e, but got this: From the logs below, I'm guessing the error is some misconfiguration in cluster mode / worker count:
but I don't know how to fix it (and it seems unrelated to the original issue of not being able to add feeds). Re-reading through the original issue, I realized I never looked at the
so it appears that there's a FK constraint on Full logs:
|
Hmm, that's really odd. Let's focus on getting the migrations working first. Can you share the output you see when you run |
If you'd rather, we can set up a pairing session and do a screen share. My email is in my profile, so feel free to send me a message. |
Closure for the issue: I had, indeed, not run all migrations, and I was using an old version of the application which wasn't on Thanks again @mockdeep ! |
I'm getting an error on adding a feed where a user id seems to be null:
I think this might be due to my migration process from a very old postgres db (sorry). Any idea how I can fix this manually? Can I set a userid somewhere in the db/insert a row somewhere that will fix this?
The text was updated successfully, but these errors were encountered: