CAPE CANAVERAL, FLA. -- A new crew arrived at the International Space Station on Friday for a six-month mission, after overcoming trouble with one of the capsule's docking hooks.

The SpaceX capsule and its four astronauts had to wait 65 feet (20 meters) from the orbiting lab, as flight controllers in California scrambled to come up with a software fix.

It's the same problem that cropped up shortly after Thursday's liftoff. Although all 12 hooks on the capsule appeared to be fine, the switch for one of them malfunctioned. SpaceX Mission Control urged patience, telling the U.S., Russian and Emerati astronauts they could stay in this holding pattern for up to two hours.

Once new software commands were relayed, the astronauts received the go-ahead to proceed. In the end, the linkup occurred an hour late as the capsule and space station soared 260 miles (420 kilometres) above the coast of Somalia.

"After a brief scenic detour, welcome to the International Space Station," SpaceX Mission Control radioed. NASA officials agreed the delay added to the anticipation.

The new arrivals include United Arab Emirates' Sultan al-Neyadi, the first astronaut from the Arab world who will spend an extended time in space. Al-Neyadi is only the second person from the U.A.E. to rocket into orbit.

"I can't be happier than this, seeing old friends in space, gathering as a big family. This is the essence of space exploration," al-Neyadi said upon entering the station. "The U.A.E. is taking a great step toward pushing the boundaries of exploration."

Also flying up in the capsule: NASA's Stephen Bowen, a retired Navy submariner who made three space shuttle flights, and Warren "Woody" Hoburg, a space newbie and former research scientist at Massachusetts Institute of Technology, and Andrei Fedyaev, a space rookie who's retired from the Russian Air Force.

SpaceX launched the four astronauts for NASA early Thursday from the Kennedy Space Center in Florida. Their flight was delayed a few days by a clogged filter in an ignition fluid line.

The U.A.E. sent its first astronaut, Hazzaa al-Mansoori, to the space station in 2019 aboard a Russian rocket. It had been decades since the first Arab launched in 1985 during NASA's shuttle era. The longest spaceflight by any of them was about a week.

A U.A.E. space official, Hamad al-Mansoori, called the station from Dubai to wish el-Nayadi and his crew a safe and successful mission and said it represented "a huge milestone."

The space station will be home to 11 people for the next week.

The newcomers will replace two NASA astronauts, a Japanese astronaut and a Russian cosmonaut who have been on the station since October and will return in their own SpaceX capsule next week. Two other Russians and an American travelled to the station in September on a Russian Soyuz capsule that had to be replaced because of a leak, pushing their mission to a full year.

   ------

 The Associated Press Health and Science Department receives support from the Howard Hughes Medical Institute's Science and Educational Media Group. 

Correction:

This story corrects a previous version that said U.A.E. astronaut Hazzaa al-Mansoori called the space station. The caller was U.A.E. space official Hamad al-Mansoori.