Steps to upgrade Dapr in a self-hosted environment

Follow these steps to upgrade Dapr in self-hosted mode and ensure a smooth upgrade
  1. Uninstall the current Dapr deployment:

    dapr uninstall --all
    
  2. Download and install the latest CLI by visiting this guide.

  3. Initialize the Dapr runtime. Use the full version: a short form such as 1.19 does not resolve.

    dapr init --runtime-version=1.19.0
    

    To have the Scheduler serve actor placement instead of the Placement service (Dapr 1.19 or later), add --scheduler-placement. It does not start the dapr_placement container. Learn more about serving placement from the Scheduler service.

  4. Ensure you are using the latest version of Dapr (v1.19.0)) with:

    $ dapr --version
    
    CLI version: 1.19
    Runtime version: 1.19