I cannot actually reproduce what caused your problem in detail, and I still stumble over the "everything" in
since this ain't clear: your directory you keep your LibreOffice files in, your /home/, or your whole system?
To me it seems, there are several things mixed up, that need to be cleared...