> EOFError: Compressed file ended before the end-of-stream marker was reached
The EOFError: Compressed file ended before the end-of-stream marker was reached indicates that rdiff-backup encountered a gzip-compressed file that is incomplete or corrupted. It tried to read past the end of what it expected to be valid compressed data. This typically happens if the file was partially written, truncated, or damaged during storage. Most likely one of the ".gz" files located in rdiff-backup-data is corrupted. You may try to identify the files manually using "gzip -t <filename.gz>". Le mar. 10 juin 2025, à 07 h 41, Jan Christoph Uhde via Any discussion of rdiff-backup <rdiff-backup-users@nongnu.org> a écrit : > Hi, > > I get the following error when verifying a repo. The disk has still 2TB > free. Is there a way to find out what exactly is wrong? > > rdiff-backup --new verify . > WARNING: Server will be called with deprecated command line interface to > guarantee compatibility. It might lead to a deprecation warning from newer > rdiff-backup versions. Use '--api-version 201' (or higher) to avoid it. > WARNING: Two different times for current mirror found > WARNING: POSIX ACLs file not found > WARNING: Extended Attributes file not found > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/rdiff_backup/rorpiter.py", line > 364, in Collate2Iters > relem2 = next(riter2) > StopIteration > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/bin/rdiff-backup", line 33, in <module> > sys.exit(load_entry_point('rdiff-backup==2.2.6', 'console_scripts', > 'rdiff-backup')()) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/run.py", line 35, in > main > sys.exit(main_run(sys.argv[1:])) > ~~~~~~~~^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/run.py", line 108, in > main_run > ret_val |= conn_act.run() > ~~~~~~~~~~~~^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/actions/verify.py", > line 100, in run > return self.repo.base_dir.conn.compare.Verify( > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ > self.repo.ref_path, self.repo.ref_inc, self.action_time) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/rdiff_backup/compare.py", line > 218, in Verify > for repo_rorp in repo_iter: > ^^^^^^^^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/meta/ea.py", line 251, > in join_iter > for rorp, ea in rorpiter.CollateIterators(rorp_iter, ea_iter): > ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/rdiff_backup/rorpiter.py", line > 368, in Collate2Iters > for relem1 in riter1: > ^^^^^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/meta/acl_posix.py", > line 301, in join_iter > for rorp, acl in rorpiter.CollateIterators(rorp_iter, acl_iter): > ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/rdiff_backup/rorpiter.py", line > 368, in Collate2Iters > for relem1 in riter1: > ^^^^^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/meta/__init__.py", > line 61, in iterate > for record in self._iterate_records(): > ~~~~~~~~~~~~~~~~~~~~~^^ > File "/usr/lib/python3/dist-packages/rdiffbackup/meta/__init__.py", > line 75, in _iterate_records > next_pos = self._get_next_pos() > File "/usr/lib/python3/dist-packages/rdiffbackup/meta/__init__.py", > line 139, in _get_next_pos > newbuf = self.fileobj.read(self.blocksize) > File "/usr/lib/python3.13/gzip.py", line 340, in read > return self._buffer.read(size) > ~~~~~~~~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.13/_compression.py", line 68, in readinto > data = self.read(len(byte_view)) > File "/usr/lib/python3.13/gzip.py", line 566, in read > raise EOFError("Compressed file ended before the " > "end-of-stream marker was reached") > EOFError: Compressed file ended before the end-of-stream marker was reached > > > -- *** Par mesure d'efficacité, je consulte mes courriels une fois par jour.* IKUS Software https://www.ikus-soft.com/ 514-971-6442 St-Colomban, QC J5K 1T9