Closed kottoz closed 2 years ago
@kottoz I believe this error
thread 'main' panicked at 'config is not frozen: did not find expected <document start> at line 266 column 6', iotedge/src/config/import/mod.rs:137:14
as well as:
× config.yaml is well-formed - Error The IoT Edge daemon's configuration file /etc/iotedge/config.yaml is not well-formed. Note: In case of syntax errors, the error may not be exactly at the reported line number and position. caused by: Could not load settings caused by: did not find expected <document start> at line 266 column 6
are due to you having a malformed config.yaml that arose from having an extra space before your provisioning section. Can you try removing that extra space before the section on line 150 in the yaml and seeing if it resolves the error you're seeing?
I have used raspberry pi 4 with buster image, as well i subscribed to tier 1 which not supports the buster image, after upgrading every thing goes well.
Expected Behavior
Firstly, installation instructions said that the installation package available only for
Raspberry Pi OS Stretch
, then i was tried to download stretch from archive, but it seems that stretch is not suitable for Pi-4 discussion here said that Stretch will not work on a Pi 4 without a fair of hacking around.. Also i try to see that by my self and i confirm that stretch not working on Pi4. I download2021-05-07-raspios-buster-armhf-lite
and it works properlly, but when i follow instructions there was a problem with installing Moby enginesudo apt-get install moby-engine
problemthis problem is the similar as #84643. Then i follow these instructions Azure IoT Edge on Raspberry Pi Buster plus tips for Raspberry Pi 4.
I suppose this command is the workaround to set up Moby on Pi-4
Here is the output
Docker version
after that, I installed libssl1.0.2
Then, MS installation packages
Here is the output
Then i tried to update the configuration file
sudo nano /etc/iotedge/config.yaml
as the followingand i have tried to run
sudo systemctl restart iotedge
thensudo iotedge check --verbose
the following error appears.I don't know why that, i just followed the last steps threee times before reproducing all the last steps, but this problem just appears.
Then i need to update iotedge version to 1.2, the current version is
sudo iotedge version
iotedge 1.1.8
Then i followed the updating instructions
sudo apt-get install aziot-edge
Current version
sudo iotedge version
iotedge 1.2.5
then i tried to update DPS SAS, then restarting system control
sudo systemctl restart iotedge
, but the following issue appears.i wan't to setup 1.2 version.
Due to iotedge pacakging i tried to look for depencices and other stuff, the following depencices are installed properlly on my device.
then i run the following.
then i have edited the configuration .toml file
sudo iotedge config apply
then i tried to update
iotedge
toaziot-edge
apt install aziot-edge
sudo iotedge config import --force
the following error appears
i think these issues are related #5767 #5883