I managed to upgrade the 1.16 fs to 2.9 using a clean cachedir.
Now 2.16 (from repo) chokes while mounting the bucket:
Uncaught top-level exception:
Traceback (most recent call last):
File "/usr/bin/fsck.s3ql", line 9, in <module>
load_entry_point('s3ql==2.14', 'console_scripts', 'fsck.s3ql')()
File "/usr/lib/s3ql/s3ql/fsck.py", line 1162, in main
seq_no = get_seq_no(backend)
File "/usr/lib/s3ql/s3ql/common.py", line 54, in get_seq_no
while ('s3ql_seq_no_%d' % seq_no) not in backend:
File "/usr/lib/s3ql/s3ql/backends/common.py", line 271, in __contains__
return self.contains(key)
File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 287, in contains
return self.backend.contains(key)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 438, in contains
self.lookup(key)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 107, in wrapped
return method(*a, **kw)
File "/usr/lib/s3ql/s3ql/backends/s3c.py", line 279, in lookup
return self._extractmeta(resp, key)
File "/usr/lib/s3ql/s3ql/backends/s3c.py", line 742, in _extractmeta
raise CorruptedObjectError('Invalid metadata format: %s' % format_)
s3ql.backends.common.CorruptedObjectError: Invalid metadata format: pickle
Uncaught top-level exception:
Traceback (most recent call last):
File "/usr/bin/mount.s3ql", line 9, in <module>
load_entry_point('s3ql==2.14', 'console_scripts', 'mount.s3ql')()
File "/usr/lib/s3ql/s3ql/mount.py", line 129, in main
(param, db) = get_metadata(backend, cachepath)
File "/usr/lib/s3ql/s3ql/mount.py", line 361, in get_metadata
seq_no = get_seq_no(backend)
File "/usr/lib/s3ql/s3ql/common.py", line 54, in get_seq_no
while ('s3ql_seq_no_%d' % seq_no) not in backend:
File "/usr/lib/s3ql/s3ql/backends/common.py", line 271, in __contains__
return self.contains(key)
File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 287, in contains
return self.backend.contains(key)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 438, in contains
self.lookup(key)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 107, in wrapped
return method(*a, **kw)
File "/usr/lib/s3ql/s3ql/backends/s3c.py", line 279, in lookup
return self._extractmeta(resp, key)
File "/usr/lib/s3ql/s3ql/backends/s3c.py", line 742, in _extractmeta
raise CorruptedObjectError('Invalid metadata format: %s' % format_)
s3ql.backends.common.CorruptedObjectError: Invalid metadata format: pickle
Which was to be expected, but a bit rude I think.
When I use 2.16 upgrade, I get the following message:
# s3ql.upgrade *****.******.******.*****
Getting file system parameters..
File system revision too old to upgrade!
You need to use an older S3QL version to upgrade to a more recent
revision before you can use this version to upgrade to the newest
revision.
The last S3QL version that supported this file system revision
was 2.13. To run this version's s3qladm, proceed along
the following steps:
$ wget
http://s3ql.googlecode.com/files/s3ql-2.13.tar.bz2
|| wget
https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.13.tar.bz2
$ tar xjf s3ql-2.13.tar.bz2
$ (cd s3ql-2.13; ./setup.py build_ext)
$ s3ql-2.13/bin/s3qladm <options>
2.13 says:
Getting file system parameters..
File system revision too old to upgrade!
You need to use an older S3QL version to upgrade to a more recent
revision before you can use this version to upgrade to the newest
revision.
The last S3QL version that supported this file system revision
was 2.12. To run this version's s3qladm, proceed along
the following steps:
$ wget
http://s3ql.googlecode.com/files/s3ql-2.12.tar.bz2
|| wget
https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.12.tar.bz2
$ tar xjf s3ql-2.12.tar.bz2
$ (cd s3ql-2.12; ./setup.py build_ext)
$ s3ql-2.12/bin/s3qladm <options>
2.12 runs smoothly, but warns:
It is strongly recommended to run the s3ql_verify command with the
--data option as soon as possible. This is necessary to ensure that the
upgrade to the next (2.11) S3QL release will run smoothly.
That's a totally rediculous statement, since 2.11 was before 2.12?
And finally, 2.12 to 2.14 runs smooth as well.
Pff... gonna be a rough ride upgrading my mailstore I see!
Regards,
Martin
> --
> You received this message because you are subscribed to the Google Groups "s3ql" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
s3ql+uns...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
If 'but' was any useful, it would be a logic operator