[GUI] new zpool feature flags alert but pools long gone

Joined
Jan 27, 2020
Messages
577
These pools are long gone from the system. Both were destroyed via the GUI but in an earlier version of TrueNAS.

Bildschirm­foto 2023-02-20 um 20.53.54.png


There are only two options that I'm able to choose.
1. disable alert (alerts gets greyed out but is still present in the alerts section (bad for ocd)
2. have them active, see the obnoxious red number and bell on the top right corner. (even worse for ocd)

May this be a bug? And is there any way to get rid of these?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Dismissed alerts should disappear after a period of time. They should also disappear after a reboot.
 
Joined
Jan 27, 2020
Messages
577
Dismissed alerts should disappear after a period of time. They should also disappear after a reboot.
They actually don't, unfortunately. As you can see, these alerts are presents since 2022-12-02, there were a lot of restarts in the meantime.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Did you dismiss them and then reboot?
 
Joined
Jan 27, 2020
Messages
577

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
This will likely require doctoring /data/freenas-v1.db to remove these orphan alerts. Possibly easier would be a reinstall and reload of your config.
 
Joined
Jan 27, 2020
Messages
577
Hm I see. It's probably collateral damage of the CORE to SCALE migration.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
If these orphaned alerts still bother you, you can perform some SQL-fu via sqlite3 /data/freenas-v1.db:

Code:
sqlite> SELECT * FROM system_alert;
> outputs all rows with active alerts
> note the left-most number of your orphans
> these will be the ids to delete

sqlite> DELETE FROM system_alert WHERE id=<number of orphan>;
sqlite> .exit
 
Top