Skip to content

[Bug]: profiles not erased after uninstall, leading to error after reinstall #6115

@mintydev789

Description

@mintydev789

Bug Description

If you uninstall hermes and then install it again, you encounter this error if you had an agent profile set up:

Error: Profile '...' does not exist. Create it with: hermes profile create ...

Steps to Reproduce

  1. Run hermes uninstall and select delete everything.
  2. Install hermes again.
  3. There will be the aforementioned error.

Expected Behavior

It should fully erase everything when uninstalling, including any profiles you had set up.

Actual Behavior

The profiles seem to persist somehow.

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

N/A (CLI only)

Operating System

Debian latest

Python Version

3.11.2

Hermes Version

Inaccessible due to the bug

Relevant Logs / Traceback

Root Cause Analysis (optional)

I don't know if this is anything, but there was still a file for the profile under ~/.local/bin/. I tried deleting it, but it still didn't fix the error.

EDIT: I just tried deleting ~/.hermes altogether and that worked, in case anyone else runs into this issue.

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions