Skip to content

Updating with postgres or redis will fail #3

@nomisge

Description

@nomisge

Hello,

Running an update for e.g. postgres the resulting compose file will have image: nexcloud: ... instead of image: postgres: ...

I already reported the issue via mail. But since nothing happened, and since I found a possible solution, I'll post it here in the spirit of open source (no time to run tests and create a pull request).

The following line is wrong:

compose_data["services"][service]["image"] = f"nextcloud:{new_version}"

It is supposed to be:
compose_data["services"][service]["image"] = f"{service}:{new_version}"

Hope that info is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions