Contacts "addressBook is undefined"

Brand new installation of NC under Debian 9, contacts and calendar enabled.

Go to the contact page, and there’s just a spinner. when I click on New Contact, the console shows “addressBook not defined.” How do you add an addressbook to get started?

Easiest is with the occ command:
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/occ_command.html?highlight=occ#dav-label

There is also the wheel on the left bottom where you can create a new one.

Is this UX by design? Or a bug? In 11.0.3 contacts created an addressbook on its own, or at least you could hit the “new contact” button with no further work.

I logged https://github.com/nextcloud/contacts/issues/300 for this.