Luggage compartment cover Opening problem

Hello , on the topic of case cover does not sporadically open, I have found many answers, but I do not seem to find the right one, so please note the right link. Problem: Lid opens only about 10 mm out of the lock and does not drive further up. Slowly open the lid against the hydraulics by hand, then everything works again for some time. Problem is also with running motor (to exclude a power supply problem). Can it be the rotary angle sensor be? (Phaeton Built 12/2015) Thank you Johannjakob