Error message: "Attempt to write a readonly database"

Hello,
Same problem here with dietpi but the solution seems to be working.

Thanks