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

Allow web install over prior version #972

Merged
merged 4 commits into from
Jan 27, 2022

Commits on Jan 24, 2022

  1. install.sh: All updating over prior version

    Take into account that the user may already have the Allsky Website installed, so save it, then install the new version, and restore saved videos, keograms, and startrails as well as any associated thumbnails.  Also restore configuration files.
    If the user is installing Allsky Website for the first time, set some configuration variables based on the Allsky configuration.
    
    The code dealing with configuration files was moved to a function "modify_configuration_variables" in case we want to call it on "--update".
    EricClaeys authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    dc21531 View commit details
    Browse the repository at this point in the history
  2. install.sh: Error checking and better msgs

    Add an error check.  Make error messages more consistent.
    Improve message after completion and include Wiki URL for new website users.
    Remove "set -x" left over from my testing.
    EricClaeys authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    a215fa4 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Configuration menu
    Copy the full SHA
    ff01d5d View commit details
    Browse the repository at this point in the history
  2. install.sh: change XX_ON_PI_XX

    functions.php needs to know if it's on a Pi so it can check the "XX_ALLSKY_CONFIG_XX" placeholder and if not updated, warn the user.
    On remote servers we should NOT check the placeholder.  The "XX_ON_PI_XX" placeholder is set "true" during installation on a Pi which tells functions.php it's running on a Pi.
    
    There is no longer a need to replace only the 1st instance of XX_ALLSKY_CONFIG_XX since there is now only one instance.
    EricClaeys authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    da39ee8 View commit details
    Browse the repository at this point in the history