One question: what is inside
/var/lib/openhab2 or /opt/openhab2/userdata
/config/org/openhab/openhabcloud.config?
Are the entries like this?
:org.apache.felix.configadmin.revision:=L"1"
baseURL="https://myopenhab.org/"
mode="remote"
service.pid="org.openhab.openhabcloud"