0.22.0 Migration Guide
Deprecations
- Calling
logs:failedwithout either a<name>or the--allflag is deprecated.
Changes
- Underscores are no longer valid characters in app names. Please rename applications before upgrading.
- Process type names specified in Procfile may no longer use characters not valid in DNS Label Names (RFC 1123).
- The minimum Docker version is now 17.05.0.
- The
common.GetDeployingAppImageName()function now returns anerroras the second return argument instead of callingcommon.LogFail()internally. - Setting
DOKKU_DISABLE_ANSI_PREFIX_REMOVALis deprecated; Dokku 0.23.0 will avoid removing theremote:ansi prefix entirely. No warning will be added in this release.
Removals
The ps command has had a few removals as a result of a rewrite to Golang:
- The
ps:set-restart-policycommand has been removed in favor theps:setcommand. - The
ps:restart-policycommand has been removed in favor of theps:reportcommand. - The
ps:rebuildallcommand has been removed in favor of calling theps:rebuildwith the--allflag instead of an app name. - The
ps:restartallcommand has been removed in favor of calling theps:restartwith the--allflag instead of an app name. - The
ps:stopallcommand has been removed in favor of calling theps:stopwith the--allflag instead of an app name. - The
ps:startallcommand has been removed in favor of calling theps:startwith the--allflag instead of an app name. - The
DOKKU_PROCFILEfile is no longer located in the git directory for a given app on the server. It's location is currently not exposed. - The
procfile-get-commandplugin trigger no longer takes aprocfile pathas the final argument. - All
psfunctions have been removed. Please us a trigger as appropriate or file a PR to have a new trigger/wrapper function added.