Removing Stale Alerts

I recently re-named my ZFS pool because I didn’t realize the space in the name would break things. The old pool had a cloud sync task to Backblaze that at times would fail. Apparently one of those times was just before I re-named the pool. Now I have a dismissed alert sitting out there that will never get cleared because the task doesn’t (and can’t) exist anymore. I found a post on the old forum and followed it (since it was referenced by a few other posts and can’t link it here), however the alert persists. Is there any way to clear this unresolvable alert?

Good job renaming the pool to remove the space before you had many different tasks configured.

Have you rebooted TrueNAS since the error occurred?

Try editing (or deleting and recreating) the cloud sync task to reflect the current pool name, and reboot for good measure. See if the error reoccurs.

I’ve rebooted a few times and have already re-created the Cloud Sync task. The error still persists. I even tried running the SQLite remove mentioned in other posts and immediately rebooting to no avail.

@crono102 Which version of TrueNAS are you running? Can you attach a screenshot of the error? (Redacting any private information as you need.)

I’m on 25.04, but this error goes back to the last version as well. I can only “Re-Open” the alert. Not only that, but I don’t get any error messages. I’d upload a screenshot, but it’s not letting me. I created an account just a few days ago to ask for help.

Ah, yeah, sorry. I forgot that the forum has a new member limit on that. I can’t lift that unfortunately.

If the alert is greyed out and you can re-open it, it’s dismissed. I have seen a few reports of dismissed events not clearing from the screen, but I have not seen that myself. When I reboot the NAS all prior alerts (and jobs for that matter) disappear from the GUI.

What were the instructions you followed to try to clear the alerts from the SQLite database? The newest community posted instructions I can find for that are about two and a half years old. Perhaps another here is more familiar with this problem than I.

That timeframe sounds about right.

After connecting as root, I ran the following

# sqlite3 /data/freenas-v1.db
sqlite> select * from system_alerts;
...
sqlite> delete from system_alerts where id = <id of alert; column 1 from previous result>

This combined with an immediate reboot from the UI did not clear the dismissed alert.

Does restarting the web interface without reboot help in your case?

systemctl restart middlewared

@TrueNAS-Bot can help you with that. Talk with it.

Hi! To find out what I can do, say @truenas-bot display help.

Just tried that. No dice. But I’ve passed the new user threshold so here’s a screenshot (mobile).