Restoring a backup from an old system fails: backup file to large

Hello,

one of our clients is running a six year old Djigzo 2.3.1-7 (tar installation)

The backup creates a nice 58 MB tar backup file.

But when we try to import the backup on a 3.2.7-5, (virtual appliance) we get the error message "Restore failed. Message: Socket Exception: Connection reset."

/var/log/djigzo.log contains the following error:

06 May 2017 21:39:49 | ERROR Unexpected exception from downstream in Netty servlet handler, due to: {0}. (org.apache.cxf.transport.http.netty.server.NettyHttpServletHandler) [defaultEventExecutorGroup-4-3]
io.netty.handler.codec.TooLongFrameException: HTTP content length exceeded 52428800 bytes.
        at io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:218)
        at io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:57)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:372)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
        at java.lang.Thread.run(Thread.java:745)

How can I raise the limit of 52428800 bytes or is there something in the backup file that may savely be removed?

Thanks for your help!

Best regards,

Stefan

What happens if you try to restore the backup from the console
application? (i.e., login with ssh, then select backup -> restore

Kind regards,

Martijn

···

On 05/06/2017 07:49 PM, Stefan Günther via Users wrote:

Hello,

one of our clients is running a six year old Djigzo 2.3.1-7 (tar installation)

The backup creates a nice 58 MB tar backup file.

But when we try to import the backup on a 3.2.7-5, (virtual appliance) we get the error message "Restore failed. Message: Socket Exception: Connection reset."

/var/log/djigzo.log contains the following error:

06 May 2017 21:39:49 | ERROR Unexpected exception from downstream in Netty servlet handler, due to: {0}. (org.apache.cxf.transport.http.netty.server.NettyHttpServletHandler) [defaultEventExecutorGroup-4-3]
io.netty.handler.codec.TooLongFrameException: HTTP content length exceeded 52428800 bytes.
        at io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:218)
        at io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:57)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:372)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:245)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
        at java.lang.Thread.run(Thread.java:745)

How can I raise the limit of 52428800 bytes or is there something in the backup file that may savely be removed?

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail