Stop openhab, and look in your user data folder, in jsondb/uicomponents_system_sitemap.json. Make your corrections there and restart. I think it fails to delete because you have weird characters in the UID (http://?) that you shouldn’t have been able to put in the first place.
found it and corrected the failure.
I also not understand how this happened. I was mouseover the greyed out ID field and remember to have pushed Strg+V accidently, so that the http: string was copied in…
Can I add a question?
I needed to restart my Raspberry today.
And all has jumped back to an early stage of my setup.
Sitemaps gone, items gone.
What went wrong?
Is there a chance to get my final setup back?
are your settings still visible in the jsonDB ( jsondb/org.openhab.core.thing.Thing.json )? And please also check the backup folder jsondb/backup/org.openhab.core.thing.Thing.json
My first assumption was, that your updated *.json gets overwritten by an old backup. Let’s hope I’m wrong or at least that there is still a backup available in the folder.