The easiest way would be to fall back to the Luma theme, then upgrade to 2.2.8
From there, follow this guide:
Once you’re on 2.3.1 it should be a trivial upgrade to 2.3.6 if I recall correctly.
Do this all on a staging area, don’t do this on your live environment. It’s a big job.