-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
nixos/unifi controller: mongod crashes immediately (Raspberry Pi; aarch64) #75133
Comments
I just ran into the same issue. Thanks for providing your workaround, it saved me quite some time :) |
Wow, another +1 from me, thanks for sharing the workaround! |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Still important to me |
I just refactored my config and I think this might be fixed. I tested As proof, in the workaround, mongodb is at version 3.4.10: https://github.com/NixOS/nixpkgs/blob/3f4144c30a6351dd79b177328ec4dea03e2ce45f/pkgs/servers/nosql/mongodb/default.nix And on my system, the controller is running and from
|
@colemickens Did you tried booting with this configuration? I have just tried updating the unstable channel on my rpi and it won't even boot. It freezes on "Starting kernel ...". Rolling back to the previous configuration makes it boot as usual. |
I just rebooted it, it is fine. This is my current unifi file: https://github.com/colemickens/nixcfg/blob/fdf283369f97e8462fbc38ecfbbc967a60af1bdb/mixins/unifi.nix and the generation is : /nix/store/hial9051vxkgxvxynifrf6zkhn7v6r77-nixos-system-raspberry-20.09.20200719.5717d9d which is https://github.com/nixos/nixpkgs/tree/5717d9d, a very recent commit. |
(I'm running a slightly different module than the one in the nixpkgs tree and I know it had a change in the last month though, not sure if that's related to what you're seeing.) |
I marked this as stale due to inactivity. → More info |
I had this issue with mongodb on aarch64 (not raspberry pi specifically) and was using the pinned version for a while (thanks!). I've now removed the pin and it seems to be working ok without (I'm currently on unstable 9a3f486), so I assume this issue can be closed? |
Mine is working well too. |
For completeness, #91818 was the fix. |
Describe the bug
Unifi controller service does not work because mongodb coredumps immediately.
To Reproduce
Additional context
There is nothing useful in the log other than a series of
mongod.log is empty.
I found working mongodb in an older nixpkgs (one of the prior generations I haven't GC'd yet) so now I have this in my configuration.nix (using the approach from this post):
Metadata
Please run
nix run nixpkgs.nix-info -c nix-info -m
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: