ispconfig update script

Discussion in 'General' started by josiah, Jul 17, 2021.

  1. josiah

    josiah New Member

    How do i create a update script, so i can auto update my Multi Server setup more efficient
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's described in the update script:

    autoinstall files samples are in docs/autoinstall_samples/ folder in the ISPConfig tar.gz file.
     
    ahrasis and josiah like this.
  3. Johan Ehnberg

    Johan Ehnberg New Member

    Is there any intended workflow for autoinstaller updates? I noticed update.php is the one that understands the autoinstaller argument but the preceding scripts do not. There is some passing of $@ but update-runner.sh autolaunches update.php without arguments. And update.php is naturally not available before downloading.

    If there is not a workflow available, would it make sense to be able pass through some arguments for a completely automated version check, download & upgrade? That would allow something like this:

    sudo /usr/local/bin/ispconfig_update.sh --channel=stable --autoinstall=autoinstall.ini

    The alternative I am exploring being effectively a scripted download optionally implemented with version check duplicated from ispconfig_update.php
     
    ahrasis likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, we should probably pass parameters from ispconfig_update.sh to update.sh
     
    Th0m likes this.

Share This Page