Nearly 60 cast and crew members have tested positive since rehearsals began. Now, following a 10-day shutdown during previews, opening night is near.As soon as Hugh Jackman learned that the leading lady of “The Music Man,” Sutton Foster — whom he spent a substantial portion of every night breathing on, sweating on and locking lips with onstage — had tested positive for the coronavirus, he knew it was just a matter of time.“I’m pretty sure on every C.D.C. guideline, making out with someone with Covid is not recommended,” Jackman, 53, said in a phone conversation in late January. He is starring opposite Foster as the scam artist Harold Hill in the high-profile revival of Meredith Willson’s 1957 musical, which is scheduled to open Feb. 10 at the Winter Garden Theater.And, sure enough, five days later, came the positive proof on his at-home Covid test. Already down about a third of the show’s 46-person cast, and with both leads out, the producers canceled the next 11 performances. (The cast and crew were still paid during the shutdown, Kate Horton, one of the musical’s producers, said.)Though performances resumed a little over a week later, it was just the latest setback for a starry, star-crossed revival of the feel-good comedy, which won the Tony Award for best new musical in 1958. Originally scheduled to begin previews in September 2020, the show had already pushed back its opening night twice and weathered the departure of its lead producer, Scott Rudin, amid renewed scrutiny of his bullying behavior.The production, which is capitalized for up to $24 million, reunites much of the creative team behind the Tony-winning 2017 revival of “Hello, Dolly!,” including the director, Jerry Zaks. Its cast includes six Tony winners: Jackman; Foster, who plays the librarian Marian Paroo; Shuler Hensley; Jefferson Mays; Jayne Houdyshell; and Marie Mullen.In phone interviews last month, six members of the show’s cast and creative team outlined the measures they took to keep the show going amid a coronavirus outbreak; the vital role of actors known as swings, who have no regular role in a show and cover up to a dozen ensemble parts; and how they kept their spirits up amid a challenging preview period. These are edited excerpts from the conversations.When the “Music Man” revival was announced in March 2019, it looked as if it would be the marquee event of the fall 2020 Broadway season. Amid the industrywide shutdown, opening night was pushed to May 2021, and then again to Feb. 10, 2022. Finally, this past October, the show started rehearsals.The show’s director, Jerry Zaks, left, and its choreographer, Warren Carlyle, overseeing rehearsals.Landon Nordeman for The New York TimesJERRY ZAKS (director) We felt we had gotten past Covid, and we were just happy to be there. We dived in and went nonstop.HUGH JACKMAN (Professor Harold Hill) It was so great to be back in the room.KATHY VOYTKO (swing/Marian understudy) It was a thrill to test negative every day.On Dec. 20, amid the Omicron surge, “The Music Man” had its first preview. Four covers — an actor who goes on for another actor who calls out of a show — were onstage.KATE HORTON (producer) I would look at the situation we were facing each day, and I would have conversations with stage management and the creative team and we would decide what to do.SUTTON FOSTER (Marian Paroo) At one point, there were 14 people out of the show. We had swings covering seven roles and trying to hold up that show. And they did. It was remarkable. One of our swings, Emily Hoder, is 10 years old, and she was covering three tracks.ZAKS I couldn’t do the critical work of addressing the material, making changes in the lighting, fixing the sound, because we had so may people out. There was a moment when we asked ourselves if we’d have to push opening night.Then it happened: On Thursday, Dec. 23, the morning of the fourth preview, Foster tested positive.FOSTER We’ve been vigilant, but I have a 4 ½-year-old daughter who goes to preschool. On December 20, the night of our first preview, she hadn’t been feeling good, and my husband took her to the doctor and she tested positive. But every day I was testing negative, negative, negative. Then on Thursday morning, I did a rapid test at home, and it immediately was just this rude red line. And I was like, “OK, here we go.”But the show still went on that night, thanks to Voytko, a swing and an understudy for Marian, who mainlined the role in eight hours.VOYTKO I had an 11 o’clock costume fitting, and, just before noon, our costume designer, Santo [Loquasto], said “Kathy, call Thomas [Recktenwald],” who’s our production stage manager. And I sort of had that sinking feeling. And sure enough, he said, “You’re on.” I voice-texted my husband because my hands were shaking so much that I couldn’t possibly have used my phone. Then I put my phone on silent, and I grabbed my emergency cheat sheet I had made.“I want people to understand that these are unprecedented times in theater,” said Jackman, who plays the scam artist Harold Hill opposite Foster’s Marian Paroo.Landon Nordeman for The New York TimesJACKMAN She had her first rehearsal as Marian at 1; we had until 5. We got through every scene once. I think maybe she got to redo something twice.WARREN CARLYLE (choreographer) There are three really tricky sequences that could take an actress down: the finale; “Shipoopi” at the top of Act II because there’s a lot of dance for her there; and the library sequence, which is very prop heavy. There are something like 75 library books and a million different things that have to go in a million different places.VOYTKO A big goal post was getting through “My White Knight” because the lyrics have a patter section, which is a bit of a tongue twister. And I only had two shots at the dance for “Shipoopi” with Hugh and the tap finale before we had to do them in front of an audience.And she did. She got a standing ovation, and Jackman delivered a curtain speech praising understudies and swings that went viral.JACKMAN I want people to understand that these are unprecedented times in theater. I was so moved by what Kathy had gone through. I’ve never seen anything like that.After other breakthrough cases, the production canceled its Saturday evening and Sunday matinee performances on Dec. 25 and 26. On Tuesday, Dec. 28, Jackman tested positive.JACKMAN I was already feeling a bit funky when I was doing the show the night before, even though I was testing negative at the time, so it wasn’t a surprise. I was pretty nauseated, with a scratchy throat and a runny nose. My wife was amazing — we’d been sleeping in the same bed together, obviously, so I think she expected to get it too, which she did. But I’m vaccinated and boosted, so I was fine after a few days.The show eventually canceled its next 11 performances, through Wednesday, Jan. 5.HORTON Every time somebody is out when you’re so early in the life of the show, you need to do a technical rehearsal with the stand-in. But when you get to a certain number of people being out, there isn’t enough time to do that and make sure everyone onstage is safe. We got to a point where there were over 10 people off, so it was a very straightforward decision, actually.But the production never considered postponing its opening or following in the footsteps of “Mrs. Doubtfire,” whose producer, Kevin McCollum, decided in January to pause performances for nine weeks, with plans to resume in March (“To Kill a Mockingbird,” like “The Music Man” co-produced by Barry Diller, announced a hiatus later that month).And there was music: The show is scheduled to open on Feb. 10 at the Winter Garden Theater.Landon Nordeman for The New York TimesHORTON We knew mathematically we would get through it. Once a certain number of people are out and you know they’re coming back, it was just a revolving-door situation, like who was going to be back when. And the demand for the show is so huge that we knew we had audiences waiting for us.Previews resumed on Thursday, Jan. 6. Finally, the full company was onstage together for the first time, with no covers or swings.ZAKS It wasn’t until the end of January that I was able to make the changes and cuts that I wanted to make.FOSTER We had an extraordinarily long preview process — over six weeks. In shows I’ve done in the past, the preview period has been about four weeks. So even though we lost 10 days, we’re still in good shape.HORTON Things have stabilized hugely. Advance sales have been fantastic. We’ve gone a couple of weeks now with no positive tests.VOYTKO I did three shows in a row with Hugh — smooching, panting under dance numbers in each other’s faces — but I never tested positive! We were joking that an epidemiologist should do some sort of study.Now, with opening night in less than a week, the cast, crew and creative team are ready to celebrate.JACKMAN It’s amazing to be on a stage with a cast that’s near 50 people and a 25-piece orchestra. It’s a story about faith, belief and community that’s so timely. It’s one of those perfect musicals.VOYTKO Nothing will ever be as stressful as going on in a fourth preview as Marian. My greatest hope is that everyone is healthy on opening night, and I can cheer them on from the audience! More