Page 1 of 1
Port 80 Error in AjaxGetJSON: Not Found
Posted: 21 Mar 2019, 16:11
by jenskastensson
Hi,
after the latest update I get this "Error in AjaxGetJSON: Not Found " when open the revpi web interface.
I have cleared the cache, tried with several browsers, restarted revPI, problem persists.
Another question: where can I find release information - on the Internet - about kunbus/revpi software releases, e.g. piSerial was updated too.
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 25 Mar 2019, 11:19
by Frank
Hi,
> when open the revpi web interface.
by this, do you mean the 'PiCtory' app, or the 'REVOLUTION PI - RevPi Status' app?
For latest release information please look here under category 'Release Notes':
https://revolution.kunbus.de/tutorials/downloads/
or even better - directly subscribe to 'News & Announcements' on this page:
https://revolution.kunbus.de/forum/viewforum.php?f=5
Additional Info: you are seeing the updates because we've released a new image on March 15th
Frank
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 25 Mar 2019, 14:06
by jenskastensson
Hello the revpi status page. Pictory is not installed on our systems.
Jens
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 25 Mar 2019, 16:20
by Frank
Could you please have your Browser's debug window open (F12) and look into the 'Network' tab when you try to open the 'revpi Status' page?
You should see which file the program tries to open that is obviously missing. It is possibly one of the following:
- config.json
- configServices.json
These files are supposed to exist in the /var/www directory of your device and are being loaded on the startup of the 'revpi Status' page.
If either one of those is completely missing OR has a file size of 0 Bytes this could explain the error.
If you need assistance for this, please tell me which Browser you use ...
Frank
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 25 Mar 2019, 17:27
by jenskastensson
Hi Frank and thank you for the reply!
I checked the /var/www directory and the files seems alright:
- files-AjaxGetJSONNotFound.png (10.59 KiB) Viewed 10766 times
One file is missing in the the network output, the /pictory/config.json.
- AjaxGetJSONNotFound.png (209.6 KiB) Viewed 10766 times
Do you think this file the problem?
Kindly Jens
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 26 Mar 2019, 08:46
by Frank
Hi Jens,
yes, this may actually be the problem - the 'revpi Status' page does some kind of version checking and tries to access the pictory/config.json file on startup also; unfortunately I forgot this yesterday ...
You said that you don't use 'PiCtory' - but it needs to be installed anyway for the 'revPi Status' page to work correctly. At least the 'config.json' file needs to be present in the 'pictory' subdirectory ... as a simple workaround.
Regards,
Frank
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 26 Mar 2019, 11:33
by jenskastensson
Thanks Frank,
I'm afraid I have flashed all my revPI's without Pictory, do you mind pointing to the file(s) ( if it is available somewhere) or sending me the file(s) here or to jens at proknx dot com?
Best
Jens
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 01 Apr 2019, 15:58
by lukas
Hi Jens,
I've just pushed an updated revpi-webstatus package (version 1.2.8-1) to our apt repository to fix this issue. Be sure to clear your browser cache before testing it. (I've tested with the pre-installed epiphany browser and had to reload the page in addition to clearing the browser cache.) Let us know if you come across further issues. Thanks a lot for the report.
Re: Port 80 Error in AjaxGetJSON: Not Found
Posted: 01 Apr 2019, 17:10
by jenskastensson
Thanks Lukas, looks like the issue is fixed!
I did this:
1. remove the temporary fix var/www/pictory/config.json
2. opened port 80, got the Error in AjaxGetJSON: Not Found
3. apt update and upgrade
4. refreshed port 80 , no error
Thanks for your support!