Git Product home page Git Product logo

Comments (8)

ThomasWaldmann avatar ThomasWaldmann commented on June 9, 2024

1.2.0 is rather old meanwhile, you could try a much more recent borg 1.2.x with quite some bug fixes and also a few new features from the maintainer's ppa:

https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup?field.series_filter=jammy

Alternatively, you could try:

  • make very sure no borg is (going to be) active in that repo, then use: borg break-lock REPO
  • if that doesn't fix it, again make very sure no borg is (going to be) active in that repo and manually remove files/dirs with "lock" in the name from the repo directory.

from borg.

nekr0z avatar nekr0z commented on June 9, 2024

borg break-lock REPO seems to be the only borg command that does not produce the error. Unfortunately, it doesn't help.

Even after rm -r REPO/lock* I receive the same errors upon trying any borg command.

from borg.

nekr0z avatar nekr0z commented on June 9, 2024

The issue does not reproduce on 1.2.7.

It is unfortunate that Ubuntu LTS has a buggy version.

from borg.

ThomasWaldmann avatar ThomasWaldmann commented on June 9, 2024

If 1.2.0 still crashes: can you do a ls -l REPO_DIR?

from borg.

ThomasWaldmann avatar ThomasWaldmann commented on June 9, 2024

Debian/Ubuntu policy is to usually not do version upgrades of packages in a stable release, but only patch security or other severe bugs.

from borg.

ThomasWaldmann avatar ThomasWaldmann commented on June 9, 2024

BTW, if you upgrade to > 1.2.4, read the changelog, esp. the required migration steps at top of the changelog.

from borg.

nekr0z avatar nekr0z commented on June 9, 2024

If 1.2.0 still crashes: can you do a ls -l REPO_DIR?

1.2.0 does still crash. Here's a ls -l after a couple of runs:

итого 29628
-rw-------  1 eugenschmidt eugenschmidt      700 апр  1 17:44  config
drwxrwxr-x 17 eugenschmidt eugenschmidt     4096 мар 27 14:25  data
-rw-------  1 eugenschmidt eugenschmidt     2518 апр  1 19:22  hints.14387
-rw-------  1 eugenschmidt eugenschmidt 30304298 апр  1 19:22  index.14387
-rw-------  1 eugenschmidt eugenschmidt      190 апр  1 19:22  integrity.14387
-rw-------  1 eugenschmidt eugenschmidt       62 апр  1 19:21 'lock (2).roster'
-rw-------  1 eugenschmidt eugenschmidt       62 апр  1 19:22 'lock (3).roster'
-rw-------  1 eugenschmidt eugenschmidt       16 апр  1 19:22  nonce
-rw-rw-r--  1 eugenschmidt eugenschmidt       73 янв 15 13:09  README

BTW, if you upgrade to > 1.2.4, read the changelog, esp. the required migration steps at top of the changelog.

I have checked the changelog on the official site, and it doesn't seem to list any breaking changes and/or upgrade notes between 1.2.0 and 1.2.7. Fortunately, simply upgrading the package and running the same commands produces no errors and seems to work fine.

from borg.

ThomasWaldmann avatar ThomasWaldmann commented on June 9, 2024

Remove these lock*.roster files while borg is not active.

And read the top of the changelog "important notes" (again) if you do not want to risk data loss. If you read it on the web, choose the correct borg version using the version selector at the lower right.

https://borgbackup.readthedocs.io/en/1.2.7/changes.html#pre-1-2-5-archives-spoofing-vulnerability-cve-2023-36811

from borg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.