I use Traccar Tools to easily update my installation.
Please see this forum link and head to the bottom (latest posts) for the most up to date version.
https://www.traccar.org/forums/topic/traccar-tools/
Always a good idea to perform a full backup of your server and database before attempting just in case anything goes awry but I have had no issues with it.
Good morning dear user, I'm a beginner in the topic and can't find the right information on how to update 5.2 to 5.3 with an Ubuntu 22. Thanks for the help