Page 1 of 1

Server returning 404 - Not Found

Posted: Tue 10 Nov 2015 6:49 pm
by PapaOz
I am trying to get CumulusMX beta running on my MINT-17 linux system.

I have installed

Code: Select all

Mono JIT compiler version 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Aug 25 23:10:38 UTC 2015)
I have downloaded CumulusMXDist3032.zip and expanded it into ~/cumulus

I have downloaded and installed

Code: Select all

 http://mirrors.kernel.org/ubuntu/pool/main/u/udev/libudev0_175-0ubuntu9_i386.deb
I compared my Cumulus.ini file from 1.9.4 to the sample in the zip,
made what I hope are appropriate updates,
and started CumulusMX as follows:

Code: Select all

papaoz@PIV-MINT ~ $ cd cumulus
papaoz@PIV-MINT ~/cumulus $ sudo mono CumulusMX.exe
[sudo] password for papaoz: 
Current culture: English (United States)
Serial: ABCBA6A77246FF2E37707AB354D96EA6
Cumulus MX v.3.0.0 build 3032
This is pre-release beta software
Today.ini = data/today.ini
Last update=2015-11-10T12:20:10
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
11/10/2015 12:20:11 PM
Type Ctrl-C to terminate
The server comes up. It even updates Weather Underground.

If I send my browser to 127.0.0.1:8998 without starting CumulusMX
I get the expected "can not connect" message.

If I send my browser to 127.0.0.1:8998 after starting CumulusMX
I get "404 not found".

I infer that the server can not find its web pages.
Could someone please tell me how to resolve this?

Re: Server returning 404 - Not Found

Posted: Tue 10 Nov 2015 7:29 pm
by steve
Can you confirm that you have an 'interface' directory in your cumulus directory, and that has the .html files such as index.html in it? What browser are you using? What happens if you put a full URL into your browser - http://127.0.0.1:8998/index.html ?

Could you attach the latest MXdiags file, please?

Re: Server returning 404 - Not Found (Solved)

Posted: Wed 11 Nov 2015 4:24 pm
by PapaOz
Problem solved.

I had an 'interface' directory but it was empty.

When I originally installed MX I expanded the zip file using linux archive manager. I have to assume I botched the job.

I re-expanded the zip file using the linux unzip command, making sure to preserve pre-existing data and ini files. That populated the interface directory. Then I restarted MX and my browser and found that everything is as expected.

Thank you for your patience with my silly mistake.