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

[BUG] record data can't update after replace disk use same device id #629

Open
xinmans opened this issue Apr 17, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@xinmans
Copy link

xinmans commented Apr 17, 2024

i have replace a hdd disk for my NAS,but the record data not update。
i delete the device on table devices from sqlite db,and re-run collect to work-aroud to fix it。will you fix it?

the fix step as below:

scrutiny/config# sqlite3 scrutiny.db 
sqlite> .tables devices
devices
sqlite> .schema devices
sqlite> select * from devices where host_id like  '%woniu%';
sqlite> delete from devices where device_name = 'sde' and  host_id like '%woniu%';
sqlite> select * from devices where host_id like '%woniu%';

sudo docker exec scrutiny-collector /opt/scrutiny/bin/scrutiny-collector-metrics run

@xinmans xinmans added the bug Something isn't working label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant