Hi, I self-hosted SearXNG on the Termux app on my Android device. When I visited the “About” page at http://127.0.0.1:8888/info/en/about, I encountered an error message that said “Page not found.” I’m not sure what could be causing this issue, and I would appreciate any help or guidance.

SearXNG Version 2024.1.17+7c80807b+dirty SearXNG

  • LemmyUser1290a@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    I also forgot to mention that I edited the ‘searxng.sh’ and ‘lib.sh’ files in the ‘~searxng/utils’ directory, because they contained code that was intended for personal computers and was not compatible with Termux.

  • Scipitie@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    You are running a specific module of a project locally - not the whole project. The web server is an integral part - leaving it out makes you do a bit of the leg work: you’d need to figure out how the websites get built and deployed and then reverse engineer that for your android environment.

    Personally I’m fascinated by that attempt and it could be an awesome learning opportunity. To be honest I don’t have the motivation to follow your path down this rabbit hole though.

    If you decide to follow up I’d appreciate you giving updates from time to time about your insights! ♥

    • LemmyUser1290a@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      Yes, the rest seems to be fine, but I think the issue with about is because I’m running it with Python, not a web server. There may be issues with the PC files being executed that are incompatible with Termux, so I need to modify the files to fit Termux compatibility.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        Flask apps are usually run from gunicorn or something. What exactly did you modify on those shell scripts?

        • LemmyUser1290a@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          8 months ago

          Termux doesn’t use systemctl or sudo, and there are many other commands that are not available. I modified the searxng.sh and lib.sh files because they were written for other operating systems like Ubuntu, Arch, Debian, and Fedora, but not specifically for Termux. So, I had to make some changes to make them work in Termux. I think I may have messed something up, though. I can send you the details of how I installed and configured it, or the files I modified, if that would be helpful.