Server
OS: Ubuntu Server 17.04
FOG Version: 1.4.4
Client
OS: Ubuntu Server 16.04
chris@UBUSVR1604TPL:~$ sudo mono smartinstaller.exe --server=10.10.75.23 --webroot=/fog
[Pass]
Installing files........................................................[Pass]
Saving Configuration....................................................[Pass]
Applying Configuration..................................................[Pass]
Pinning FOG Project.....................................................[Pass]
Pinning Server..........................................................[Pass]
chris@UBUSVR1604TPL:~$ sudo systemctl start FOGService
chris@UBUSVR1604TPL:~$ cat /opt/fog-service/fog.log
18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/management/index.php?sub=requestClientInfo&configure&newService&json
18/10/2017 05:50 Middleware::Response ERROR: Could not parse data
18/10/2017 05:50 Middleware::Response ERROR: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
18/10/2017 05:50 Service ERROR: Unable to get config data
18/10/2017 05:50 Service ERROR: Object reference not set to an instance of an object
18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/management/index.php?sub=requestClientInfo&mac=00:50:56:A6:8A:FB&newService&json
18/10/2017 05:50 Middleware::Response ERROR: Could not parse data
18/10/2017 05:50 Middleware::Response ERROR: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/service/getversion.php?clientver&newService&json
18/10/2017 05:50 Middleware::Communication URL: http://10.10.75.23/service/getversion.php?newService&json
18/10/2017 05:50 Service ERROR: Unable to get cycle data
18/10/2017 05:50 Service ERROR: Object reference not set to an instance of an object
18/10/2017 05:50 Middleware::Response Success
**snipped**
chris@UBUSVR1604TPL:~$
As you can see the installer successfully installs the certificate. but the client ignores the --webroot= when running the client, and therefore can’t do anything because it can’t access the webui without the missing /fog
I have also tried --webroot="/fog"
Same issue.
Contents of /opt/fog-service/settings.json:
chris@UBUSVR1604TPL:/opt/fog-service$ cat settings.json
{
"HTTPS": "0",
"Tray": "0",
"Server": "10.10.75.23",
"WebRoot": "/fog",
"Version": "0.11.12",
"Company": "FOG",
"RootLog": "0"
}
Any Advice would be much appreciated