github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_check_sharings.md (about)

     1  ## cozy-stack check sharings
     2  
     3  Check the io.cozy.sharings documents
     4  
     5  ### Synopsis
     6  
     7  
     8  This command checks that the io.cozy.sharings have no inconsistencies. It can
     9  be triggers that are missing on an active sharing, or missing credentials for
    10  an active member.
    11  
    12  There are 2 steps:
    13  
    14  - setup integrity checks that there are nothing wrong in the configuration like
    15    a missing trigger
    16  - files and folders consistency checks that the shared documents are the same
    17    for all members
    18  
    19  By default, both operations are done, but you can choose to skip the consistency
    20  check via the flags.
    21  
    22  
    23  ```
    24  cozy-stack check sharings <domain> [flags]
    25  ```
    26  
    27  ### Options
    28  
    29  ```
    30        --fast   Skip the sharings FS consistency check
    31    -h, --help   help for sharings
    32  ```
    33  
    34  ### Options inherited from parent commands
    35  
    36  ```
    37        --admin-host string   administration server host (default "localhost")
    38        --admin-port int      administration server port (default 6060)
    39    -c, --config string       configuration file (default "$HOME/.cozy.yaml")
    40        --host string         server host (default "localhost")
    41    -p, --port int            server port (default 8080)
    42  ```
    43  
    44  ### SEE ALSO
    45  
    46  * [cozy-stack check](cozy-stack_check.md)	 - A set of tools to check that instances are in the expected state.
    47