• u/lukmly013 💾 (lemmy.sdf.org)
    link
    fedilink
    English
    2810 months ago

    I couldn’t do that, I am too dumb.

    Today I temporarily locked myself out of navidrome admin account as I forgot the password.
    Then just 30 minutes later I crashed my whole phone, getting it stuck in sort of a boot loop. I only noticed as it started getting way too hot in my pocket. I managed to turn it off, let it cool down, and try again. “You need at least 10MB of free storage to use the system.”, MIUI’s cleaner popped up.
    What the hell happened here?
    I disconnected from WiFi, bringing down that network interface, with nginx binded to it, causing errors.
    Nice, 16GB /data/data/com.termux/files/usr/var/log/nginx/error.log.

    I don’t know how to prevent this. I wanted to try outputting error and access logs to stderr and stdout respectively. This only yielded “Permission denied” errors. I couldn’t find why that occurs. UID, GID and permissions all check out.
    For now it’s going to /dev/null.

    • @[email protected]
      link
      fedilink
      3110 months ago

      when you’re smart enough to override things on your devices, but too dumb to do it properly so you turn your phone into a bomb

    • @jcgA
      link
      110 months ago

      Why do you run nginx as a server on your phone? Not judging just wondering

      • u/lukmly013 💾 (lemmy.sdf.org)
        link
        fedilink
        English
        310 months ago

        For fun. This is what I do instead of video games. I mirrored some old websites using wget, so it can serve those. I also got a bunch of videos I may want to get over network without downloading anything, and it’s great for that. At least with fancyindex module with Material theme.
        It also works as a forward proxy to Navidrome server, also running on my phone, so that I can access it through a URL on same IP:PORT.