Error in remote agent deployment

(Zain Hasib) #1

NAME="VMware Photon OS" VERSION="2.0" ID=photon VERSION_ID=2.0 PRETTY_NAME="VMware Photon OS/Linux"
Tried to deploy agent on a vm over network, but it runs a script that tries to yum install java and iofog-agent which are unidentified

Does it have to use iofog-agent and iofog-controller under the hood because then is there any alternative to install them from source? or there is any alternative?

Btw I installed iofog from source on the OS

(Serge Radinovich) #2

Hi zainhasib. What exactly did you install from source? ioFog is made of a number of components - none of which you should be building from source for the purposes of deploying edge microservices.

Could you please tell me what guide you followed? I recommend starting with this for a local deployment:

Then you can do remote deployment:

(Zain Hasib) #3

I did follow the documentation, however, for PhotonOS it gives the following error
` Detected operating system as photon/2.
Checking for curl…
Detected curl…
Downloading repository file:
curl: (22) The requested URL returned error: 404 Not Found

Unable to download repo config from:

This usually happens if your operating system is not supported by, or this script’s OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website:

For example, to force CentOS 6: os=el dist=6 ./

If you are running a supported OS, please email and report this.`


This error message is basically saying that the install script can’t find a distro for “os=photon”. Which is definitely true, because this isn’t an operating system that we have tested or checked for before. However, I took a quick look and it doesn’t seem like it would be that hard for us to support. We can take a look and get back to you on that.

In the meantime, you could try to manually set the os to something like Debian and see how far you get with that. Or, for now if you just want to test ioFog, maybe use a Debian VM image instead?

(Zain Hasib) #5

Great, we would love that. Meanwhile, will be using Ubuntu. Thanks


Sounds good. Let us know if you have any issues there.