Hi @Sander van de Velde | MVP ,
Just checked the Azure Portal and had a look at the "Troubleshoot"-option of my "$edgeAgent"-module:
<6> 2021-12-07 12:38:01.408 +00:00 [INF] - Executing command: "Command Group: (\n [Create module sqlServer]\n [Start module sqlServer]\n)"
<6> 2021-12-07 12:38:01.424 +00:00 [INF] - Executing command: "Create module sqlServer"
<3> 2021-12-07 12:38:03.557 +00:00 [ERR] - Executing command for operation ["create"] failed.
Microsoft.Azure.Devices.Edge.Agent.Edgelet.EdgeletCommunicationException- Message:Error calling Create module sqlServer: Could not create module sqlServer
caused by: Could not pull image microsoft/mssql-server-linux:2017-latest
caused by: pull access denied for microsoft/mssql-server-linux, repository does not exist or may require 'docker login': denied: requested access to the resource is denied, StatusCode:404, at:
Looked like it just couldn't download the image for the SQL server. So I went to "set modules" and entered a different image URI (mcr.microsoft.com/mssql/server:2019-CU14-ubuntu-20.04) from the official Docker page (https://hub.docker.com/_/microsoft-mssql-server).
And now, everything seems to work! Seems like the official module from the MS marketplace is using the wrong URI (microsoft/mssql-server-linux:2017-latest).