Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following the troubleshooting guide results in "unknown tenant at 0" #1126

Open
douglasg14b opened this issue Sep 24, 2024 · 1 comment
Open

Comments

@douglasg14b
Copy link

My PAT didn't have a necessary scope, and the crawler needed to be reset so it would pull old data again.

I followed the troubleshooting guide to wipe crawler data, reset date, and delet ethe workspace.

# List indexes with:
docker-compose run --rm --no-deps api curl http://elastic:9200/_aliases?pretty=true
# Delete an index with
docker-compose run --rm --no-deps api curl -XDELETE http://elastic:9200/<index-name>


docker-compose run --rm --no-deps api monocle janitor wipe-crawler-data --elastic elastic:9200 --config /etc/monocle/config.yaml --workspace <workspace> --crawler-name <crawler-name>

docker-compose run --rm --no-deps api monocle janitor set-crawler-commit-date --elastic elastic:9200 --config /etc/monocle/config.yaml --workspace <workspace> --crawler-name <crawler-name> --commit-date 2023-01-01

After restarting the services, the UI just shows:

image

API request keep using an index that no longer exists, like the FE has a bad configuration.

After destroying the entire stack and recreating it, this persists. How/where do I clean up all state to reset it?

@douglasg14b
Copy link
Author

Hm, after clearing everything by deleting and re-cloning, I realize now that the URL contains the workspace used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant