hnhx/librex

Image search does not work

Kaoplo opened this issue · 8 comments

I launched my own LibreX instance and when I search for images, nothing comes up.
My instance can be accessed here: https://search.pawz.hu

hnhx commented

I'm not really sure why, I have tested other instances and the image search works fine there.
Maybe qwant rate limited your VPS?

I'm running this instance locally, I have the same issue accessing it using a local IP address.

Whoops didn't mean to close it

hnhx commented

Can you try doing an image search on qwant.com using a regular browser? Maybe your IP is blocked for some reason

Searching for images on qwant.com worked without a hitch. An IP block would be unlikely since I have a dynamic public IP address because our ISP doesn't offer static IP address unless we pay more..

Are you using docker?
Have you tried updating librex?
Are you sure you installed all the right dependencies?
What operating system are you using?

I remember ages ago I solved this by installing a couple of PHP libraries it was either something for scraping data or processing images, I cannot remember exactly, if someone know what LibreX depends on we can try that and it should solve the issue.

I think the fix is installing these two:
php-dom
php-curl

and if that doesn't work it's guaranteed to work most of the time when it runs in an environment familiar where the developer tested it, such as inside a docker container, there's official image for it. Refer to: https://github.com/hnhx/librex/wiki/How-to-host-LibreX-with-Docker