If you open the DB and theis fails e.g. because of invalid data in a line (and not using ignore errors) then this fails. But it do not unlock the lock file. a Close will also not unlock the lockfile because _isOpen is still false (because DB was never really open).
Relates to ioBroker/ioBroker.admin#1833 (comment)
For the "iob fix" command the plan was to use open without ignoreError, then catch an error, log a line and open DB with "ignoreErrors" ... but this fails because of lockfile is still there and locked
If you open the DB and theis fails e.g. because of invalid data in a line (and not using ignore errors) then this fails. But it do not unlock the lock file. a Close will also not unlock the lockfile because _isOpen is still false (because DB was never really open).
Relates to ioBroker/ioBroker.admin#1833 (comment)
For the "iob fix" command the plan was to use open without ignoreError, then catch an error, log a line and open DB with "ignoreErrors" ... but this fails because of lockfile is still there and locked