A fatal internal error occurred

RPi4 8gb
Umbrel Version 0.5.1
External HDD 3.0
Bitcoin core fully synced
Electrs 88% Synced
Those are the only two apps installed.
I seem to be getting a write error and I cant figure out why.
Debug logs show normal nothing detected.
I can still make and write files in terminal.
Im good ( not great) with linux and not scared of the terminal.
here is the partial tail from debug.log
Running into a problem with the last blocks it seems?

2022-09-12T20:33:50Z UpdateTip: new best=000000000000000000015b28fb2bee34efbb89030cc947b28c611b8e369ece8e height=753805 version=0x230aa000 log2_work=93.727016 tx=763918083 date='2022-09-12T14:51:23Z' progress=0.999922 cache=2.2MiB(16241txo)
2022-09-12T20:34:57Z UpdateTip: new best=000000000000000000086671c7632398a5fbfbc2a5f371a4dd322d74b123a149 height=753806 version=0x215bc000 log2_work=93.727028 tx=763920998 date='2022-09-12T14:52:11Z' progress=0.999922 cache=4.3MiB(31084txo)
2022-09-12T20:34:57Z *** ThreadSync: Failed to write block 0000000000000000000d7acd568e4f71bcf5e034cfb0754fcc3fe6d657de0dcd to index database
2022-09-12T20:34:57Z Error: A fatal internal error occurred, see debug.log for details

f6caf639e675 lncm/bitcoind:v23.0 "bitcoind -chain=maiā€¦" 32 minutes ago Exited (0) 17 minutes ago bitcoin_bitcoind_1

Hi my_bitcoin!

We are sorry you are facing this issue. Could you please drop your debug log so we can take a look into this?

Thank you,

the debug log showed nothing found and just that bitcoind had shutdown.

I did some looking and found that I had a corrupted block. 2541

I dont know why it was preventing writing to the txindex??

I restored it from my other bitcoin core server and things seem to be up and running.