My pi 3b+ works with an SSD disk connected through USB and it was working with nextcloud for more than 1 year.
Pi stopped working, I could not access online, the apache server was not responding and didn't show an image at startup.
I have changed the power supply, also the dvi cable but it still did not work... I checked the config.txt file and for some reason it was empty, then I used the content of another config.txt I had on a minisd card I copied the config.txt content from that card.
Then raspi starts but was left with a blinking cursor on the berries screen. The last thing that occurred to me was downloading the latest raspbian distribution and copying almost all the contents of the / bot partition to my old partition.
The result has not been good ...
[0.060090] raspberrypi-firmware: 0.00000002 returned status 0x80000001 [0.070108] raspberrypi-firmware: request 0x0000003 returned status 0x80000001
Hardware seems to be ok I could start the same pi with a minisd and I can read the SSD.
The last thing I want is to have to delete everything and reinstall since I had a small web page and above all I would like to be able to recover all the content of nextcloud pics and all that.