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
  • 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

Apps | Demo | Docs | Install
P

pbischoff

@pbischoff
About
Posts
20
Topics
4
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • Cloudron as LDAP Directory Server with around two thousand Users
    P pbischoff

    Hello everyone,

    I was asked to develop an account managing solution via LDAP for an institution with around 2000 users. In this scenario only a LDAP Directory Server is needed. External apps that consume the LDAP Directory are already there.
    I immediately thought of Cloudron and its Directory Server for external Apps, because we also use it very successfully in our company. But in our company we use it for about 10 people and in this case it should manage 2000 users.
    Does anyone have experience using Cloudron Directory Server with several thousand users as an LDAP provider for external apps and can give me an assessment of whether this is a good idea?
    Or can someone from the Cloudron team tell something about whether the Cloudron Directory Server is designed to handle so many users or where problems might lie?

    Thank you very much for your answers.
    Kind regards
    Philipp

    Discuss ldap user directory

  • Oversized Disk Usage
    P pbischoff

    @girish I just wanted to say thank you for your help two weeks ago!

    I didn't get Postgres running because of too little storage on the disk, so I had no idea in this short time how to delete the things out of Postgres.
    For us this issue was very critical and I had to fix it very fast and so I just deleted the dump file which means the loss of the directus instance data, but that was okay in this case.
    Again: thank you very much and best regards!

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish Yes it's this file! It has 447G!

    Do I have to manually modify this file or will just deleting the data within Postgres do the trick?

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish okay this is really curious. When I look under "Storage" of that app in the Cloudron Dashboard it tells me The app is currently using 9.5 MB of storage (as of 1 hours ago).

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish okay thank you, that helped very much.

    I identified a Directus instance that uses almost 500 GB. I think this is database data because of a cron process that fetches data periodically and writes logs for every fetch. How can I identify if it is really the database data or some files?

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish and the yellowtent/ directory uses 858 GB

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish Yes it looks like that!

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish okay, can you give me a hint which directories a the ones that cloudron uses?

    I already tested all directories in /var directory. Here only lib/ has 135 GB and the rest under 100 MB.

    Support

  • Oversized Disk Usage
    P pbischoff

    @girish Thanks for your answer.

    As I said "For Backups I used S3 bucket from the beginning."
    So backups NEVER were on disk.
    The disk usage of /var/backups is 2,1 MB.

    Support

  • Oversized Disk Usage
    P pbischoff

    Hello everyone,

    I have a very similar Problem.

    I am wondering what makes "Everything else (Ubuntu, etc)" 495.02 GB big.
    For Backups I used S3 bucket from the beginning.

    I also already decreased the retention policy and cleand up backups, but nothing changed in disk usage.

    BildschirmĀ­foto 2023-05-11 um 07.32.48.png

    Thanks for your help and best regards
    Philipp

    Support

  • Scaling/vCPU core usage of Directus in Cloudron
    P pbischoff

    @girish thank you for your answer.

    I did a little bit of load testing and that confirmed me again, that only one vCPU core is used.

    But this is a problem for almost every node.js app of the cloudron App Store, isn't it? Do they all use only one vCPU core?

    Then I came across this project pm2 https://pm2.keymetrics.io/, a process manager for node.js with integrated load balancer. I've never took a deeper look on how you package your Apps on Cloudron, but would it theoretically be possible to include pm2 in the Directus app setup for Cloudron or do you have any conditions that forbid "external" dependencies like pm2. Or are there any other obstacles that would speak against that?
    I was thinking about playing a little bit around with it.

    Thanks for your help again and best regards
    Philipp

    Directus

  • Scaling/vCPU core usage of Directus in Cloudron
    P pbischoff

    Hello everyone,

    I want to use Directus installed via Cloudron as data and content management system for a web project. I was wondering how many concurrent requests this setup could handle with a server that has multiple virtual CPU cores.
    This led me to the question how scaling in Cloudron and Directus actually works.

    The Directus backend runs with node and is single threaded. In the following GitHub discussion the tech lead of Directus, Rijk van Zanten, says that directus has no vertical node process scaling and that they use horizontal scaling of multiple container instances. https://github.com/directus/directus/discussions/9781#discussioncomment-1645326.

    When I get the idea of Cloudron right, then there is one single container running for every app and there is no option to run multiple container instances of one app.

    Actual Question

    So am I getting it right that Directus on Cloudron always uses only one virtual CPU Core?
    So when I have a server with 4 vCPUs and run Cloudron with only Directus installed on it, 3 vCPUs of them are needless?

    Thanks for any help
    Philipp

    Directus

  • NextCloud Backup fails with "Message: Invalid part number: 10001"
    P pbischoff

    @girish Thank you very much, that solved the problem.

    The 'change upload part size' hint would maybe be great for a Backup section in Troubleshooting Knowledge Base.
    I also received an e-mail, where a backup section in troubleshooting was mentioned. But that section does not exist:

    mail-backup-failed.png

    Support backup nextcloud

  • NextCloud Backup fails with "Message: Invalid part number: 10001"
    P pbischoff

    Hello everyone,

    Since I migrated about 250 GB to my NextCloud app, the automatic backup takes several hours trying to backup and ends with the error:

    box:backuptask runBackupUpload: result - {"result":"Error uploading snapshot/app_52cfd53a-8842-4b5b-afa5-836e3af76c54.tar.gz. Message: Invalid part number: 10001 HTTP Code: InvalidPart"}
    

    MY PREREQUISITES

    • Platform version v7.3.4 (Ubuntu 22.04.1 LTS)
    • Backup Provider ionos-objectstorage
    • Backup Storage Format tgz

    Thanks for your help

    Support backup nextcloud

  • Move to new Server destroyed Baserow
    P pbischoff

    @nebulon you were right.
    With the new version 7.3 the restore worked immediately and now baserow is running again.
    Thank you for the great support!

    Support restore backup

  • Move to new Server destroyed Baserow
    P pbischoff

    @nebulon thanks to your advice.

    I was wondering how I can update to a "stable" 7.3 version. Normally it should update automatically to the newest version, when I'm getting your knowledge base right. But my Cloudron has version 7.2.5. for a while now and is not automatically updating. Am I doing something wrong here in any config or setting?

    When I check for updates, it says that I can update to version 7.3.2, but that it is a prerelease and updating would be on my own risk.

    Support restore backup

  • Move to new Server destroyed Baserow
    P pbischoff

    @nebulon also in services ist looks like postgres is only using 0,5 of the 3 GB.

    Support restore backup

  • Move to new Server destroyed Baserow
    P pbischoff

    @nebulon Yes, I put the Limit to almost 3 GB and got the same behavior. Maybe there is a way to look in the logs to see way the task fails?

    Support restore backup

  • Move to new Server destroyed Baserow
    P pbischoff

    Thanks for your quick reply @nebulon and @girish

    I increased the memory of postgres to 1 GB and triggered restore again, but got the same behavior.
    After that I observed that mysql also seems to reach the memory limit and so I increased mysql limit to 1 GB as well.
    I triggered the restore and have the same behavior. The task gets stuck in "Restoring addons" for hours now.

    Memory utilization of services

    This is a screenshot of the services page.
    Mysql and postgres are not reaching their memory limits.
    But the server has 4 GB of RAM overall. Maybe this is the limiting factor?

    Bildschirmfoto 2022-11-17 um 08.47.46.png

    Thanks for help
    Philipp

    Support restore backup

  • Move to new Server destroyed Baserow
    P pbischoff

    Hello everyone,

    I was trying to move my Cloudron instance from an IONOS VPS Server to a bigger machine on netcup.
    Sadly the app Baserow didn't work after the restore on the new server.

    My prerequisites

    • Ubuntu 20.04
    • Cloudron Version 7.2.5
    • Manual DNS Provider
    • ionos-objectstorage as Storage Provider for backups

    My steps

    I tried to follow every step from the knowledge base article https://docs.cloudron.io/backups/#move-cloudron-to-another-server.

    • Took complete backup & downloaded backup configuration file
    • Installed Cloudron in correct version (7.2.5) on the new server and set ions-objectstorage as provider
    • Set all DNS A Records to point to the new servers IP address
    • Waited only a few minutes to let the DNS changes propagate
    • Started restoring Cloudron with backup config file
    • After a few minutes all apps worked fine except Baserow
    • (in network settings new servers IP address was detected)

    After that I sadly didn't inspect the Baserow app a little closer, but directly started a restore of this app.

    • Since then the task of restoring the app seems to work fine until 75%
    • The step "Restoring addons" fails after 30 minutes to hours (don't know exactly)

    My suggestion was that the DNS change propagation wasn't finished as I started the restoring process and restore process failed because of this. (knowledge base: Note that if you do not switch the IP for the app domains, the restore of those apps will fail and you have to trigger the restore of the app from the Backups section when you are ready to switch the IP)

    • So I changed all DNS A records back to old servers IP address
    • After some time old servers IP address was detected
    • But the Basrow app was in the same state: the restore process failed

    I don't know what I can do next.
    I'm thankful for any help.

    Support restore backup
  • Login

  • Don't have an account? Register

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