Unable to do a fresh installation
Solved
Paperless-ngx
-
Getting the following error when trying to do a fresh install:
Logs:
Mar 02 12:22:06box:tasks update 8456: {"percent":80,"message":"Creating container"} Mar 02 12:22:06box:apptask createContainer: creating container Mar 02 12:22:06box:apptask run: app error for state pending_install: BoxError: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage at createSubcontainer (/home/yellowtent/box/src/docker.js:413:28) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.createContainer (/home/yellowtent/box/src/docker.js:419:12) at async createContainer (/home/yellowtent/box/src/apptask.js:88:23) at async install (/home/yellowtent/box/src/apptask.js:341:5) { reason: 'Docker Error', details: {}, nestedError: Error: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:315:17 at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:345:7) at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:314:5) at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:286:14) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { reason: undefined, statusCode: 400, json: { message: 'Minimum memoryswap limit should be larger than memory limit, see usage' } } } Mar 02 12:22:06box:tasks setCompleted - 8456: {"result":null,"error":{"stack":"BoxError: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage \n at createSubcontainer (/home/yellowtent/box/src/docker.js:413:28)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.createContainer (/home/yellowtent/box/src/docker.js:419:12)\n at async createContainer (/home/yellowtent/box/src/apptask.js:88:23)\n at async install (/home/yellowtent/box/src/apptask.js:341:5)","name":"BoxError","reason":"Docker Error","details":{},"message":"(HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage ","nestedError":{"stack":"Error: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage \n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:315:17\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:345:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:314:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:286:14)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","name":"Error","message":"(HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage "}}} Mar 02 12:22:06box:tasks update 8456: {"percent":100,"result":null,"error":{"stack":"BoxError: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage \n at createSubcontainer (/home/yellowtent/box/src/docker.js:413:28)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Object.createContainer (/home/yellowtent/box/src/docker.js:419:12)\n at async createContainer (/home/yellowtent/box/src/apptask.js:88:23)\n at async install (/home/yellowtent/box/src/apptask.js:341:5)","name":"BoxError","reason":"Docker Error","details":{},"message":"(HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage ","nestedError":{"stack":"Error: (HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage \n at /home/yellowtent/box/node_modules/docker-modem/lib/modem.js:315:17\n at getCause (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:345:7)\n at Modem.buildPayload (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:314:5)\n at IncomingMessage.<anonymous> (/home/yellowtent/box/node_modules/docker-modem/lib/modem.js:286:14)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","name":"Error","message":"(HTTP code 400) unexpected - Minimum memoryswap limit should be larger than memory limit, see usage "}}} Mar 02 12:22:06box:taskworker Task took 44.326 seconds
-
I tried these steps : https://docs.cloudron.io/storage/#swap, which increased the Swap size.
This seems to resolve the above issue, as the app has now successfully installed.
-