my peertube and discourse error after auto updated cloudron to v7.4.0
Solved
Support
-
trying to increase postgresql memory and still happen. now with reinstall new ubuntu and cloudron. error still persist. postgresqldump size about 18G
An error occurred during the import operation: Addons Error: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false
app log :
Apr 03 22:02:25 box:services restoreAddons: restoring ["localstorage","postgresql","redis","sendmail","ldap"] Apr 03 22:02:25 box:services pipeFileToRequest: piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c Apr 03 22:07:31 box:services pipeFileToRequest: request completed with status code 408 Apr 03 22:07:31 box:apptask run: app error for state pending_import: BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false Apr 03 22:07:33 box:taskworker Task took 2953.303 seconds Apr 03 22:07:33 box:tasks setCompleted - 5: {"result":null,"error":{"stack":"BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false\n at ClientRequest.<anonymous> (/home/yellowtent/box/src/services.js:1252:60)\n at ClientRequest.emit (node:events:513:28)\n at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)\n at Socket.socketOnData (node:_http_client:534:22)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228: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/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false"}} Apr 03 22:07:33 box:tasks update 5: {"percent":100,"result":null,"error":{"stack":"BoxError: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false\n at ClientRequest.<anonymous> (/home/yellowtent/box/src/services.js:1252:60)\n at ClientRequest.emit (node:events:513:28)\n at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)\n at Socket.socketOnData (node:_http_client:534:22)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:315:12)\n at readableAddChunk (node:internal/streams/readable:289:9)\n at Socket.Readable.push (node:internal/streams/readable:228: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/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false"}} Apr 04 00:37:27 [GET] /healthcheck Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/f8ee153b-7f89-431b-8a74-be747b18e88c/postgresqldump to http://172.18.30.2:3000/databases/dbf8ee153b7f89431b8a74be747b18e88c/restore?access_token=6cd6f48e2c1270cd0a483c729fb92037486bc9dd7fe8bf312926757213b607997279217deb8ac60213817241e8909c5568c617b8852a9caacaacb9962c19c177d99e7e0ae0d8c5fc04175af27dfafe3b22e9c251a2b612b6d69bc588393146f339d5bd9c2cd6e53805a0a3ba93b980da0d5a788024ed496b4f7a55c222eab816&username=userf8ee153b7f89431b8a74be747b18e88c: status 408 complete false
-
@awnzky can you contact us at support@cloudron.io ? We have a patch for this. (We are making 7.4.1, as we speak).
-
Ah, I see you already reached out to us on support . I actually applied the patch on your server already. Can you try restoring now?
-
@girish import task still running. on app log showing some error:
Apr 04 15:26:44 box:services pipeFileToRequest: timeout - connect or post-connect idle timeout Apr 04 15:26:44 box:apptask run: app error for state pending_import: Error: Request timedout at ClientRequest.<anonymous> (/home/yellowtent/box/src/services.js:1247:20) at Object.onceWrapper (node:events:627:28) at ClientRequest.emit (node:events:513:28) at Socket.emitRequestTimeout (node:_http_client:839:9) at Object.onceWrapper (node:events:627:28) at Socket.emit (node:events:525:35) at Socket._onTimeout (node:net:550:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) Apr 04 15:26:45 box:taskworker Task took 2537.803 seconds Apr 04 15:26:45 box:tasks setCompleted - 13: {"result":null,"error":{"stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:48:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","message":"The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","generatedMessage":true,"name":"AssertionError","code":"ERR_ASSERTION","actual":false,"expected":true,"operator":"=="}} Apr 04 15:26:45 box:tasks update 13: {"percent":100,"result":null,"error":{"stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:48:5)\n at run (/home/yellowtent/box/src/apptask.js:816:86)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","message":"The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","generatedMessage":true,"name":"AssertionError","code":"ERR_ASSERTION","actual":false,"expected":true,"operator":"=="}} [ERR_ASSERTION]: The expression evaluated to a falsy value: assert(error instanceof BoxError) at makeTaskError (/home/yellowtent/box/src/apptask.js:48:5) at run (/home/yellowtent/box/src/apptask.js:816:86) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
-
-
-
Fix for this was the same as https://forum.cloudron.io/topic/8944/redash-restore-failure
-
-