When I try to start up Cube, I get a message saying "This DataMiner Agent is starting up... (99 %)".
My DMA is using STaaS.
In the SLDBConnection.txt and SLCloudStorage.txt log file, I find entries like the following:
2023/08/24 11:41:56.983|SLDBConnection|SLCloudStorage|INF|0|54|2023-08-24T11:41:56.981|ERROR|DataGateway.CloudStorage.CloudStorage|CloudSettings could not be retrieved from the cloud. Retrying in 00:00:05. Exception: SLCloudStorage.Repositories.Exceptions.CloudSettingsRepositoryException: Failed to do GetCloudAccessTokenRequest. Received the following error messages: { "message": "The Service Principal of this DMS is expired (09/08/2023 06:27:50 +00:00) but should soon be refreshed automatically." }
Any idea what the problem might be? And how it can be solved?
Hi
First a quick question: has your system been down for a long period of time? If so you will need to renew your dataminer.services session as explained here in the docs.
What could also be happening is that your identity in dataminer.services (so not the local one on your DMS) has expired and needs to be refreshed. This normally happens automatically every 5 to 10 mins. You can force this normally by restarting the CloudGateway service in the Task Manager (under services).
Hope this helps.

Thanks Baptiste.
Back from holiday, so yes, my DMA had been down for a number of days.
Renewing my session did the trick!