Advice on indexing gears with di2 between bike and trainer or alternate rear wheel

That’s odd. That’s when I admit I’m in over my head and take it to the LBS. Is it the front derailleur? The rear? The hanger? The cables? Once they figure it out, it’s easy to do at home again.