Inconsistency between REST API description and CLI description of the same mirror, db files are missing. #1337
Labels
bug
please confirm resolved
We believe the issue is resolved ! if so, please close the issue, thanks ;-)
Detailed Description
Found inconsistency between cli output and REST API output:
Also, the mirror update does not work for this mirror:
Note the last line: error locating part of the DB.
I tried to cleanup and recover, but the error is the same, part of DB is missing.
Aptly running in the docker container, most operations are done using cli, and some operations are done with REST API. I also have db backups if this will help.
I do not have particular steps to reproduce, since I do not know exactly when this inconsistency started.
Please let me know how to approach this problem. Mirror re-creation is an option, but I would like to avoid it if possible.
To the best of my understanding, the issue is caused by opening db during the mirror update on this line.
Context
I want consistent data about the same object returned via REST API and CLI.
Possible Implementation
Your Environment
Aptly 1.5.0
Docker container with mounted volume for data.
The text was updated successfully, but these errors were encountered: