Hi guys,
I have put a CAP in an AP group to join it with its local controller. After clicking on Apply and Reboot button, I see the AP in in unprovisioned state in the master controller:

I have cloned an AP group, deleted a SSID and changed the LMS IP with the new local controller IP address.
I have run "show log system 50" and I see things like these:
Apr 30 15:35:37 :305004: <3992> <ERRS> |stm| AP AP_CIX_140: wlan virtual-ap "admin-ate-vap_prof" is invalid.
Apr 30 15:35:37 :305004: <3992> <ERRS> |stm| AP AP_CIX_140: wlan virtual-ap "academ-ate-vap_prof" is invalid.
.
.
.
Apr 30 16:07:29 :303022: <WARN> |AP AP_CIX_140@131.120.117.140 nanny| Reboot Reason: AP rebooted Mon Apr 30 16:05:57 PST 2018; SAPD: Rebooting after provisioning
Apr 30 16:08:05 :305024: <3992> <WARN> |stm| AP AP_CIX_140: Group "GRP_IFB_CIX_02" does not exist.
Apr 30 16:08:05 :305038: <3992> <WARN> |stm| No available license for AP AP_CIX_140
Apr 30 16:08:06 :399803: <3992> <ERRS> |stm| An internal system error has occurred at file sapm_ap_mgmt.c function sapm_get_country_index line 8202 error AP AP_CIX_140 regulatory domain not available ap_group GRP_IFB_CIX_02 ap_name N/A.
I am very new with controllers so I don't know if the problem if with the group itself or with licenses. The controllers have Centralized Licensing enabled and enough licenses, when I check the local controller:

On the one hand I see "License available=3849" but on the other hand I see "Remaining AP Capacity=0". Is this the problem or something with the AP group? Please help me!
Regards,
Julián