Then on Friday, Mr. Buhari came under more criticism after militants began a major attack on a military installation near a displaced persons camp in the town of Rann, killing at least three aid workers and several others. Three people were missing amid fears they had been kidnapped. The same camp was erroneously struck by Nigeria’s own military jets last year, killing dozens of displaced people and aid workers.
Mr. Buhari has not announced whether he will seek a second term. His aides have indicated that he will, arguing that other aspirants have nothing to offer Nigeria, the continent’s most populous nation.
“Buhari has already transformed and changed the image of leadership and that of our leaders in this country, both locally and internationally,” said Boss Mustapha, secretary to the federal government.
Mr. Buhari, a retired military general, transfixed voters in 2015 with his promises to lift the nation’s troubled economy, end decades of corruption and win the war with Boko Haram, the Islamist militant group that has claimed thousands of lives and uprooted millions from their homes in the north of the country.
All those problems are still festering.
“This good will is being fast depleted by some glaring failures of government,” said Archbishop Ignatius Ayau Kaigama, until recently the president of the Catholic Bishops Conference of Nigeria, which said living conditions have worsened under Mr. Buhari.
Critics also cite Mr. Buhari’s health as a concern. He spent weeks at a time last year in London receiving treatment for an illness whose nature he has yet to disclose.
In his time in office, a secessionist movement championed by a group called the Indigenous People of Biafra has gained steam in the southeast of the country, 50 years after a civil war over the same issue left one million people dead. Under Mr. Buhari, military operations have led to dozens of arrests and deaths, and the disappearance of the movement’s leader.
Beyond that, conflicts between farmers and pastoralists looking for places for their cattle to graze have escalated, with recent bouts of violence killing dozens.
Critics complain that Mr. Buhari has failed to resolve these tensions. But even his opponents concede that he has tried to work on the promises that helped him win the presidency.
Almost as soon as he began his term, Mr. Buhari began an assault against Boko Haram, with the military taking back territory and capturing and killing scores of militants. His government negotiated the release of several dozen of the students taken in 2014 from the village of Chibok. Two other groups of high-profile hostages — women police officers and university professors — were released this year.
But those successes have been marred by the new kidnappings at the Dapchi school. Officials didn’t initially label the episode a kidnapping, despite numerous witnesses reports of militants hauling away the girls. The president’s aides would say only that the girls are missing.
Newsletter Sign Up
Thank you for subscribing.
An error has occurred. Please try again later.
You are already subscribed to this email.
The war with Boko Haram still rages, with suicide bombers pulling off regular attacks and militants conducting increasingly complex operations. About 100 students from Chibok are still held hostage.
Yet Mr. Buhari has baffled the nation by repeatedly saying Boko Haram has been defeated.
His government has worked to crack down on corruption, uncovering millions of dollars’ worth of cash and making high-profile arrests.
But critics say corruption is still widespread. They were outraged that Mr. Buhari hired a former director of the nation’s pension fund to a new post in his government after the previous administration had fired the man on grounds he had pilfered billions.
Mr. Buhari also hired a national health insurance executive who was being investigated by Nigeria’s anti-graft agency on suspicion of approving shady contracts and engaging in nepotism. When Transparency International recently announced that Nigerians think that corruption has worsened during Mr. Buhari’s tenure, he rejected the report as misleading.
On the economic front, Nigeria officially pulled out of a recession late last year. That achievement has been overshadowed by soaring unemployment and the fact that the country — one of the world’s leading producers of oil — faces a fuel scarcity in some areas, with motorists stuck in miles-long lines for hours in blistering heat.
Fed up, former President Olusegun Obasanjo, who served from 1999 to 2007, released an 18-page letter recently calling for Mr. Buhari’s “dignified and honorable dismount from the horse.”
In a lengthy response, Lai Mohammed, Mr. Buhari’s information minister, detailed the president’s achievements: a near doubling of foreign reserves, lower inflation, plans for a new rail line, an increase in agriculture exports and production, and other gains.
But the list of people calling on Mr. Buhari to step aside keeps growing. It now includes Ibrahim Babangida, a former military ruler of Nigeria; prominent human rights lawyers; and a coalition of young voters.
The Punch, a popular Nigerian newspaper, said in a recent editorial that Mr. Buhari was “unfamiliar with the nuances of modern governance and insular to the point of self-entrapment in primitive provincialism.”
In Nigeria, informal agreements call for the presidency to alternate every two terms between someone from the predominantly Muslim north — where Mr. Buhari is from — and a person from the Christian south. If Mr. Buhari does not seek a second term, many Nigerians will expect the presidency to go to a fellow northerner.
Mr. Buhari maintains a significant base in northern states, but he will need to build more support in other regions to win another term. Analysts are buzzing about suitable replacements.
Potential contenders include Atiku Abubakar, who served as vice president from 1999 to 2007. He is a co-owner of one of Nigeria’s largest oil and gas logistics companies and the founder of the American University of Nigeria, a private institution. Another possible candidate is Sule Lamido, a former foreign minister. Both men are members of the opposition People’s Democratic Party.
Bola Tinubu, the national leader of Mr. Buhari’s party, the All People’s Congress, was recently appointed by Mr. Buhari to lead reconciliation and confidence-building efforts among party members. Many analysts believed the move was intended to assuage feelings that Mr. Tinubu had been sidelined during Mr. Buhari’s administration. Some speculate Mr. Tinubu could make a bid for the presidency himself.
Tunde Bakare, a well-known pastor who was once Mr. Buhari’s running mate, has also become a vocal opponent.
“This administration anchored its policy outlook on three main thrusts, including security, job creation through diversification, and anti-corruption,” Mr. Bakare said in what he called his own state of the nation speech. “Yet all around us are signs of retrogression.”