Hi all,
Hopefully someone can help.
I originally started on a Raspberry pi 3 a long time ago (10 years or more I think) by installing mysql and then cloning Emoncms onto it from Git (back on version 6 if I remember rightly? With incremental updates every now and then), this worked great for many years but I wanted to retire the Raspberry pi so I have now transitioned to a VM on a server and installed Emoncms with the install script (which works great) even having coppied the data files and database over onto the new VM.
However I also used the same raspberry pi to serve other custom webpages of my own code and Firmware update files for devices and other stuff, I have tried to use this on the same VM as my Emoncms install as before by creating an ‘Update’ folder in ‘/var/wwwl’ or ‘/var/www/html’ and all I can get is the following error going to ‘http://emoncms_ip/update’
“406 Not Acceptable URI not acceptable. Update cannot respond to *”." Try another link from the menu."
I presume somewhere in the Emoncms install is a list of acceptable URLs to respond to and obviously my folder is not part of this so apache2 is denying access.
Is there an easy way to get this to work without too much change as the devices all look at the same IP address as Emoncms is on for their firmware images, otherwise I will need to manually update a large number of devices to use a different IP address for their update images which would not be ideal?
Kind regards.