Skip to content

How to do hostmaster upgrades #42

@PaulLebmann

Description

@PaulLebmann

Hi,

I'm running hostmaster:latest and it is working great. Thank you for this great project!
Until now I could work around or fix every problem I had with it. But I still got an conceptional question. I don't get how updates can work.

Since you define /var/aegir as a volume in your Dockerfile I mounted a named volume in my docker-comopose.yml to this directory. Maybe this was my error.
As far as I understand it /var/aegir/platforms has to be persistent even if a container is recreated and since you just defined /var/aegir I used this.
In entrypoint.sh you check if @hostmaster is set, which, as I understand it, means that /var/aegir/.drush has to be present.
After that you check if $AEGIR_HOSTMASTER_ROOT contains the hostmaster site.
What I don't get if: If $AEGIR_HOSTMASTER_ROOT does exist, how can it not contain the hostmaster site (after it is installed the first time)?

Do I have to download the latest version of provision and create the new hostmaster platform myself and then rename the old version and let docker-entrypoint.sh to the migration?

I found https://github.com/aegir-project/dockerfiles/pull/15 and read the commit message but I still don't get it.

Could you please elaborate on the process or extend the documentation since I have absolutely no idea other than starting a shell in the container and doing it the same way as I did the last years.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions