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

corrupted index db . Deleting the index db to avoid errors .. #3233

Open
merryHunter opened this issue Oct 3, 2024 · 5 comments
Open

corrupted index db . Deleting the index db to avoid errors .. #3233

merryHunter opened this issue Oct 3, 2024 · 5 comments
Labels
type / question Issue type: question

Comments

@merryHunter
Copy link

❓Question

Hi, I am following the instructions in a fresh python environment from the page https://aimstack.readthedocs.io/en/latest/using/remote_tracking.html#server-side-setup .However, when I click on the ui link, a strange exception is caught and I see the following print:

ubuntu@ip-172-31-42-100:~/server-tracking$ aim up
Running Aim UI on repo `<Repo#-2658956876120156914 path=/home/ubuntu/server-tracking/.aim read_only=None>`
Open http://127.0.0.1:43800
Press Ctrl+C to exit
Corrupted index db. Deleting the index db to avoid errors. Please run `aim storage reindex command to restore optimal performance.`

After I run aim storage reindex and restart the ui, nothing changes, same error when I open UI in browser.

I doubt it is an expected behavior. Could it be related to some known bug?

Env info

Python: 3.10.12
aim: 3.25.0

@mihran113
Copy link
Contributor

Hey @merryHunter!
Thanks for pointing this out, there was an additional change in this part which resulted in this behavior: marking empty index db as corrupted, for now you can just ignore that. I've opened a fix for that, we'll ship it with the next patch release.

@merryHunter
Copy link
Author

merryHunter commented Oct 3, 2024

great, thank you!

@mihran113 Could you please share discord invite link? I have a few questions on how to run aim in production setup with nginx, probably I can find answer in discord or ask around there..

@mihran113
Copy link
Contributor

Hey @merryHunter!
This is the discord invite link: https://discord.com/invite/zXq2NfVdtF

@ic-dc
Copy link

ic-dc commented Oct 4, 2024

@mihran113 seems it expires very soon, I just clicked and it says invalid again :(

@mihran113
Copy link
Contributor

Hey folks. We've released the 3.25.1 version of aim which should address the aforementioned issue. Let me know if it helps 🙌

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

No branches or pull requests

3 participants