Since i upgraded to mender 2.5, i cannot accept/refuse/dismiss a device (nor can i decomission).
I noticed that i get 404 error on console with theses 2 calls :
Another thing (perhaps all comes from same bug) : i have a âpendingâ device waiting for approval (i see (1) on pending tab. But when open the pending tag, there is nothing in it.
Hello @Jerry, you can ignore the 404 error codes for those API calls: the UI detects if those features are available in the back-end (opensource vs. enterprise), no harm there.
@tranchitella@ckelloug2 : new information that can help you diagnose :
When i âacceptâ a device, the authorization modal is kept open but the device is âacceptedâ (as you can see in capture below).
If i refresh the page, the corresponding device stays in the âpendingâ view, even if it is accepted.
If i launch the 3 following commands in docker, the device disapear from âpendingâ and move to main list
deviceauth propagate-inventory
deviceauth propagate-inventory-statuses
deviceauth propagate-inventory-id-data
@mirzak i rebuilded installation from scratch restoring data from backup and i still have above error with 2.5.0 (community)
Do you have any advice / fix to help me deploy artifacts again ?
Thank you very much for your help
If someone is having the same problem : i figured out a way to fix this :
I decommisionned all devices with the problem above by issuing manual curl calls (DELETE) on following endpoint : /api/management/v2/devauth/devices/[ID OF THE DEVICE]
Corresponding devices came back on âpendingâ, i accepted them and all went back to normal.
So it seems that the corresponding entries where messed up in database