intercity/intercity-next

View on GitHub
app/views/servers/manual_update.html.erb

Summary

Maintainability
Test Coverage
<h1 class="title">Can't automaticly update</h1>
<div class="content">
  <p>To update your server, you need to manually SSH into the server, and run the following command:</p>

  <p>
    <blockquote class="highlight border">
      <button class="copy" data-clipboard-target="code#update-server">Copy</button>
      <code id="update-server">
        sudo echo 'dokku dokku/web_config boolean false' | debconf-set-selections && sudo echo 'dokku dokku/vhost_enable boolean false' | debconf-set-selections && sudo echo 'dokku dokku/skip_key_file boolean true' | debconf-set-selections && sudo apt-get install -qq -y dokku
      </code>
    </blockquote>
  </p>

  <p>After you updated the server, it can take up to 30 minutes for Intercity to pick up the updated version.</p>
</div>