Migrate marv db from one system to another
After moving all files and configurations from one server to another I have rebuild the docker image etc. Everything according to the documentation, created a user, started the container, entered the container. Now when I want to use marv init
I get the following error:
marv init
Traceback (most recent call last):
File "/opt/marv/bin/marv", line 11, in <module>
sys.exit(cli())
File "/opt/marv/local/lib/python2.7/site-packages/marv_cli/__init__.py", line 118, in cli
marv(auto_envvar_prefix='MARV')
File "/opt/marv/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/opt/marv/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/marv/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/marv/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/marv/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/marv/local/lib/python2.7/site-packages/marv/cli.py", line 268, in marvcli_init
create_app(init=True)
File "/opt/marv/local/lib/python2.7/site-packages/marv/cli.py", line 54, in create_app
app = marv.app.create_app(site, init=init)
File "/opt/marv/local/lib/python2.7/site-packages/marv/app/__init__.py", line 45, in create_app
site.init()
File "/opt/marv/local/lib/python2.7/site-packages/marv/site.py", line 223, in init
collection.update_listings(batch)
File "/opt/marv/local/lib/python2.7/site-packages/marv/collection.py", line 693, in update_listings
rendered = [render_listing(x) for x in datasets]
File "/opt/marv/local/lib/python2.7/site-packages/marv/collection.py", line 676, in render_listing
value = calltree(functree, funcs)
File "/opt/marv/local/lib/python2.7/site-packages/marv/config.py", line 82, in calltree
return func(*args)
File "/opt/marv/local/lib/python2.7/site-packages/marv/config.py", line 137, in getnode
msgs = store.load(setdir, node)
File "/opt/marv/local/lib/python2.7/site-packages/marv_store/__init__.py", line 122, in load
return [Wrapper(x, None, setdir) for x in msgs]
File "capnp/lib/capnp.pyx", line 3668, in capnp.lib.capnp._MultiplePackedMessageReader.__next__
File "capnp/lib/capnp.pyx", line 3659, in capnp.lib.capnp._MultiplePackedMessageReader.__next__
File "capnp/lib/capnp.pyx", line 3524, in capnp.lib.capnp._PackedMessageReader._init
capnp.lib.capnp.KjException: src/capnp/serialize.c++:179: failed: expected totalWords <= options.traversalLimitInWords; Message is too large. To increase the limit on the receiving end, see capnp::ReaderOptions.
stack: 0x7f159712ecf9 0x7f1597132c2d 0x7f15975c52ec 0x7f15975c48c3 0x7f15975c5ad6 0x7f1597e2e5ba 0x7f1597ddd40d 0x4bd374 0x4ba506 0x4c1e32 0x4ba506 0x4d5d09 0x4a646e 0x53a251 0x4a646e 0x4c2c4a
I can log into the webserver with the correct credentials and the collections are there as well, but they are all empty or almost empty (just 50 records instead of 1000+).
I assume that captn proto has to do with the issue..