Instructions to install Aegir from git since Debian PGP key has expired - Debian packages are no longer supported

Created on 26 October 2022, over 1 year ago
Updated 7 February 2024, 5 months ago

Problem/Motivation

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://debian.aegirproject.org unstable InRelease: The following signatures were invalid: EXPKEYSIG 5ADF93A03376CCF9 Aegir Debian archive autosigning
W: Failed to fetch https://debian.aegirproject.org/dists/unstable/InRelease The following signatures were invalid: EXPKEYSIG 5ADF93A03376CCF9 Aegir Debian archive autosigning

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡Έ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.

  • πŸ‡¨πŸ‡¦Canada Francewhoa Sept-Îles, QuΓ©bec, πŸ‡¨πŸ‡¦
  • πŸ‡¬πŸ‡§United Kingdom Steven Jones

    @fenstrat did you make it to PHP 8.2?

  • πŸ‡¦πŸ‡Ί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.

Production build 0.69.0 2024