Hi

On a server running Debian stretch, after upgrading to 2.17.1 I tried to
upgrade the filesystem and got this error:

  s3qladm upgrade s3c://s.qstack.advania.com:443/crin4
  Getting file system parameters..
  Using cached metadata.
  File system is damaged, need to run fsck before upgrade.
  ERROR: Uncaught top-level exception:
  Traceback (most recent call last):
    File "/usr/bin/s3qladm", line 9, in <module>
      load_entry_point('s3ql==2.17.1+hg2', 'console_scripts', 's3qladm')()
    File "/usr/lib/s3ql/s3ql/adm.py", line 94, in main
      return upgrade(options)
    File "/usr/lib/s3ql/s3ql/common.py", line 514, in wrapper
      return fn(*a, **kw)
    File "/usr/lib/s3ql/s3ql/adm.py", line 264, in upgrade
      print(get_old_rev_msg(param['revision'], 'fsck.s3ql'))
    File "/usr/lib/s3ql/s3ql/adm.py", line 209, in get_old_rev_msg
      ''' % { 'version': REV_VER_MAP[rev],
  KeyError: 22

So trying a fsck:

  fsck.s3ql s3c://s.qstack.advania.com:443/crin4
  Starting fsck of s3c://s.qstack.advania.com:443/crin4/
  Using cached metadata.
  WARNING: Remote metadata is outdated.
  ERROR: File system revision too old, please run `s3qladm upgrade` first.

Sorry if this is a daft question but I'm not sure what I should try next?

Should I revert to the last version of s3ql, do a fsck and then try the
upgrade again?

I have three filesystems with the same issue.

All the best

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
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.

Reply via email to