ahushh / monaba

Imageboard engine written in Haskell and powered by Yesod
https://haibane.ru
MIT License
86 stars 9 forks source link

captcha doesn't work and breaks all board #53

Closed Rehdzi closed 1 year ago

Rehdzi commented 1 year ago

image when I enable captcha feature on board settings and go to check it, page displays only this text /opt/monaba/PlainCaptcha: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

using Debian 10 and Docker image

ahushh commented 1 year ago

Seems that captcha binary file is not included in the docker image. You have to build captcha manually and place to the specified path inside docker container. Though it’s strange that you have to do it, captcha file should be included. Don’t remember why I disabled it.

Lookup “ Build captcha executable file (if you are going to use it)” section in readme file. You’ll need only Haskell stack installed to build captcha. There’s instructions in readme how to install it on your system too.

On 11 Jan 2023, at 23:33, Igor @.***> wrote:



when I enable captcha feature on board settings and go to check it, page displays only this text /opt/monaba/PlainCaptcha: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

using Debian 10 and Docker image

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

ahushh commented 1 year ago

As an option, you can try to uncomment lines in monads/Dockerfile that build captcha binary. And use that docker image you built.

On 11 Jan 2023, at 23:33, Igor @.***> wrote:



when I enable captcha feature on board settings and go to check it, page displays only this text /opt/monaba/PlainCaptcha: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

using Debian 10 and Docker image

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

ahushh commented 1 year ago

Ah, there’s a captcha binary file in repo already. No need to build it by yourself. Just put the file to the path inside the container.

On 11 Jan 2023, at 23:33, Igor @.***> wrote:



when I enable captcha feature on board settings and go to check it, page displays only this text /opt/monaba/PlainCaptcha: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

using Debian 10 and Docker image

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

Rehdzi commented 1 year ago

Fixed it, thank you!