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
jadudmJ

jadudm

@jadudm
Unfollow Follow
About
Posts
140
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Peergos on Cloudron - Community Package
    jadudmJ jadudm
    Community Packages

    This looks really interesting. Not sure if this is the right place to ask questions about the package.

    Is it safe to backup while the blockstore is being sorted? It seems like, regardless of whether the store is being sorted (or not), a backup runs. That doesn't make sense to me, on the surface of things.

    https://github.com/tripod0429/peergos-app/blob/500abbe7af69e1a463c504e6990da9de0564c180/backup.sh#L48


  • Versity S3 Gateway now available
    jadudmJ jadudm
    Announcements

    I am using it. It works.

    My use case was that I want a way to back up a relatively small number of files in a consistent, persistent way. I also do not want the files on disk to be rewritten into object blobs or something I cannot access directly.

    Versity presents an S3 interface to the world, but stores the files directly in the filesystem. This way, if I ever uninstall or move away from Versity, the files are sitting there in the backup for me to access. They're not organized by the backend into some odd shape I would later have to figure out how to decode (in case of emergency).

    Depending on your platform, there are not great GUI clients for S3. (CyberDuck on the Mac will work well, Windows I can't speak to, and Linux does not have any that I would trust.) But, there are plenty of command-line tools for S3. Also note, you can't easily "move" files around, because that is not native to the S3 model.

    But, all of that said: as a small S3 implementation, Versity has been around for a while, handles large loads (according to their docs), and for me, serves as a simple S3 endpoint on my host.


  • Security issue thread - PHP and eMudhra cert compromise
    jadudmJ jadudm
    Security
    1. I know I am adding noise to a thread. I'm doing it anyway.
    2. How do I get a SUPER FAN badge? 🙂
    3. This is why I am glad to pay for Cloudron.
    4. Stated less transactionally: this is why I put my trust in the Cloudron team.

    I had to respond to these issues as part of my day job. I was incredibly grateful that I did not have to respond to it as part of my home life. I came to the Cloudron site, saw the banner, looked at the first post, and knew it was being handled.

    Many, many thanks to the team and community packagers who jumped on this professionally and responsibly.


  • Alternative lightweight base image
    jadudmJ jadudm
    Package development

    In this instance, I am referring to (say) build-essential on Debian. If I have a C compiler in my runtime image, and someone compromises the host, they can build further tooling in the host because I gave them a hammer and nails.

    We generally have to follow NIST guidelines, and therefore our containers:

    1. Are not writeable (generally)
    2. Contain only the packages necessary to execute the software in the container
    3. Require allow listing for egress (meaning nothing in the container can talk to the outside world); this implies an egress proxy
    4. Only allow specific connections in (ingress proxy)
    5. ...

    Cloudron does some of this already. (To be clear: the reason I only use the official packages, and stay up to date, is because I trust the core product. Kudos to y'all, always.)

    Hence, the story I'm weaving (which I think Tim is as well) is that there might be a large, common build image for Cloudron (containing all of the build tools), but the runtime image (which a multistage build would copy into) is light/tight and shouldn't contain (say) a C/C++ compiler. You generally can't avoid having your language runtime(s) (e.g. ruby), but that doesn't mean that the runtime image needs the capability to install new libraries: everything should already be there for the app to execute.

    Maybe that helps explain my thinking/comment.


  • Alternative lightweight base image
    jadudmJ jadudm
    Package development

    @timconsidine In my day job, we wouldn't be allowed to ship production containers containing dev tools without an exception from an ISSO. I'm also not an expert, but I know that I am not allowed to ship production containers that provide attackers with tools to build further attack tooling from within my app container. (Perhaps that's just a +1.)


  • Alternative lightweight base image
    jadudmJ jadudm
    Package development

    From a security standpoint, leaving dev packages out of the runtime container is a Very Good Thing.

    So, a question (with a clear angle): do nodejs and ruby programs need dev tools to run, or do they need dev tools to build?

    If the former, I'm surprised. If the latter, then a multistage build allows for a slimmer and more secure runtime container.

    I could also be confused, which is a common state of being.


  • Simple Static: the simplest way to host static websites on Cloudron
    jadudmJ jadudm
    Community Packages

    I would vote for this to be considered as a base/standard package in the Cloudron store. It has no overhead from the base image, and it is the simplest possible static hosting solution possible, based on a time-proven/industry standard web server (nginx).

    Excellent stuff, @themeerkat . Thank you.


  • Reaching out to the local network from an HA container?
    jadudmJ jadudm
    Home Assistant

    No, it shouldn't just work. For a device to see HA, it can leave the Docker network, hit my external DNS provider, and talk to the Docker instance by being passed through by Cloudron. The devices, on the other hand, are issued internal/private IP addresses by my local DHCP server. The HA instance is further removed; while the Cloudron server is on the same network as the devices, the container is not; it, instead, is on an internal, private network on the Cloudron host.

    Hence my question.


  • Reaching out to the local network from an HA container?
    jadudmJ jadudm
    Home Assistant

    A question of HA and (Docker) networking...

    I successfully installed the container, and passed a Zigbee dongle through. Yay!

    However, I then realized that when I wanted to talk to a device on my network, the HA container was in a different network from my devices.

    Or, if you prefer:

                                                      
                                                      
                                                            
                 home     ◄───── cloudron ◄──── HA container
              10.0.0.0/24       10.0.0.xyz      172.X.Y.Z   
                                                            
                                                            
                                                      
    

    For some integrations, HA wants to reach out from the container to talk to devices in my home network. Is there anything in the Cloudron model that would let me do this? Or, is the Docker network locked down to explicitly prohibit this for (say) security reasons?


  • file upload broken
    jadudmJ jadudm
    Planka

    There's no log on the server side. The JS yields this message in the console:

    {
        "code": "E_UNPROCESSABLE_ENTITY",
        "message": "EROFS: read-only file system, mkdir '/app/code/.tmp'"
    }
    

    That is when I drag-and-drop a file into a card. The same if I use the "Attachment" feature to attempt to attach a doc to a card.


  • First steps / discoveries
    jadudmJ jadudm
    Planka

    For anyone poking the package...

    I was unsure how to change the password for the default user. Some digging around yielded the following...

    1. I had to generate a password hash. Log into the terminal for the app and run:
    htpasswd -bnBC 10 "" PASSWORD | tr -d ":\n" | sed 's/$2y/$2a/' && echo
    

    replacing the word PASSWORD with your password. I used a long combination of words and numbers with no spaces. This will output a bcrypt password hash:

    $2a$10$GpIUtD/NDyfpVkQuaVfDde7M5SjcHdcmN9e49kFlgoeVsmMnrQ0wm
    

    or similar. (Don't use that one.)

    1. Log into the terminal, and open up the Postgres prompt.
    update user_account set password = '$2a$10$GpIUtD/NDyfpVk...' where email = 'admin@cloudron.local';
    

    Again, put your password hash between the single quotes.

    Now, you can log in as the administrative user with the password you hashed.

    1. Log in using your SSO/Cloudron user.

    I think a package update might be needed. The OIDC users do not have any privileges out-of-the-box.

    https://github.com/plankanban/planka/issues/661

    It might be setting OIDC_IGNORE_ROLES would allow OIDC users to create boards. There might be more env vars necessary, but that one seems critical. It seems like the administrative user cannot (out-of-the-box) modify the roles for OIDC users (https://github.com/plankanban/planka/issues/1112). Again, that env var may be part of the puzzle.

    In the meantime, I again opened up the Postgres prompt, and did:

    SELECT * FROM user_account
    

    I found my username (which was my expected Cloudron username, so it was easy to find/there were no surprises), and then modified that row to give myself more permissions:

    UPDATE user_account SET role = 'projectOwner' WHERE username = 'MYUSERNAME';
    

    This gave me enough permissions to do things.

    My hope is that if the right env vars were set, that I would not need to grant my OIDC users permissions via the admin user.


  • SSH remote copy always failed, falling back to sshfs copy
    jadudmJ jadudm
    Support backup restore zfs sshfs

    I'm not sure where in the Box codebase this is, but the SSH backup behavior is strange. (Or, not documented sufficiently clearly for me to make sense of it.) I spent a bunch of time trying to figure this out as well, and ultimately gave up. However, @dummyzam is encountering many of the same kinds of confusion I did.

    Ideally:

    1. The remote directory should be the base for all operations, as far as backup site configuration is concerned.
    2. All operations should be absolute paths, and be rooted at join(remote dir, prefix). No backup operations should take place outside of that root path on the remote system.

    If those things are true, then it should be the case that given a target/remote directory of (say) /mnt/OnlyZpol/CloudronBackup/ and a prefix of backups, then all operations will be against /mnt/OnlyZpol/CloudronBackup/backups/*.

    If $HOME is used by Box when doing SSHFS backups, then that should be documented somewhere.

    As I learned, the target/remote directory will be set to 777, which can be a problem if the user you're authenticating as lacks permissions, or if you make the mistake of using $HOME as your remote directory (as this can upset the permissions that SSHD expects for .ssh).


  • SSH remote copy always failed, falling back to sshfs copy
    jadudmJ jadudm
    Support backup restore zfs sshfs

    Is Cloudron using a correct/full path when issuing the cp over ssh? I've had this problem, too, and I know I'm not spanning ZFS pools. If we enter a root path into the config, should't Cloudron use the full paths, for correctness/completeness/clarity, when issuing the cp?

    I don't think that helps much, but I've seen the same persistent issues that @dummyzam is pointing to.


  • Garage packaging status, next steps
    jadudmJ jadudm
    Package development

    It might be in the location block that you would need to add it:

    https://forgejo.tcjc.uk/cca/cloudron-garage-s3/src/commit/d8e09cf79461b108f369f2ec5a87f025a1967e64/nginx.conf#L65

    Which would parallel the fix described here:

    https://forum.cloudron.io/topic/14972/413-content-too-large-on-video-upload-inner-nginx-client_max_body_size-seems-too-low/2?_=1775394530576#:~:text=Example%3A-,location,-/api/ { client_max_body_size 200M

    It might even be that @d19dotca can make that change to his own config for local testing. But, I agree, an officially packaged version will likely address this, and be integrated fully with backups, etc.


  • Garage packaging status, next steps
    jadudmJ jadudm
    Package development

    @timconsidine Serving as your meat-based AI... 😄

    In theory, it would be an app issue. Because Nginx is serving as a proxy in front of Garage---it is handling the HTTPS and some domain routing to the app itself---the behavior of that HTTP server becomes "a thing." In this case, Nginx has a maximum client body size:

    https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

    For many apps, this is never an issue; for apps that involve uploading files (Immich, Garage, etc.), clients routinely send large files. While I might think I'm connected to my Garage instance, what I'm actually connected to is Nginx, which is proxying my connection through to Garage in the backend. Therefore, the behavior of the proxy matters, and in this case, it has to do with the filesize limits of the proxy. When doing file uploads, we can easily exceed the per-request filesize limit on the proxy, and Nginx returns a 413 as a result.

    You wouldn't see it if you're using rsync backups and dealing with small files. However, a tarball backup can easily generate a request that comes in at gigabytes in size; as a result, Nginx says "no" and returns a 413.

    Hence, @d19dotca thinking that setting that value in the Nginx config to 0 would likely eliminate the error.

    All of that said, there's also the possible arrival of an officially maintained Garage package, which we might want to move to anyway. However, it is good to have options to experiment with!


  • Garage packaging status, next steps
    jadudmJ jadudm
    Package development

    There's a good chance this is an Nginx error; we've seen this before on other packages. There's a limit on the front-side as to how large a file can be passed through an Nginx proxy. For example:

    https://forum.cloudron.io/topic/14972/413-content-too-large-on-video-upload-inner-nginx-client_max_body_size-seems-too-low/2?_=1775394530576

    It might be a similar problem here. Fixable, but it will require an update on the package.


  • Garage, an open-source distributed storage service you can self-host to fullfill many needs
    jadudmJ jadudm
    App Wishlist

    Hi @timconsidine , I know I won't have time to do a PR anytime soon, so I'll drop a note here. Huge kudos on bringing the package forward.

    The Garage state is stored entirely in SQLite databases. I can't remember the names of them... there's 2 or 3? So while you've spec'd the directories where they will live, that's only part of what needs to be done with them for a restoreable Garage installation on Cloudron.

    https://docs.cloudron.io/packaging/addons/#sqlite

    You'll want to make sure they're explicitly called out in the manifest. Doing so makes sure they get baked up safely.

    If you don't, it is possible that a backup will fail to correctly capture all of the metadata about the Garage instance, and the result could be lost data upon restore. (That is, if a WAL file is not flushed, then the standard backup might capture the metadata DB in an inconsistent state, and if someone had to restore, they would have a corrupt and unrecoverable Garage installation.)


  • Struggling to Replace MinIO - Advice Welcome!
    jadudmJ jadudm
    Discuss

    Depending on your appetite for loss, I would consider backups-in-depth. That is, one backup site is not a backup.

    1. Use rsync-based backup over SSHFS to Hetzner or similar. You will want to select "use hardlinks" and, if you want it, encryption. The use of hardlinks is, essentially, your de-duplication. (See below.)
    2. For a second layer of depth, I would consider a (daily? weekly? monthly?) backup of your primary backup site to a secondary. This could be a sync to AWS S3, for example. Note that any S3-based backup (B2, Cloudflare ObjectSomething, etc.) will have both a storage cost and an API cost. If you are dealing with millions of small files in your backups, the API costs will become real, because dedupe requires checking each object, and then possibly transferring it (multiple PUT/GET requests per file).
      1. S3 has the ability to automatically keep multiple versions of a file. You could use this to have an in-place rotation/update of files.
      2. If you are doing an S3 backup, you can use lifecycle rules to automatically move your S3 content to Glacier. This is much cheaper than "hot" S3 storage. But, you pay a penalty if you download/delete to early/too often.
    3. As a third, cheap-ish option, go get a 2- or 4-bay NAS that can run TrueNAS, and put a pair of 8-12TB HDDs in it. Configure the disks in a ZFS mirrored pair. Run a cron job once per day/week to pull down the contents of the Hetzner box. (Your cron will want to, again, use rsync with hardlinks.) You now have a local machine mirroring your hot backups. It is arguably more expensive than some other options (~600USD up front), but you don't have any "we might run out of space" issues. And, because you're using it to pull, you don't have any weird networking problems: just SCP the data down. (Or, rsync it down over SSH.)

    Whatever you are doing, consider targeting two different destinations at two different times (per day/alternating/etc.). Or, consider having some combination of backups that give you multiple copies at multiple sites. That could be Hetzner in two regions, with backups run on alternating days, or it could be you backup to a storage box and pull down a clone every day to a local NAS, or ... or ...

    Ultimately, your 150GB is small. If you're increasing by a few GB per week, you're saying that you are likely to have 1TB/year. Not knowing your company's finances, this is generally considered a small amount of data. Trying to optimize for cost, immediately, is possibly less important than just getting the backups somewhere.

    Other strategies could involve backing up to the NAS locally first, and then using a cron to borg or rsync to a remote host (possibly more annoying to set up), etc. But, you might have more "dedupe" options then. (borg has dedupe built in, I think, but...)

    I have a suspicion that your desire to use object storage might be a red herring. But, again, I don't know your constraints/budget/needs/concerns.


    Deduplication: If you use rsync with hardlinks, then each daily backup will automatically dedupe unchanged files. A hardlink is a pointer to a file. So, if you upload super_ai_outputs_day_1.md to your storage on Monday, and it remains unchanged for the rest of time, then each subsequent day is going to be a hardlink to that file. It will, for all intents and purposes, take up zero disk space. So, if you are backing up large numbers of small-to-medium sized files that do not change, SSHFS/rsync with hardlinks is going to naturally dedupe your unchanging old data.

    This will not do binary deduplication of different files. So, if you're looking for a backup solution that would (say) identify that two, 1GB files where the middle 500GB are identical, and somehow dedupe that... you need more sophisticated tools and strategies. Rsync/hardlinks just makes sure that the same file, backed up every day, does not take (# days * size) space. It just takes the original size of the file plus an inode in the FS for each link.

    Note, though, if you involve a snapshot of your hardlinked backups to an object store, every file may take the full size of every file for every day. I'm possibly wrong on that, but I'm not confident that most tools would know what to do with those hardlinks when you're copying to an object store. I think you'd end up multiplying your disk usage significantly, because your backup tool will have to create a copy of each file into the object store. (Most object stores do not have a notion of symlinks/hardlinks.) An experiment with a subset of the data, or even a few files, will tell you the answer to that question.

    If you have other questions, you can ask here, or DM me.


  • TLS Passthrough option for apps requiring end-to-end TLS
    jadudmJ jadudm
    Feature Requests

    Consider this an upvote/+1, along with kudos on @marcusquinn 's packaging of NetBird.


  • Long backups, local and remote, failing consistently
    jadudmJ jadudm
    Support backup sshfs rsync

    Will do, James. I have not been able to recreate the held lock issue. I was starting/stopping jobs a fair bit at one point, and can't... be precise about where in the backup cycle those cancellations happened that a cleanup might not have happened. I will watch for it in the future.

    When I said there was no RAM pressure, I meant that was true for the server. However, my jobs all had 1GB of RAM. Your suggestion clued me in; because that value must be set after you setup the backup job, I had never noticed it before... or, not realized how critical it might be. I have bumped them all to 6GB of RAM, and so far, I've been seeing backup successes.

    Barring the question below, I'd say we could close this issue. The lesson learned is that I need to provide my backup tasks more RAM. Because I have some RAM to spare, I'm going aggressive, and giving things 6GB. I did not attempt to settle on a smaller amount, for anyone who comes along after--- I just gave the tasks a limit that I considered to be "a lot" in this context.

    I still see some things like the errors below. The backup completes successfully, but I'm unclear why there would be errors like these sprinkled throughout the backup. Is the relative path full/snapshot/app_... actually correct? Or, should that be a full path (e.g. the base path I provided at setup time along with the relative path)? In the command that succeeds, it is a full path.

    Feb 13 16:11:00 box:shell filesystem: ssh -o "StrictHostKeyChecking no" -i /tmp/identity_file_d82bc09e-a419-4d60-84bf-95d631fd0ebb -p 22 user@nas.lan cp -aRl full/snapshot/app_c74efccf-d273-46c9-8afe-3fd427bb78c1 full/2026-02-13-210356-064/app_git.jadud.com_v1.37.4 errored BoxError: ssh exited with code 1 signal null
    Feb 13 16:11:00 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:82:23)
    Feb 13 16:11:00 at ChildProcess.emit (node:events:519:28)
    Feb 13 16:11:00 at maybeClose (node:internal/child_process:1101:16)
    Feb 13 16:11:00 at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
    Feb 13 16:11:00 reason: 'Shell Error',
    Feb 13 16:11:00 details: {},
    Feb 13 16:11:00 stdout: <Buffer >,
    Feb 13 16:11:00 stdoutString: '',
    Feb 13 16:11:00 stdoutLineCount: 0,
    Feb 13 16:11:00 stderr: <Buffer 63 70 3a 20 63 61 6e 6e 6f 74 20 73 74 61 74 20 27 66 75 6c 6c 2f 73 6e 61 70 73 68 6f 74 2f 61 70 70 5f 63 37 34 65 66 63 63 66 2d 64 32 37 33 2d 34 ... 50 more bytes>,
    Feb 13 16:11:00 stderrString: "cp: cannot stat 'full/snapshot/app_c74efccf-d273-46c9-8afe-3fd427bb78c1': No such file or directory\n",
    Feb 13 16:11:00 stderrLineCount: 1,
    Feb 13 16:11:00 code: 1,
    Feb 13 16:11:00 signal: null,
    Feb 13 16:11:00 timedOut: false,
    Feb 13 16:11:00 terminated: false
    Feb 13 16:11:00 }
    Feb 13 16:11:00 box:storage/filesystem SSH remote copy failed, trying sshfs copy
    Feb 13 16:11:00 box:shell filesystem: cp -aRl /mnt/managedbackups/1ec6c6b4-7566-4369-b2ce-466968b00d5d/full/snapshot/app_c74efccf-d273-46c9-8afe-3fd427bb78c1 /mnt/managedbackups/1ec6c6b4-7566-4369-b2ce-466968b00d5d/full/2026-02-13-210356-064/app_git.jadud.com_v1.37.4
    Feb 13 16:11:07 box:backuptask copy: copied successfully to 2026-02-13-210356-064/app_git.jadud.com_v1.37.4. Took 7.889 seconds
    
  • Login

  • Don't have an account? Register

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