Skip to content

"cleanup_runtimes" sometimes delete the runtime currently in use #65

@roelkoops

Description

@roelkoops

I've run into a problem with cleanup_runtimes a few times now.
After the first deployment of an app with a new runtime I see this:

m2ee(mendix): about
Using m2ee-tools version 7.2.2
Using Mendix Runtime version 9.12.2.44241
Copyright © 2003-2022 Mendix bv. All rights reserved.
Model version: 0.0.0.6625

m2ee(mendix): cleanup_runtimes
INFO: Cleaning up old runtimes from /opt/app/Mendix/Fieldtool/runtimes...
INFO: Keeping 9.6.11.42323
INFO: Removing 9.12.2.44241...
m2ee(mendix):

The 'about' shows that runtime 9.12.2 is in use.
But when I give the command cleanup-runtime it removes that runtime.

If I download that specific runtime again, restart the application, and enter the cleanup_runtimes command again, then the correct runtimes are removed.

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