As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER GEAR RETRACTION, DOOR AND NOSE GEAR UNSAFE AND LANDING GEAR HANDLE LIGHTS STAYED ILLUMINATED. PERFORMED ALTERNATE EXTENSION, EMERGENCY DECLARED. LANDING UNEVENTFUL. REPLACED THE NR 2 LOCK SENSOR HARNESS AND BOTH NOSE GEAR FWD DOORS. RETURNED TO SERVICE.