Skip to content

sheltupdate not working on NixOS #18

Closed

Description

@fxzzi

there were some architectural changes to discord on Linux for stuff like autoupdating etc. seems like this doesn't seem to work anymore. I have a bare settings.json like so which fails to install / load shelter in any way:

{
  "SKIP_HOST_UPDATE": true,
  "openH264Enabled": true,
  "BACKGROUND_COLOR": "#121214",
  "offloadAdmControls": true,
  "UPDATE_ENDPOINT": "https://inject.shelter.uwu.network/shelter",
  "NEW_UPDATE_ENDPOINT": "https://inject.shelter.uwu.network/shelter/",
  "chromiumSwitches": {}
}

in the same vein, openasar also doesn't work but ye

Activity

  1. ioj4 commented on May 13, 2026

    @ioj4
    Member

    Are you getting any errors in the console when trying to launch it?

  2. fxzzi commented on May 13, 2026

    @fxzzi
    Author

    no errors specifically. here's the logs from a cold discord launch. It claims to have checked the sheltupdate server for module updates

    log.txt

  3. ioj4 commented on May 13, 2026

    @ioj4
    Member

    Hmm, I'm unable to reproduce this with the exact same Discord version and settings config. I have a feeling something is weird in your install. Do you mind reinstalling Discord completely (making sure .config/discord is deleted in the process) and then seeing if it works?

  4. fxzzi commented on May 13, 2026

    @fxzzi
    Author

    now that I think about it, it could easily be a problem on the NixOS side. I'll check in with the maintainers there and see what they have to say about it.

  5. fxzzi commented on May 13, 2026

    @fxzzi
    Author

    hmm, the logs seem to say 5/13/2026, 9:42:53 PM GMT+1 [Modules] Checking for module updates at https://inject.shelter.uwu.network/shelter/modules/stable/versions.json, but actually checking this theres nothing actually there? is that expected?

  6. ioj4 commented on May 13, 2026

    @ioj4
    Member

    Good point, there used to actually be something there. sheltupdate is just proxying what's the on Discord's API and it's also empty there (https://discord.com/api/modules/stable/versions.json), so that is technically correct.
    But that endpoint is part of the V1 Updater API, my fresh install on Debian is using the V2 endpoint. Since they recently updated to use V2 for all platforms I'm guessing that is causing the issues. So I guess the nix package is stuck on V1.
    In case you want to compare them, here are my logs of the first launch after updating the endpoint property.

    Discord 1-0-137-logs.txt

  7. fxzzi commented on May 13, 2026

    @fxzzi
    Author

    thanks for the extra info. for now I guess I'll have to pin my client mods another way whilst i wait for more info from the nixpkgs maintainers. Thanks for your work maintaining sheltupdate, hopefully its functionality on Nix is restored soon :)

    Feel free to close the issue on my behalf if you believe all thats left is from the Nix side

  8. fxzzi commented on May 13, 2026

    @fxzzi
    Author

    yep, one of the maintainers of the nix package was able to scope out the issue. it's a problem with the way we're packaging discord, causing it to fallback to the legacy v1 updater API.

    I'll close this issue now as there is no more to be done from the sheltupdate side. Applying a crude workaround on my end has allowed the updater endpoint to work successfully. 🎉

  9. changed the title [-]doesn't work on new linux builds?[/-] [+]sheltupdate not working on NixOS[/+] on May 13, 2026
  10. ioj4 commented on May 14, 2026

    @ioj4
    Member

    Glad to hear! I've renamed the issue so that other NixOS users can find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions