<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Not able to restore &#x2F; migrate - Addons Error - Unexpected response code or HTTP error when piping]]></title><description><![CDATA[<p dir="auto">So today I migrated from my Ubuntu 20.04 Netcup RS4000 to a Unesty RYZEN GEN2 VPS 16 GB Ubuntu 22.04. Everything went smooth besides the restore of two Vaultwarden instances.</p>
<p dir="auto">Cloudron version for both servers is v7.6.2 and Vaultwarden version 1.30.1.</p>
<p dir="auto">Restore errors out with:</p>
<pre><code>Addons Error - Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false
</code></pre>
<p dir="auto">Full log output:</p>
<pre><code>Dec 28 06:25:23box:services restoreMySql
Dec 28 06:25:23box:services pipeFileToRequest: piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db
Dec 28 06:25:23box:services pipeFileToRequest: piped /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db
Dec 28 06:25:26box:services pipeFileToRequest: request completed with status code 500
Dec 28 06:25:26box:apptask run: app error for state pending_restore: BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false at ClientRequest.&lt;anonymous&gt; (/home/yellowtent/box/src/services.js:1292:60) at ClientRequest.emit (node:events:513:28) at HTTPParser.parserOnIncomingClient (node:_http_client:701:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) at Socket.socketOnData (node:_http_client:542:22) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { reason: 'Addons Error', details: {} }
Dec 28 06:25:26box:taskworker Task took 68.559 seconds
Dec 28 06:25:26box:tasks setCompleted - 14860: {"result":null,"error":{"stack":"BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false\n at ClientRequest.&lt;anonymous&gt; (/home/yellowtent/box/src/services.js:1292:60)\n at ClientRequest.emit (node:events:513:28)\n at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)\n at Socket.socketOnData (node:_http_client:542:22)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:324:12)\n at readableAddChunk (node:internal/streams/readable:297:9)\n at Readable.push (node:internal/streams/readable:234:10)\n at TCP.onStreamRead (node:internal/stream_base_commons:190:23)","name":"BoxError","reason":"Addons Error","details":{},"message":"Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false"}}
Dec 28 06:25:26box:tasks update 14860: {"percent":100,"result":null,"error":{"stack":"BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false\n at ClientRequest.&lt;anonymous&gt; (/home/yellowtent/box/src/services.js:1292:60)\n at ClientRequest.emit (node:events:513:28)\n at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)\n at Socket.socketOnData (node:_http_client:542:22)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:324:12)\n at readableAddChunk (node:internal/streams/readable:297:9)\n at Readable.push (node:internal/streams/readable:234:10)\n at TCP.onStreamRead (node:internal/stream_base_commons:190:23)","name":"BoxError","reason":"Addons Error","details":{},"message":"Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false"}}
Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/2466709f-f01a-445a-aaed-5ab0e7768690/mysqldump to http://172.18.30.1:3000/databases/1f5cda718fda970f/restore?access_token=d9c32cd84c2fbf74996273bd9f156280707ccad132502a817a1e03fc65b99e4214c89b9d5aeb9ab28c0dd58e805ead61144928a570e1347d75c21774d389e6a21d5dec3d2dff7c7b2cc3d039ce700ab6320d483d2105ec5fb0665089c6b9f1098afeecc80c9cada0bc67e36f13971b67bd74ba170d0eaad3e821cbac693276db: status 500 complete false
at ClientRequest.&lt;anonymous&gt; (/home/yellowtent/box/src/services.js:1292:60)
at ClientRequest.emit (node:events:513:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:542:22)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
</code></pre>
<p dir="auto">Any clues? AFAIK it is MySQL related.</p>
]]></description><link>https://forum.cloudron.io/topic/10730/not-able-to-restore-migrate-addons-error-unexpected-response-code-or-http-error-when-piping</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 08:42:20 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10730.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Dec 2023 05:38:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not able to restore &#x2F; migrate - Addons Error - Unexpected response code or HTTP error when piping on Thu, 28 Dec 2023 08:54:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thank you for explaining. In my case it is easier to:</p>
<ul>
<li>spin up my old server</li>
<li>modify my (local) host file to point the dashboard domain to the old IP</li>
<li>use the Cloudron web terminal to access MySQL and apply the fixes</li>
<li>press the apps backup button and download to backup config afterwards</li>
<li>revert host entries and import the apps backup config on my new Cloudron</li>
</ul>
<p dir="auto">This way I am only using tools that are already shipped with Cloudron without the need of other software.</p>
]]></description><link>https://forum.cloudron.io/post/79953</link><guid isPermaLink="true">https://forum.cloudron.io/post/79953</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Thu, 28 Dec 2023 08:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to restore &#x2F; migrate - Addons Error - Unexpected response code or HTTP error when piping on Thu, 28 Dec 2023 08:48:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> Yup, the collation is the issue. roughly, this is what you have to do:</p>
<ul>
<li>In the failed state, the backup is already downloaded on your server. You just have to fix the mysqldump .</li>
<li>You can edit the mysqldump file in <code>/home/yellowtent/appsdata/&lt;appid&gt;/mysqldump</code></li>
<li>After editing, you have to use the CLI tool to import like this <code>cloudron import --in-place &lt;appid&gt;</code> . This imports the backup from whatever is there on the server without re-downloading the backup all over again.</li>
</ul>
<p dir="auto">Keep repeating above process till it works.</p>
]]></description><link>https://forum.cloudron.io/post/79952</link><guid isPermaLink="true">https://forum.cloudron.io/post/79952</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Dec 2023 08:48:24 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to restore &#x2F; migrate - Addons Error - Unexpected response code or HTTP error when piping on Thu, 28 Dec 2023 08:43:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/79950">Not able to restore / migrate - Addons Error - Unexpected response code or HTTP error when piping</a>:</p>
<blockquote>
<p dir="auto">if you go to Services -&gt; MySQL and check the logs, can you paste the error from there,</p>
</blockquote>
<p dir="auto">Yes I can <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Dunno when I installed the Vaultwarden service but it was mostly around 2 years ago.</p>
<pre><code>Dec 28 09:38:53[POST] /databases
Dec 28 09:38:53add: adding database 1f5cda718fda970f
Dec 28 09:38:53[POST] /databases/1f5cda718fda970f/clear
Dec 28 09:38:53clear: database 1f5cda718fda970f
Dec 28 09:38:56[POST] /databases/1f5cda718fda970f/restore
Dec 28 09:38:56restore: restoring database 1f5cda718fda970f
Dec 28 09:39:00restore: stderr from db import: ERROR 3780 (HY000) at line 528: Referencing column 'organization_uuid' and referenced column 'uuid' in foreign key constraint 'auth_requests_ibfk_2' are incompatible.
Dec 28 09:39:00restore: failed to restore database. code=1
</code></pre>
<p dir="auto">Okay I remember reading something in the forums regarding organization_uuid!</p>
<p dir="auto">EDIT: <a href="https://forum.cloudron.io/post/78066">Found it</a> - trying to fix it myself now ^^</p>
]]></description><link>https://forum.cloudron.io/post/79951</link><guid isPermaLink="true">https://forum.cloudron.io/post/79951</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Thu, 28 Dec 2023 08:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to restore &#x2F; migrate - Addons Error - Unexpected response code or HTTP error when piping on Thu, 28 Dec 2023 08:30:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> If this was an oldish Vaultwarden, there is an issue in Vaultwarden related to MySQL encoding. They made some releases with incorrect encoding . After you attempt the restore, if you go to Services -&gt; MySQL and check the logs, can you paste the error from there, so I can confirm that the bug is related to that ?</p>
]]></description><link>https://forum.cloudron.io/post/79950</link><guid isPermaLink="true">https://forum.cloudron.io/post/79950</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Dec 2023 08:30:18 GMT</pubDate></item></channel></rss>