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

Gui/install fixes and changes #1192

Merged
merged 8 commits into from
May 17, 2022
Merged

Conversation

EricClaeys
Copy link
Collaborator

Fix a few bugs with gui/install.sh, lighttpd.conf, and sudoers.

This PR replaces the original one that was based on the "dev" branch and shouldn't have been.

Files should be 644, not 775.
ifconfig needs to be in the file in order for the start/stop network buttons in the WebUI to work.
1. Add the "thumbnails" directory to the list where buffering is turned off.  Without this, new thumbnails didn't appear until ALL of them were created, and with video thumbnails that could be half a minute, and the user would think the page hung.
2. Remove the "compress" lines since we aren't doing compression.  With the lines there, it produces two warnings in the log file.
* Put { } around variables to be consistent.
* Add quotes around some variables.
* No longer any need to replace only the FIRST instance of XX_ALLSKY_HOME_XX in funciton.php, so removed that comment and code.
* Merged the "sed -i" statements from 3 to 2, and added WEBSITE_DIR.
Since "ifconfig" is being added in the PR to "sudoers", check for it during installation.
To be consistent with all other variables pointing to directories, add ALLSKY_WEBUI and ALLSKY_WEBSITE.  The old names will go away in a future release.
And add ALLSKY_WEBSITE which is needed by the WebUI.
* Add a placeholder for "website" which is needed by the WebUI.
* To be consistent with other installation scripts, use placeholders that will be replaced during installation.
@EricClaeys EricClaeys added the bug needs software change label May 11, 2022
@thomasjacquin thomasjacquin merged commit 02c7d61 into master May 17, 2022
@thomasjacquin thomasjacquin deleted the gui/install-fixes-and-changes branch May 17, 2022 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs software change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants