Lost all my data, how to rebuilt the base data folder structure?

Hi,
I had a setup where I had mounted a USB stick to /var/www/html/owncloud/data.
I had copied the original files in data, to the USB stick and it worked well.

Unaffortunately the stick has died, completely.

So now I have that empty data folder, and I’d just like to repopulate it with the basic folders it needs to work, e.g., the folders with the user’s names and .ocdata.

Can I do this without reinstalling everything ?

I’d recommend you to reinstall.
It’s possible to repopulate, but it might cause problems in the long term if you miss something. I’m not sure what are you trying to save there.

1 Like

Only saving time and getting more knowledge.
I will reinstall though, thanks for the answer.