All addons and repositories are gone

Hi,

Today, after the update of some repositories and insert a bad url for m3u list of IPTV, I rebooted the kodi and all my addons, repositories and preferences (including all my favourites) were gone. I ended up with a clean kodi.

After searching in the file system I found in the right location all of data(user data, databases, caches and preferences) but nothing of that are loading on kodi.

What I can do to restore everything back?

Thaks