The error that you are seeing states
Unable to read and parse agent config file at expected path... means that either the toml file does not exist in the expected directory, that it is not a toml file (it has a different extension), or formatting is not correct in the file. I have listed a couple suggestions below - please try them in the order listed and continue to move on to the next suggestion if the current one does not work:
In your post from Aug 29, it looks like your toml file on your gateway is in this file location:
C:\Users\v111405\Downloads. Is it still in this location? This file should be located in
/home/losant-edge-agent/based off your current Docker run command.
/home/losant-edge-agent/is the absolute path to your config.toml file and that there aren’t other folders/directories before the
Did you confirm that your toml file is definitely a toml file and not something like config.toml.iotgw?
Can you create a new toml file within the
/home/losant-edge-agent/directory (you can delete the old one and create a new config.toml file OR create a new file with a new name like config_test.toml - if you create a new file with a new name, just a reminder to update your docker run file to look like below:
sudo docker run -d --restart always --name losant-agent -v /home/losant-edge-agent/data:/data -v /home/losant-edge-agent/config_test.toml:/etc/losant/losant-edge-agent-config.toml losant/edge-agent:1.11.0-alpine
Thank you Edward,