Skip to content

Hosts not migrated via brew upgrade #998

Description

@JJJ

Hi there. I updated via Homebrew and my Local, Folder, and Group entries are gone.

Contents of ~/Library/Logs/net.oldj.switchhosts/SwitchHosts.log is boring:

[2026-05-25][01:45:35][tauri_plugin_updater::updater][ERROR] failed to check for updates: error sending request for url (https://github.com/oldj/SwitchHosts/releases/latest/download/latest.json)
[2026-05-25][01:45:35][switchhosts_lib::commands][INFO] automatic update check failed: error sending request for url (https://github.com/oldj/SwitchHosts/releases/latest/download/latest.json)

My /etc/hosts still has this:

# --- SWITCHHOSTS_CONTENT_START ---

...and a few hosts I had enabled are in there, but all of the disabled ones are gone.

I did a little bit of AI assisted troubleshooting, and have come to the conclusion that my old SwitchHosts data was likely destroyed via brew cleanup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions