OAKLAND (CBS SF/AP) — Amid a backlog of ships waiting to be unloaded in Southern California, a shipping terminal at the sprawling Port of Oakland stood vacant last week for the first time in history, a symbol of the complexities of the nation’s supply chain woes.

Danny Wan, executive director of the Port of Oakland and the president of the California Association of Port Authorities, made the stunning revelation to the Associated Press.

READ MORE: Bay Area Remembers 1941 Attack On Pearl Harbor That Changed America Forever

“The operator tells me this is the first time in the history where they are operating in Oakland where they have not had one vessel call,” he said. “This is an example of the supply chain dictating this kind of market distortion.”

But the solution is not as easy as simply turning some ships around in Los Angeles and sending them north to Oakland.

Assemblyman Patrick O’Donnell, chair of the Assembly Select Committee on Ports and Goods Movement, said ocean carriers need relationships with terminal operators, trucking companies and warehouses — all which require contracts to be negotiated.

“That takes time. You can’t just turn on a dime,” he said.

Mike Jacob, vice president and general counsel for the Pacific Merchant Shipping Association, said “it’s important to us” to reestablish shipping connections in ports in both Northern California and the Pacific Northwest, adding three companies have dedicated direct service calls to the Oakland port while two more have plans to start in January.

The backlog of ships entering U.S. waters means there are fewer making the trek back across the Pacific Ocean, leaving the farmers in one of the nation’s most important agriculture regions with nowhere to send their products.

“We’re at the mercy of foreign shipping companies,” said Roger Isom, president and CEO of the California Cotton Ginners and Growers Association and the Western Agricultural Processors Association. “We’re in a game, somebody changed the rules on us and we have no way to correct it.”

READ MORE: 'Prolific' San Francisco Retail Theft Suspect Back In Jail After New Arrest

California is the nation’s only supplier of tree nuts — almonds, walnuts and pistachios. Most of them are sold to other countries, totaling more than $8.1 billion in exports in 2019, according to the California Department of Food and Agriculture.

But last month, Isom said more than 80% of scheduled shipments were canceled. Processors have resorted to paying much more to ship their products to other ports, sending pistachios and walnuts by train to Texas and Maryland and flying bales of cotton to Peru. Isom said they are losing money on these sales, but they have to do it or else risk losing their customers.

It’s particularly a problem for walnuts, which are in high demand in Europe for the Christmas holiday. But Isom said California’s orders are “now being filled by other countries.”

“One of our members lost $7.5 million in one month of sales because of an inability to fill timely commitments,” Isom told state lawmakers on Wednesday during an informational hearing on the global supply chain problems.

One reason for the shortage of ships is the intense demand for products has driven shipping prices so high that many ocean carriers simply hurry back to Asia once they leave Southern California, bypassing the smaller port in Oakland where most of the state’s tree nuts are shipped.

Fruits and nuts are California’s fifth-largest export sector, according to an analysis of trade data by Michigan State University, trailing electrical and industrial machinery and motor vehicle and their parts.

California exports accounted for more than 10% of all U.S. exports in 2020. When it comes to agriculture, California accounted for 16% of all U.S. exports in 2019.

MORE NEWS: Scott Peterson Returning To San Mateo County Courtroom Wednesday For Re-Sentencing

“A great deal of attention is on imports and issues confronting these entities bringing in goods which are important,” said Assemblywoman Cecilia Aguiar-Curry, a Democrat whose rural Northern California district includes lots of farmers. “However, California agriculture depends heavily on the exporting of its goods and — I cannot overstate this enough — we are in an urgent position.”