Install Azure IoT Edge
Posted: 01 Dec 2023, 07:54
Hello RevPi Community,
I just got an RevPi Connect 4 and wanted to install Azure IoT Edge on it. The instructions in the documentations (https://revolutionpi.com/tutorials/azur ... erwenden-2) seems to be outdated because it references to install the microsoft packages for Debian stretch and the current OS for the RevPi is Debian Bullseye.
Because Debian stretch is not supportet by Microsoft Azure for IoT Edge, I tried the official documentation from Microsoft (https://learn.microsoft.com/en-us/azure ... l%2Cubuntu). I ran into some problems:
I tried it with the 64 Bit version of Debian Bullyeye but ran into multiple errors. As it is not officially supported by IoT Edge so I installed the 32 Bit Image.
With the 32 Bit version I still have issues getting the Moby-Engine to run.
If i run sudo iotedge check I get the follwing error:
I was able to solve this problem by install the moby-cli:
After that the sudo iotedge check command run fine, but still I had issues getting the IoT EdgeHub running, because the 443 Port was already in use by the RevPI Apache Service, so I needed to run
For now the it is running fine, but I don't know if everything is set up completely. Maybe someone with more insight in the RevPi OS / Dependencies could have a look and you could update the official documentation for the RevPi to reflect the recent changes?
I just got an RevPi Connect 4 and wanted to install Azure IoT Edge on it. The instructions in the documentations (https://revolutionpi.com/tutorials/azur ... erwenden-2) seems to be outdated because it references to install the microsoft packages for Debian stretch and the current OS for the RevPi is Debian Bullseye.
Because Debian stretch is not supportet by Microsoft Azure for IoT Edge, I tried the official documentation from Microsoft (https://learn.microsoft.com/en-us/azure ... l%2Cubuntu). I ran into some problems:
I tried it with the 64 Bit version of Debian Bullyeye but ran into multiple errors. As it is not officially supported by IoT Edge so I installed the 32 Bit Image.
With the 32 Bit version I still have issues getting the Moby-Engine to run.
If i run sudo iotedge check I get the follwing error:
Code: Select all
× container engine is installed and functional - Error
Could not communicate with container engine at unix:///var/run/docker.sock.
Please check your moby-engine installation and ensure the service is running.
Code: Select all
sudo apt-get install moby-cli
Code: Select all
sudo service apache2 stop