[bug] Built-in captcha throws error 500 #652
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#652
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
NixOS @ 81e8f48ebdecf07aab321182011b067aafc78896
This is probably NixOS-specific, but I know too little of the codebase (and Erlang) to figure out the reason for this error, and it might have to be fixed on Akkoma side anyway.
Version
3.10.4
PostgreSQL version
13
What were you trying to do?
Register a user from the register page
What did you expect to happen?
I expected captcha to show up and work
What actually happened?
Captcha doesn't show up because of error 500, registering is impossible
Logs
Severity
I can manage
Have you searched for this issue?
enoent sounds like you are missing a dependency or bad compile
you haven't specified if you're from source or OTP, i'm assuming from source
there should be a binary at
deps/captcha/priv/captcha
if compilation has succeededI guess the Nix package needs to be updated then
yeah sounds like whoever compiled it for nix ignored an error, no idea whomst they are though
No, there's no error at all, it just silently doesn't compile the captcha module. I don't think its compile task even runs.
either way, this is a nixpkgs issue so I'll close this, thanks for the pointers
for assistance, i have bumped captcha's version in
033b7b04e0
which should help if nix passes weird cflags or anything like thatI've opened a PR that fixes it in nixpkgs https://github.com/NixOS/nixpkgs/pull/262291
ah wonderful, thanks a lot~