Writing a new image will erase everything on it, yes.
Follow the advice from this post Satnogs-setup python error - #4 by PE0SAT
If you’re running other software on it it will also need to be reinstalled after new image, backup configurations etc. This is a nonstandard setup so expect few stations to be exactly the same, ymmv.