Nikolaus Rath <Nikolaus@...> writes:
>
> On Aug 02 2015, Jeff Pence <ukarumpaj@...> wrote:
> > Nikolaus Rath <Nikolaus <at> ...> writes:
> >
> >>
> >> On Aug 01 2015, Jeff Pence <ukarumpaj <at> ...> wrote:
> >> > fsck.s3ql gives this error
> >> > ...
> >> > s3ql.backends.common.CorruptedObjectError: Object content does not
match
> > its
> >> > key (s3ql_metadata_new vs s3ql_metadata)
> >>
> >> Did you run `s3qladm upgrade`?
> >>
> > Thanks for your message. I just ran s3qladm upgrade and got this
response:
> > Getting file system parameters..
> [...]
> > s3ql.backends.common.CorruptedObjectError: Object content does not match
its
> > key (s3ql_metadata_new vs s3ql_metadata)
>
> What was the S3QL version you used previously? You may not be able to
> upgrade direcly to S3QL 2.13. In that case, install an intermediate
> version first (e.g. 2.9), upgrade to that one, and then go to 2.13.
>
> Best,
> -Nikolaus
I cannot be certain what the previous version was. Here's what I did:
[jeffrey@Ouarzazate Téléchargements]$ rpm -q s3ql
s3ql-2.13-1.fc22.x86_64
[jeffrey@Ouarzazate Téléchargements]$ sudo bash
Mot de passe [sudo] de jeffrey :
[root@Ouarzazate Téléchargements]# rpm -e s3ql
[root@Ouarzazate Téléchargements]# rpm -i s3ql-2.9-2.fc22.x86_64.rpm
[root@Ouarzazate Téléchargements]# rpm -q s3ql
s3ql-2.9-2.fc22.x86_64
[root@Ouarzazate Téléchargements]# exit
[jeffrey@Ouarzazate ~]$ s3qladm --version
S3QL 2.9
[jeffrey@Ouarzazate ~]$ s3qladm upgrade s3://mumble
Getting file system parameters..
Ignoring locally cached metadata for upgrade.
File system is damaged, need to run fsck before upgrade.
Uncaught top-level exception:
Traceback (most recent call last):
File "/usr/bin/s3qladm", line 9, in <module>
load_entry_point('s3ql==2.9', 'console_scripts', 's3qladm')()
File "/usr/lib64/python3.4/site-packages/s3ql/adm.py", line 101, in main
options.cachedir))
File "/usr/lib64/python3.4/site-packages/s3ql/adm.py", line 287, in
upgrade
print(get_old_rev_msg(param['revision'], 'fsck.s3ql'))
File "/usr/lib64/python3.4/site-packages/s3ql/adm.py", line 227, in
get_old_rev_msg
''' % { 'version': REV_VER_MAP[rev],
KeyError: 20
Is it safe to run fsck.s3ql, or will that have unwanted side effects if the
version isn't 2.9?
Thanks,
Jeff
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.