Skip to content

upsun set-remote [id] without interaction fails #54

@quentint

Description

@quentint

When running upsun set-remote [id] --no-interaction (or without the --no-interaction flag in a CI context), the following error happens:

In Selector.php line 295:
                                                             
  Could not determine the current project.                   
                                                             
  Specify it using --project, or go to a project directory.  
                                                             
  To set the project for this Git repository, run:           
    upsun set-remote [id]                                    
                                                             

upsun set-remote [-h|--help] [-V|--version] [-v|vv|vvv|--verbose] [-q|--quiet] [-y|--yes] [--no-interaction] [--] <command> [<project>]

When trying with the requested --project argument, it fails with:

The "--project" option does not exist.  
                                          

upsun set-remote [-h|--help] [-V|--version] [-v|vv|vvv|--verbose] [-q|--quiet] [-y|--yes] [--no-interaction] [--] <command> [<project>]

I am using the latest version: 5.10.1.

My latest successful CI deployment was on Monday, April 27, 2026 at 10:36:23 AM EDT (using on the latest version at that time: 5.9.0), my first failed CI deployment was on Monday, April 27, 2026 at 1:59:23 PM EDT (using 5.10.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions