I know this sounds like more of a “how do I use computes” question than a legitimate selfhosting question, but I think it fits here. My LibreX instance is hosted and appears to be fully functional, but when I try to add it to my browser it reports its url as 127.0.0.1:8080 instead of the actual address. I tried to get it to work with chromium as a troubleshooting step, and while it did let me change the address, it had some other stuff after the search.php?q= that made it return a 404. Does anyone know how to fix this?
edit: run with -e OPEN_SEARCH_HOST=“https://yourdomain.tld” to get it to report the correct thing. You also have to remove and add it back in your search engine.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
This might be an issue with opensearch.xml, which is a standard for how browsers recognise search engines.
See here:
https://github.com/hnhx/librex/blob/main/opensearch.xml.example
I don’t know how you’re hosting it, but when I was hosting LibreX, I had to make an opensearch.xml with the correct domain and bind mount it to the correct location. I don’t exactly remember the details since I moved to Searxng.
Also, if you’re not aware, LibreX was forked to LibreY, which is the updated repo.
Thanks for letting me know about LibreY. I switched it over now.