Port 80 Error in AjaxGetJSON: Not Found
-
- Posts: 40
- Joined: 27 Feb 2018, 15:47
Port 80 Error in AjaxGetJSON: Not Found
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.
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
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
> 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
-
- Posts: 40
- Joined: 27 Feb 2018, 15:47
Re: Port 80 Error in AjaxGetJSON: Not Found
Hello the revpi status page. Pictory is not installed on our systems.
Jens
Jens
Re: Port 80 Error in AjaxGetJSON: Not Found
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
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
-
- Posts: 40
- Joined: 27 Feb 2018, 15:47
Re: Port 80 Error in AjaxGetJSON: Not Found
Hi Frank and thank you for the reply!
I checked the /var/www directory and the files seems alright: One file is missing in the the network output, the /pictory/config.json. Do you think this file the problem?
Kindly Jens
I checked the /var/www directory and the files seems alright: One file is missing in the the network output, the /pictory/config.json. Do you think this file the problem?
Kindly Jens
Re: Port 80 Error in AjaxGetJSON: Not Found
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
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
-
- Posts: 40
- Joined: 27 Feb 2018, 15:47
Re: Port 80 Error in AjaxGetJSON: Not Found
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
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
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.
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.
-
- Posts: 40
- Joined: 27 Feb 2018, 15:47
Re: Port 80 Error in AjaxGetJSON: Not Found
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!
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!