OctoberCMS
Setup guide for install and configure 1Pilot client on OctoberCMS

Install on OctoberCMS site

Setup October CMS v2

Run following commands to install 1Pilot client and run migrations
php artisan plugin:install OnePilot.Client
php artisan october:migrate
  • Once installed, go to Settings, 1Pilot Settings and copy the private key
  • Go to your 1Pilot Dashboard and click add new site
  • Fill out the required fields and paste the private key

Setup October CMS v1

  1. 1.
    Install "1Pilot remote manager" plugin on your website
  2. 2.
    Once installed, go to Settings, 1Pilot Settings and copy the private key
  3. 3.
    Go to your 1Pilot Dashboard and click add new site
  4. 4.
    Fill out the required fields and paste the private key

Advanced configuration

Disable timestamp check

If your server is not at time you can have issue to connect your application to 1Pilot. For solve that go to 1Pilot Settings on the OctoberCMS backend of your site and check "Skip timestamp validation".
Please note that this option will decrease security and that you should as much as possible set your server at the correct time.

October CMS v2 - plugins updates

As you probably know, October version 2 uses composer to update the core and plugins. To be able to update plugins from the 1Pilot dashboard without reaching the timeout during the process and breaking your website, we now perform theses updates asynchronously via your website cron.
In practice, when you click on the update button from the 1Pilot dashboard, we contact your website and ask it to schedule the update command. The next time the cron calls schedule:run, your website runs a composer update (after all other scheduled tasks, to avoid delaying them) to update the requested plugins. Once the composer update finishes, the website contacts the 1Pilot server to show on the dashboard that the update has been completed.

Requirements

For the update to work properly, you must have :
  • 1Pilot plugin ≥ 1.2.0 installed
  • the October scheduler properly configured On 1Pilot, under the "Details" tab of your website, you should see the "Scheduler: Works properly" row
  • composer v2 (you can run composer --version to know the composer version)
    if your server has multiple composer binaries (v1 and v2) you can set the composer binary path in config/system.php
'composer_binary' => '/your/composer/path'
Copy link
On this page
Install on OctoberCMS site
Setup October CMS v2
Setup October CMS v1
Advanced configuration
October CMS v2 - plugins updates
Requirements