[solved] Influx delete does not complete

A measurement cannot be deleted with influx delete.
The command was entered via SSH and appears to have been accepted. However, nothing happens. The command can be aborted with Ctrl+C.
Is there another way to delete it?

1 Like

A measurement cannot be deleted with influx delete.

Please show us what influx delete command you are trying to use to delete the
measurement.

The command

Show us what command it was.

was entered via SSH and appears to have been accepted.

What tells you that it “appears to have been” accepted?

However, nothing happens.

Er, when? After entering the command which appears to have been accepted?
That makes me wonder even more what makes you think it was accepted.

The command can be aborted with Ctrl+C.

That’s good, at least, and strongly indicates that it did not complete.

Is there another way to delete it?

How are you detecting that the measurement is in the DB?

Antony.

influx delete --org roe75 --bucket iobroker_all --start 2024-03-30T23:00:00Z --stop 2025-05-16T21:00:00.795Z --predicate ‘_measurement=“Regen_Tagx”’ --token PFECvANNR5ZSWbp1csl8e8nQPl7yyeI8LFytWSBfyeByerT3lDnyH_d7pHagKK3g5g_syzy3Q5AIxX5g-_N4jw==

Command was accepted because no error was displayed.If the command were incorrect, an error message would appear immediately.

Measurement was displayed in Data Explorer

attention please:
After logging back into influxdb, the measurement in question disappeared. I interpret this as a successful deletion.
So, the problem appears to have been resolved.
I tested further: If I use influx delete on a nonexistent measurement, the same thing happens as described. However, the two measurements in question were displayed in Data Explorer. Hence the attempt to delete them.
I now suspect that the measurements weren’t actually created, but that there was just a display issue.