[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2022-04-06 Thread Dariusz Działak
For us change `VfileUseRangeOps: -1` did not solved that problem. It was
happening with our custom repository only, let say `repo.xxx.com`
(unsure why, maybe because it was changing quite often?) and after
upgrade host from Xenial or Bionic (doesn't matter) to Focal the error
started to appear very often. The problem disappeared after adding to
config entry like below:

```DontCacheRequested: .*repo.xxx.com.*InRelease```

Good news is also that, the cache for that repo still works (it was
crucial for us, because we are charged for that private repo).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-12-06 Thread Emmanuel Fusté
VfileUseRangeOps: -1 fixed all my use cases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-08-15 Thread Steve Dodd
Well, touch wood, something I've done has made things happier. I moved
everything from the cache directory to a subfolder, made it
inaccessible, removed apt lists from clients and ran apt-get update,
then linked all the original cache files into _import and made acng
reimport them.

The first time I did this, it didn't seem to help. After the second
time, so far, everything is OK. I also reinstalled the package and let
it overwrite my config, but looking at the actual uncommented options in
each version, they're basically identical. All very odd...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-08-15 Thread Steve Dodd
I was seeing the dreaded "503 Inconsistent file state" talking to the
canonical (sorry) package repositories. As I said, there are no explicit
upstream proxies, but who knows what the ISP is doing (this would be a
big argument in favour of running apt-get over https to my mind..)

Anyway, at the moment after a cycles of intelligent nuking (trying to
retain my cache contents while rebuilding it) things seem OK. I feel bad
for not going into full-on debug mode and trying to get to the bottom of
it, but I'm got a huge mountain of stuff to do and just needed this
working so I could get on :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-08-15 Thread Paul Boven
Hi Steve,

On 8/15/19 11:04 PM, Steve Dodd wrote:
> acng seems totally broken in bionic. I'm not knowingly behind a proxy -
> can't completely rule out ISP doing something evil though. Anyone have
> any pointers on this? Very few google hits, nothing on bugs.debian.org
> that I can see, very little activity for acng on salsa.debian.org ..

Could you perhaps be a bit more specific in the bug tracker about how it 
is totally broken?

It works fine for us (on Bionic), with the workarounds noted in this 
bug, and in
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1771914

Regards, Paul Boven.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-08-15 Thread Steve Dodd
acng seems totally broken in bionic. I'm not knowingly behind a proxy -
can't completely rule out ISP doing something evil though. Anyone have
any pointers on this? Very few google hits, nothing on bugs.debian.org
that I can see, very little activity for acng on salsa.debian.org ..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-06-13 Thread Emmanuel Fusté
Hoo my
Our proxys are NOT fixed.
I go back to VfileUseRangeOps: 0.
I need to choose between a functional repository for daily updates or a 
functional repository for distribution release upgrade.
Will try if with VfileUseRangeOps: -1 I could get both.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-06-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: apt-cacher-ng (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-06-12 Thread Emmanuel Fusté
Same bug different cause:
VfileUseRangeOps: 0
is no longer usable.
Ubuntu dis-upgrader-all tar.gz files (for do-release-upgrade) always trigger 
the same bug with the "storage error [503 Inconsistent file state], last errno: 
File exists".

As our proxys seems to be fixed regarding if-range header, using the
default "VfileUseRangeOps: 1" fixed our problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1826405] Re: Repeatedly "storage error [503 Inconsistent file state], last errno: File exists

2019-05-16 Thread Paul Boven
Further analysis shows that this problem is due to a fun interaction
between lighttpd an ACNG. We use lighttpd to serve a local Debian/Ubuntu
package repository. In about half the cases where we run 'apt update',
it will fail with error 503 on the 'Release' file of such a repository.

What happens is:

1) Client asks ACNG for a new file. ACNG downloads it, serves it to the
client, adds it to /var/cache/apt-cacher-ng/

2) Subsequent requests for this file will work as expected

3) If the file hasn't been requested for a while, ACNG will run
'fileitem::DoDelayedUnregAndCheck'

4) The file is still in /var/cache/apt-cacher-ng/, but ACNG
has forgotten about it. A new request will fail with error 503 because
ACNG detects the file being in the cache ('Inconsistent File State').
ACNG deletes the file in question, and the next request will work.

This only happens if there is no 'Last Modified' HTTP header sent by
lighttpd. I've modified the lighttpd.conf to add this header, and ACNG
no longer gives the '503 Inconsistent File State' error.

Lighttpd.conf addition (from https://www.anexia-it.com/blog/en/the-tale-
of-lighttpd-not-sending-the-last-modified-header/ ):

mimetype.assign += ("" => "application/octet-stream" )

This still seems like a bug in ACNG, but this work-around might be
useful for some.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826405

Title:
  Repeatedly "storage error [503 Inconsistent file state], last errno:
  File exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1826405/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs