You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backup failed: Could not acquire lock on file: /var/lib/mongodb-consistent-backup/.../20181018_2118/mongodb-consistent-backup_META.lock!
Traceback (most recent call last):
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/__init__.py", line 16, in run
m.run()
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/Main.py", line 441, in run
self.stop_timer()
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/Main.py", line 152, in stop_timer
self.state.set('timers', self.timer.dump())
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/State.py", line 63, in set
self.write(True)
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/State.py", line 68, in write
self.lock.acquire()
File "/home/ubuntu/.pex/install/mongodb_consistent_backup-1.4.0-py2-none-any.whl.7a32330efda4673a2eb16ddfcf02bfeef185ac4e/mongodb_consistent_backup-1.4.0-py2-none-any.whl/mongodb_consistent_backup/Common/Lock.py", line 26, in acquire
raise OperationError("Could not acquire lock on file: %s!" % self.lock_file)
OperationError: Could not acquire lock on file: /var/lib/mongodb-consistent-backup/.../20181018_2118/mongodb-consistent-backup_META.lock!
root@mng:~# stat /var/lib/mongodb-consistent-backup/.../20181018_2118/mongodb-consistent-backup_META.lock
stat: cannot stat '/var/lib/mongodb-consistent-backup/.../20181018_2118/mongodb-consistent-backup_META.lock': No such file or directory
I have the same issue. I think it is due to the remove_uploaded: true option. (with upload to s3)
When I don't use this option the error is gone.
I think the local folder is deleted before the lock check or something like that.
v1.4.0
Right after s3 upload:
Configuration:
Any ideas?
The text was updated successfully, but these errors were encountered: