Opigno 2 on Pantheon

andyhawks
Forums
Has anyone been able to successfully install and use Opigno 2 on Pantheon? I added the opigno_lms profile under a Pantheon Drops-8 base, and I'm able to walk through the Opigno installer via UI, but upon saving the site configuration during install the server times out and then all further requests time out.
sdiaz

I am not able to install Opigno 2 in Pantheon

Hi, I have tried also to install Opigno 2 in Pantheon but I haven't been able to do it. Did you finally get it?
andyhawks

Opigno 2 Drop

If anyone stumbles upon this page, the easiest way to install Opigno 2 on Pantheon is via the drop that's available for Pantheon's terminus command line tool: terminus site:create desired-site-machine-name "My Human Readable Site Name" "Opigno LMS" ...change the desired-site-machine-name and "My Human Readable Site Name" to whatever you want. However, this times out for me after completing Site Configuration on the install, and I'm unable to load the site. If anyone gets it going successfully, please let me know. Otherwise, I think Opigno 2 on Pantheon is a fail - need to look at other hosting providers.
unqtious

Successs

I was able to get Opigno 2 working on Pantheon. I followed this: https://pantheon.io/docs/guides/drupal-8-composer-no-ci When it got to the part where you run the site install, I open the page and ran installation from the browser instead of Terminus. Also, Pantheon would allow modules or libraries with .git folders. I had to git rm -r them, and readd them with composer. Then I rm'd the .git folders. Also, it seems that Opigno prefers php 7.2.
andyhawks

I should have replied earlier

I should have replied earlier, I was also able to eventually get Opigno 2 on Pantheon with "terminus site:create desired-site-machine-name 'My Human Readable Site Name' 'Opigno LMS'". Like you, I had to install via web ui and it timed out a couple times during the install, so I just had to rerun the install a couple times and eventually it succeeded. One thing to note with the Opigno Drop method is the drop is an older version of Opigno 2. Currently I'm working on using the composer.json from 8.x-2.8 (https://opigno.atlassian.net/wiki/download/attachments/363134999/composer_json-v.2.8.0.zip?version=1&modificationDate=1570171676395&cacheVersion=1&api=v2) to upgrade, and trying to do it under a local environment running Acquia BLT + Lando.
unqtious

Maintaining

@andyhawks That's great. Are you having any issues maintaining it? We're considering trying this method as it seems more maintainable: https://pantheon.io/docs/guides/drupal-8-commerce
Profile picture for user michaeljhtaggart
michaeljhtaggart

Drupal distributions on Pantheon

For commands that I put here, do not use the curly brackets in your command line, just use what I put inside them. I am migrating an Opigno 3.x to Pantheon currently; However, if you are needing to spin up a new Opigno distribution take a look at the most recent list of Pantheon "upstreams" (If you are not sure what an upstream is, skip to the bottom message that says UPSTREAM DEFINITION); {{terminus upstream:list --format=table}}; To run one of these in your terminal you can use: {{ terminus site:create your-site-name "your-site-label" "your-upstream-uuid" --org="your-organization-uuid" }}; Please only use the flag --org IF you have a specific workspace you are attempting to build this website. To identify the org uuid you are attempting to build this website in, you can use {{ terminus org:list }}. If you are attempting to migrate an existing codebase, database, and "Archive of site files" (aka: web/sites/default/files); I am too. Currently attempting to follow: https://docs.pantheon.io/guides/drupal-from-dist. ***************UPSTREAM DEFINITION***************: A Pantheon upstream is a centralized code repository that serves as the starting point for creating new sites on the Pantheon platform. Upstreams contain the core codebase for a specific CMS (e.g., Drupal or WordPress) or a particular distribution of a CMS (e.g., Opigno LMS for Drupal). When you create a site on Pantheon, you select an upstream to use as the basis for your new site. The upstream provides the default code, themes, and configurations for your site. This allows you to easily create new sites based on a pre-configured setup, which can save time and ensure consistency across your projects. Upstreams are managed with Git and can be updated over time. When updates are made to an upstream, you can pull those changes into your site to keep it up to date with the latest improvements, security patches, and bug fixes. This helps maintain your site more easily and ensures you have the latest features and fixes from the upstream. Pantheon provides some default upstreams for popular CMS platforms like Drupal and WordPress. Additionally, you can create custom upstreams for your organization, allowing you to maintain your own codebase and configurations for specific projects or use cases.