- πΊπΈUnited States SocialNicheGuru
Is there a packages10inc file that would allow us to install Drupal 10 sites?
- π¨π¦Canada bgm Montreal
@SocialNicheGuru: I think those last two comments/issues are not directly linked to the issue here (git install/upgrade), but issues with provision. For what it's worth, I'm on MariaDB 10.5 and did not notice any issues. I haven't used D10 yet.
- πΊπΈUnited States SocialNicheGuru
@bgm. I think you might be correct.
It was just during a migration.
One went without an issue.
The other had those two come up.
I am just noting them and will move to other issues.
- πΊπΈUnited States SocialNicheGuru
How do I do hostmater install
At Step 6. I did
drush hostmaster-install
which seemed to work.
But it did not use the copy of hostmaster from step 4.
Instead it created it's own hostmaster-7.x-3.x directory. - πΊπΈUnited States SocialNicheGuru
Installing from git repository is the recommended way moving forward.
- π¦πΊAustralia fenstrat Australia
@bgm thanks very much for the details in #7. Using that I've successfully migrated from /var/aegir/hostmaster-7.x-3.192 to /var/aegir/hostmaster
Attached is the patch I used for hostmaster that bumps the contrib modules up to their latest stable versions. Note that building hostmaster with drush make already bumps core to the latest stable (7.98).
To apply the patch, before running drush make edit /var/aegir/.drush/provision/aegir.make to get it to apply the patch:
diff --git a/aegir.make b/aegir.make index d1357cc8..75d2c18f 100644 --- a/aegir.make +++ b/aegir.make @@ -7,4 +7,5 @@ projects[hostmaster][type] = "profile" projects[hostmaster][download][type] = "git" projects[hostmaster][download][url] = "http://git.drupal.org/project/hostmaster.git" projects[hostmaster][download][branch] = "7.x-3.x" +projects[hostmaster][patch][3317637] = "3317637-21.patch"
Running
drush make /var/aegir/.drush/provision/aegir.make /var/aegir/hostmaster
will then use the latest contrib modules.Next step for me is to bump from PHP 7.4 to PHP 8.2. I'll report back if there's any issues.
- π¦πΊAustralia fenstrat Australia
@Steven Jones yes I did, everything mostly worked from memory. Needed a couple additional patches, some of which you've committed, thanks!
More to the point though Aegir 3 seems pretty much at a dead end, as you well know. Especially when I was looking at this ~ 6 months ago. As we needed Drupal 10 support we've had to migrate off Aegir. Thankfully replacing its platform migration (the essential bit of Aegir for us) with custom code that did what we needed was relatively straight forward.
- π¨π¦Canada bgm Montreal
I kind of have D10 and PHP 8.2 working on Aegir, if anyone's interested. I'm not sure if it will be useful to many people though. I basically started from the omega8 provision fork, but then removed a lot of things I didn't use and were causing issues, and replaced drush PHP calls by shell calls (which is what I do for WordPress support, and what I think provision4 did). That way multiple drush versions can co-exist on the system. It breaks a lot of Aegir things though. Install and backup works, limited testing for clone/migrate, and I still have an annoying issue with 'verify' wiping out some settings. I hope to fix the verify bug and post a blog post in 2-3 weeks.