I wouldn’t recommend touching the one-click install at digital ocean. It’s a third party packaging of Discourse and if you’re using that then we can’t really offer you any assistance here.
Discourse supports both 20.04 and 22.04, but when I did the test in July with a clean install with both versions, everything was slightly faster in 22.04, so I’d recommend the latest version.