Command 'juju set-application-base'


juju set-application-base [options] <application> <series>


Set an application’s base.

Global Options:

--debug  (= false)

Equivalent to --show-log --logging-config==DEBUG

-h, --help  (= false)

Show help on a command or other topic.

--logging-config (= "")

Specify log levels for modules

--quiet  (= false)

Show no informational output

--show-log  (= false)

If set, write the log file to stderr

--verbose  (= false)

Show more verbose output

Command Options:

-B, --no-browser-login  (= false)

Do not use web browser for authentication

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>


The specified application’s series value will be set within juju. Any subordinates of the application will also have their series set to the provided value.

This will not change the series of any existing units, rather new units will use the new series when deployed.

It is recommended to only do this after upgrade-machine has been run for machine containing all existing units of the application.

To ensure correct binaries, run ‘juju refresh’ before running ‘juju add-unit’.


Set the series for the ubuntu application to focal

juju set-application-base ubuntu focal

See also:


Last updated 7 months ago.