As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON DEPARTURE, RT MLG DID NOT RAISE, INDICATED DOWN AND UNSAFE WITH GEAR HANDLE IN UP AND OFF. CYCLED GEAR HANDLE TO UP AND RT MLG CAME UP. RECYCLED GEAR DOWN AND BACK UP ALL INDICATIONS NORMAL. REMOVED AND REPLACED RT MLG POSITION PRIORITY VALVE PER MM.