owncloud / owncloud/ocis

Migration command doesn't error when path is incorrect

Open
#6,966 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

The decomposedfs migration command
```
ocis migrate decomposedfs -r .ocis/storage/users
```
does not error when a wrong path is entered. Instead it reports success.

The decomposedfs migration list command
```
ocis migrate decomposedfs -r ../.ocis/storage/users list
```
does also not error when the path is incorrect, instead it reports `pending` status for all migrations

This can be very confusing for the user as they see a succeeded migration but the list command reports something else.

Both commands should error if the given path is not a decomposedfs root.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.