Openhab4 will not restart

You are running OH4 with a non-migrated OH 3.x config. See first question of the OH4 migration FAQ how to install OH3 and migrate from there.