I’ve seen other topics where the same issue was solved by commenting the following line. However it does not exist on my ImageMagick6 xml file. <policy domain="coder" rights="none" pattern="LABEL" />
log/production.log is actually showing only one line:
[2021-01-11T06:13:46] INFO PID-1483681 TID-47399854692720 Rails: Started GET "/simple_captcha?code=2ea31532cccda508415d50a52c52af33979621d3" for xx.xx.xx.xx at 2021-01-11 06:13:46 +0000
The solution is in the first line of the response of the request:
$ curl "https://diaspora.psyco.fr/simple_captcha?code=2ea31532cccda508415d50a52c52af33979621d3" | head -1
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
So you probably have hardcoded the path to libjemalloc somewhere (systemd service file?), but with Ubuntu 20.04 it was upgraded to libjemalloc.so.2 and libjemalloc.so.1 is no longer available. So your problem has nothing to do with imagemagick directly.
Thanks for your help! Using curl | head -1 is very handy
I’m using eye to launch diaspora server currently, and not using LD_PRELOAD in the eye.rb script. Also libjemalloc is not installed.
I’ve tried installing libjemalloc2 and adding the following line to the eye.rb script: env "LD_PRELOAD" => "/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"
and reloading it / restarting diaspora just now, but it looks like that it’s still trying to find libjemalloc.so.1.
I’m trying to find out where this could be hardcoded.