Closed SCordibella closed 8 months ago
Dear all, I am trying to use mongoose as local webserver for swupdate image. I enable it simply adding a package that create the file in /etc/swupdate/conf.d/enable-mongoose with the following content:
/etc/swupdate/conf.d/enable-mongoose
SWUPDATE_WEBSERVER_ARGS=" -r /var/swupdate/ -p 8081"
I also add webserver configuration is /etc/swupdate.cfg file as follow:
/etc/swupdate.cfg
webserver : { document_root = "/var/swupdate"; userid = 1000; groupid = 1000; timeout = 20; };
The server seems to start, in the process log I see:
Jan 10 10:00:40 iot2050-debian swupdate.sh[398]: [DEBUG] : SWUPDATE running : [read_settings_file] : Reading config file /etc/swupdate.cfg Jan 10 10:00:40 iot2050-debian swupdate.sh[398]: [DEBUG] : SWUPDATE running : [read_module_settings] : Reading config settings for module webserver Jan 10 10:00:40 iot2050-debian swupdate.sh[398]: [INFO ] : SWUPDATE running : [start_mongoose] : Mongoose web server version 7.8 with pid 426 started on [31.145.0.0] with web root [/var/swupdate/]
When I try to access to the web server here is the page that I see:
There are no other error or information on the log file.
Does anyone tried the mongoose server on iot 2050?
Best regards, Stefano.
Ok, I apologize for this issue. I forgot to add the application example files on the target.
Dear all, I am trying to use mongoose as local webserver for swupdate image. I enable it simply adding a package that create the file in
/etc/swupdate/conf.d/enable-mongoose
with the following content:I also add webserver configuration is
/etc/swupdate.cfg
file as follow:The server seems to start, in the process log I see:
When I try to access to the web server here is the page that I see:
There are no other error or information on the log file.
Does anyone tried the mongoose server on iot 2050?
Best regards, Stefano.