aws-serverless-nextcloud icon indicating copy to clipboard operation
aws-serverless-nextcloud copied to clipboard

Upgrade pass

Open ChristianKniep opened this issue 4 years ago • 1 comments

I deployed with 21.0.1 and now I want to upgrade to a new version.

I did this after the initial deployment worked:

aws cloudformation deploy \
    --template-file ${OUTPUT_TEMPLATE_FILE} \
    --stack-name ${STACK_NAME} \
    --parameter-overrides \
        SuspendAutoScaling=true --capabilities CAPABILITY_IAM \
    --tags env=${TAG_ENV} service=${TAG_SERVICE}

Afterwards:

aws cloudformation deploy \
    --template-file ${OUTPUT_TEMPLATE_FILE} \
    --stack-name ${STACK_NAME} \
    --parameter-overrides \
        NextCloudVersion=${NC_VERSION} --capabilities CAPABILITY_IAM \
    --tags env=${TAG_ENV} service=${TAG_SERVICE}

That worked for me - I wonder if that is the recommended way and if so - can we add it to the README.md?

ChristianKniep avatar Jul 14 '21 19:07 ChristianKniep

There is a small section on how to upgrade in the readme: https://github.com/aws-samples/aws-serverless-nextcloud#how-to-upgrade-nextcloud-to-newer-version

You think this is sufficient? We could add CLI commands in addition to the written how to!?

f7o avatar Jul 15 '21 08:07 f7o