SAN JOSE — The Fairmont Hotel, a landmark in downtown San Jose, filed for bankruptcy on Friday and closed its doors — but says it will reopen and resume operations within two to three months.

The iconic hotel said it closed to find a management partner and extend the existing mortgage debt.

The Fairmont in San Jose is hardly alone with financial struggles amid the economic fallout unleashed by the coronavirus, which has chased away conventions and travelers from  hotels.

A growing number of hotels worldwide — and in the Bay Area — have tumbled into bankruptcy or faced problems with their financing.

“We know that by taking this difficult step we will come back a more vibrant hotel to the benefit of everyone in San Jose, including the vitality of the City’s downtown, nearby businesses, and Silicon Valley conventions in a post-COVID-19 world,” said Sam Singer, a representative for the Fairmont Hotel.

The affiliate that owns the hotel property listed debts that ranged from $100 million to $500 million, according to a filing with the U.S. Bankruptcy Court.

San Ramon-based Eagle Canyon Capital, whose president is Sam Hirbod, is the hotel’s principal owner and operator, the court records show.

The hotel shifted the guests in the San Jose Fairmont to other lodging places in the vicinity.

The Fairmont lost at least $18 million in 2020 and is projected to lose at least another $20 million in 2021, the hotel’s owners said.

Among the top creditors that have unsecured claims against the bankrupt hotel: the city of San Jose, which is owed $1.06 million, the court records show.

Sources said the hotel’s owners have a good relationship with its principal creditors and lenders.

“We will be back in 60 to 90 days with improved finances and a new hotel management team,” Singer said.