Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run the WebGUI #706

Closed
NeilBuc007 opened this issue Oct 21, 2021 · 9 comments · Fixed by #710
Closed

Cannot run the WebGUI #706

NeilBuc007 opened this issue Oct 21, 2021 · 9 comments · Fixed by #710

Comments

@NeilBuc007
Copy link

NeilBuc007 commented Oct 21, 2021

Trying the latest 0.8v out on my other RPi4b. I did an update of Raspabian first with apt. Then followed the wiki update instructions . However from the RPi and Chrome I cannot access the WebGUI. I t keeps telling me to sudo /gui/install.sh --update to access it and that doesn't work. No errors in the logfile either. Any ideas?

@jryd2000
Copy link

It looks like when the command "sed -i "s;XX_ALLSKY_HOME_XX;${ALLSKY_HOME};" functions.php save_file.php" is run from the install script and updates functions.php it is not only updating the define direction on line 13 but also the condition statement on line 19.

If you want to manually fix, edit the includes/functions.php file and replace line 19 back to the original value:

if (ALLSKY_HOME == "XX_ALLSKY_HOME_XX") {

@maserowik
Copy link

This solved my issue.
Thanks
Mike

@NeilBuc007
Copy link
Author

Many thanks. That has sorted my issue. Neil

@NeilBuc007
Copy link
Author

Sorted with instructions above.

@Wischi1
Copy link

Wischi1 commented Oct 21, 2021

Hi all, as I have same problem since today, but without much knowledge, can someone please help/ assist on this matter?
I assume I need to use „nano“ to edit the file? If so, where is this file?
Thx in advance
Sven

@NeilBuc007
Copy link
Author

Hi all, as I have same problem since today, but without much knowledge, can someone please help/ assist on this matter? I assume I need to use „nano“ to edit the file? If so, where is this file? Thx in advance Sven

Hi. You will find functions.php in the directory /var/www/html/includes/

Just right click the file and select Text Editor. Or use nano from command shell.

Cheers

Neil

@Wischi1
Copy link

Wischi1 commented Oct 21, 2021

Hey Neil,
thanks for your help, I found it. But next problem for me as a noob: What do I need to change exactly?

@Wischi1
Copy link

Wischi1 commented Oct 21, 2021

Line 19 shows me:
if (ALLSKY_HOME == „/home/pi/allsky“) {

@Wischi1
Copy link

Wischi1 commented Oct 21, 2021

Got it! Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants