Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
dsp76D

Dirk Spannaus

@dsp76
Unfollow Follow
About
Posts
211
Topics
54
Shares
0
Groups
0
Followers
1
Following
1

Posts

Recent Best Controversial

  • Large app backup (~70GB) fails at rotate-copy step with `NoSuchKey` — IONOS S3 read-after-write consistency, but Cloudron has no retry
    dsp76D dsp76
    Support backups ionos

    @james IONOS Support analyzed the situation and comes back with this:

    Hello,

    Thank you for your patience. Our Platform Engineering team has reviewed and analyzed the log files you provided. Based on this analysis, we can provide the following feedback:

    1. Propagation delay: There is no artificial delay introduced by our platform. Objects become visible across different operations almost immediately, although not strictly in real time.
    2. Object consistency: Once a CompleteMultipartUpload operation returns the HTTP status code 200 OK, subsequent HeadObject requests should succeed immediately. Shortly thereafter, all other operations should also become available.

    Based on our log analysis, all multipart uploads were completed successfully. However, we observed subsequent UploadPartCopy requests referring to an UploadId that no longer exists, as the UploadId becomes invalid once an upload has been finalized.

    Could you please clarify where these UploadPartCopy requests originate from within your application or client workflow? It appears that after completion of the original upload, an automated post-processing script or background process on your side is being executed, such as a CopyObject operation.


    Could you please check now on cloudron side? Thanks a lot!


  • Login with TOTP vs Passkey
    dsp76D dsp76
    Support

    Microsoft Edge on MacOS (v 152.0.4191.66). Passkeys are stored in 1password.
    Cloudron 10.0.4


  • Login with TOTP vs Passkey
    dsp76D dsp76
    Support

    I saw there are repeatedly passkey issues, which could not be recreated. I also stumbled upon this recently together with a client. Seems like when you setup userid / password with TOTP and add passkey later, login procedure gets confused:

    • logged in with userid / password, jumped to TOTP entry mask,
    • passkey popup also appears, cancelled by user interaction
    • login doesn't proceed successfully
    • also when using at the moment the popup appears, login fails.

    Choosing "login with a passkey" works fine, but the "old way" to login with userid / pw and TOTP is broken once the passkey is set.

    When disabling TOTP for the user, the login trouble is gone. But now its the only way into the account.

    Shouldn't both work in parallel? Passkey AND UserID + PW + TOTP?


  • Excalidraw Serverside storing?
    dsp76D dsp76
    Community Packages

    I only found third party providers that add their own layer to excalidraw, as the open source community edition probably doesn't have it. I didn't yet investigate if that layer is open sourced too. Will let you know what I find.


  • Large app backup (~70GB) fails at rotate-copy step with `NoSuchKey` — IONOS S3 read-after-write consistency, but Cloudron has no retry
    dsp76D dsp76
    Support backups ionos

    Hi @james I think it means that - once Cloudron receives an error like NoSuchKey oder 404 not found when polling the object directly after upload - it still retries a number of times with exponentially growing delays added with some random delays ("Jitter"). So the error might only be temporal.


  • Excalidraw Serverside storing?
    dsp76D dsp76
    Community Packages

    Hi @timconsidine
    thanks a lot for providing Excalidraw as a community package. Do you have any plans to add a way to store draws on the server?

    Thanks!


  • Large app backup (~70GB) fails at rotate-copy step with `NoSuchKey` — IONOS S3 read-after-write consistency, but Cloudron has no retry
    dsp76D dsp76
    Support backups ionos

    IONOS responded this:

    "We are actively investigating the reported behavior. To support our Cloud Engineering team in conducting deeper log analysis within the storage cluster, we kindly request that you provide the following details:

    • Target bucket name & IONOS S3 endpoint used during testing
    • Request IDs (x-amz-request-id and x-amz-id-2 from the HTTP response headers) for both the CompleteMultipartUpload and the failed UploadPartCopy call
    • Timestamps and timezone of the affected runs (or new, millisecond-precision logs if the error can be reproduced again)

    While our Engineering team investigates the merging and propagation behavior for large multipart objects in the backend, we recommend testing one of the following client-side workarounds:

    1. HeadObject polling with exponential backoff: Before executing UploadPartCopy on newly merged objects larger than 50 GB, insert a short polling loop using HeadObject (with retries on NoSuchKey / 404 Not Found), combined with exponential backoff and jitter. This ensures object metadata is globally visible across all gateway nodes before dependent copy operations are performed.

    2. Insert a fixed delay: If implementing a polling mechanism in your Cloudron workflow is not straightforward, inserting a static delay of 1–2 seconds between CompleteMultipartUpload and subsequent copy actions can effectively prevent this race condition issue.

    Please let us know whether applying one of these workarounds resolves the issue in your backup runs, and feel free to send us the requested logs once they are available."

    I'm not sure if I can get the x-amz-request-id and x-amz-id-2 headers for them.
    What do you think about their suggestions?


  • 20GB is seemingly not enough space to upgrade from 9.2 to 10 :(
    dsp76D dsp76
    Discuss

    ... how about mounting an additional file space (temporarily) to your server? Then moving apps there for the time updating. Depending on your provider, they might be offering file space.


  • Large app backup (~70GB) fails at rotate-copy step with `NoSuchKey` — IONOS S3 read-after-write consistency, but Cloudron has no retry
    dsp76D dsp76
    Support backups ionos

    Cloudron version: 10.0.4
    Backup storage: IONOS S3-compatible Object Storage

    Symptom:
    The backup upload itself completes successfully, but the immediately following server-side rotate-copy (UploadPartCopy) fails with NoSuchKey, causing the whole backup task to fail with Old backup not found: snapshot/app_<id>.tar.gz.enc. Reproduced on two consecutive daily runs, always on our largest app (~70GB snapshot); other apps (4–70GB) in the same runs succeed.

    Timeline (Task 11372, millisecond precision):

    04:32:30.199  upload stats logged: 72,608,517,172 bytes transferred
    04:32:30.285  backupupload: upload completed. error: null   (CompleteMultipartUpload -> 200 OK)
    04:32:30.466  Copying (multipart) snapshot/app_c08ad55d-...tar.gz.enc   (rotate-copy starts, 181ms later)
    04:32:30.534  Copying part 1 - ... bytes=0-1073741823
    04:32:30.535  Copying part 2 - ... bytes=1073741824-2147483647
    04:32:30.535  Copying part 3 - ... bytes=2147483648-3221225471
    04:32:30.680  Aborting multipart copy   (145ms after part requests)
    04:32:30.748  storage/s3: copy error: NoSuchKey: UnknownError
    04:32:30.748  copy to .../app_registry.20zen.de_v1.13.0.tar.gz.enc errored. error: Old backup not found
    

    Analysis:
    CompleteMultipartUpload returns success at .285, but the immediately following UploadPartCopy on the exact same key returns NoSuchKey ~150ms later. This looks like a read-after-write consistency delay on the IONOS backend for very large multipart objects — AWS S3 itself has guaranteed strict read-after-write consistency (including for multipart uploads) since Dec 2020, so this is non-standard behavior on the storage backend side.

    That said, Cloudron's rotate-copy step (s3.js: copyInternal) has no resilience for this: no retry, no backoff, no existence check before issuing the copy. A single transient 404 immediately fails the whole backup task, even though a short retry would very likely succeed.

    Request: Could a short retry/backoff (or a HeadObject check before copying) be added around the rotate-copy step for large/multipart-uploaded objects, to tolerate brief backend propagation delays on non-AWS S3-compatible providers?

    (I will also open a ticket at IONOS, but this little improvement would make Cloudron Backups more stable for similar situations with other providers too.)

    Relevant stack:

    BoxError: Old backup not found: snapshot/app_c08ad55d-….tar.gz.enc
        at throwError (file:///home/yellowtent/box/src/storage/s3.js:568:49)
        at copyInternal (file:///home/yellowtent/box/src/storage/s3.js:636:16)
        at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
        at async Object.copy (file:///home/yellowtent/box/src/storage/s3.js:670:12)
        at async Object.copy (file:///home/yellowtent/box/src/backupformat/tgz.js:294:5)
    

    related:
    https://forum.cloudron.io/topic/14253/error-400-in-backup-process-with-ionos-s3-object-storage/38?_=1788503267379


  • Backup Integrity check runs into oom
    dsp76D dsp76
    Support backup integrity oom

    @joseph this seems not to be solved?


  • Backup Integrity check runs into oom
    dsp76D dsp76
    Support backup integrity oom

    We also experienced a crashed integrity check on our cloudron server right after the first check. We also have plenty of resources in the server. Is there a fix in the planning?

    d3d3f2ea-c12f-49cb-a943-2de49d14d114-image.jpeg


  • Broken Update n8n to 2.36.8
    dsp76D dsp76
    N8N

    For me 4.40.1 works - thanks!


  • Broken Update n8n to 2.36.8
    dsp76D dsp76
    N8N

    @girish thanks - I was misled by 2.36.8 vs 4.40.0 😉


  • Broken Update n8n to 4.40.0 - n8n app stuck in restart loop — npm EACCES on /home/cloudron/.npm despite chown in start script
    dsp76D dsp76
    N8N

    After a failed backup/restart cycle, my n8n app (Cloudron package io.n8n.cloudronapp, v4.40.0) got stuck in a permanent restart loop and won't come back up.

    Symptoms:

    Healthcheck fails repeatedly: Healthcheck error: Error: connect ECONNREFUSED <app-ip>:5678 (previously EHOSTUNREACH)
    On every start attempt, npm fails while installing extra node modules:
    npm error code EACCES
    npm error syscall mkdir
    npm error path /home/cloudron/.npm/_cacache/tmp
    npm error errno EACCES
    npm error Your cache folder contains root-owned files...
    npm error sudo chown -R 1000:1000 "/home/cloudron/.npm"
    This happens even on a freshly recreated container (Cloudron deleted and recreated the container as part of a repair/debug task), so it's not a leftover from the old container's filesystem — it recurs immediately on the new one too.
    The package's own start.sh already runs chown -R cloudron:cloudron /app/data /run/n8n /run/.npm /run/.cache /run/*.ssh before the npm install step for PKG_EXTRA_NODE_MODULES (a handful of custom node packages), yet the EACCES persists.
    The app also briefly entered a Cloudron "Repair mode... sleeping" state during one restart attempt, which I've since disabled.

    What I've checked:

    /run/cloudron.npm (symlink target of /home/cloudron/.npm) is present and empty, owned by cloudron:cloudron (uid 1000).
    No supervisorctl socket present (/var/run/supervisor.sock doesn't exist) — image apparently doesn't run supervisord for shell access, only via the packaged start.sh → exec supervisord.
    /run is mounted as ext4, not tmpfs, so it's not a "wiped on restart" issue.

    Question:
    Is /run/cloudron.npm (or its _cacache subfolder specifically) expected to sometimes get root-owned entries from an npm install step that runs as root before the gosu cloudron:cloudron npm install line, and if so, is there a known race/ordering bug in the n8n package's start.sh between the chown and the actual npm install for PKG_EXTRA_NODE_MODULES?

    Workaround used: Restoring from an earlier backup instead of continuing to debug live, since the app was fully down.

    Environment:

    Cloudron app: n8n (io.n8n.cloudronapp@4.40.0)
    Cloudron CLI used for restart/logs


  • Robots.txt Feature... shouldn't it warn or show that there is already a robots.txt with some content?
    dsp76D dsp76
    Discuss

    @joseph wouldn't it just need to make an http call at the moment the settings load?


  • Robots.txt Feature... shouldn't it warn or show that there is already a robots.txt with some content?
    dsp76D dsp76
    Discuss

    In WordPress settings for instance, WP delivers the robots.txt. Still the App Settings give the impression, there is no robots.txt settings done.

    Shouldn't there be a warning, that there is already an robots.txt active with certain settings?


  • What's coming in Cloudron 10
    dsp76D dsp76
    Announcements

    @girish you selected mautic for this example in the screenshot. Is it possible to differentiate already between different paths? As link redirects, assets etc. would still need to be served publicly - but the admin interface not.

    Thanks for clarification!


  • Since Package Version [3.4.0] - Empty Responses from Mistral?
    dsp76D dsp76
    OpenWebUI

    No I directly used models without router. After a manual restart of OpenWebUI (it was automatically updated), the problem was gone. No issue anymore.


  • Since Package Version [3.4.0] - Empty Responses from Mistral?
    dsp76D dsp76
    OpenWebUI

    OK - its not just Mistral, also other providers.


  • Since Package Version [3.4.0] - Empty Responses from Mistral?
    dsp76D dsp76
    OpenWebUI

    Hi there,
    since this morning I get empty responses from mistral-small-2603 ...
    Anybody else? Is it related to the new release?

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search