Check Want to move my TTN Gateway to V3 - #9 by aberenyi for instructions that worked for another forum user.