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


Skip to content

Nextcloud

374 Topics 3.0k Posts
  • Nextcloud - Package Updates

    Pinned
    108
    1 Votes
    108 Posts
    41k Views
    Package UpdatesP
    [5.5.2] Update server to 31.0.6 Full Changelog
  • Collabora Connection Error after changing domain name

    8
    1
    1 Votes
    8 Posts
    212 Views
    nebulonN
    that seems odd that the UI elements (like the radio buttons in the first place) are disabled. This seems like a Nextcloud bug. Maybe check your browser console to see if some related JS error it thrown and maybe try another browser, just to rule out the obvious. I can't reproduce it here.
  • mtu

    Moved Solved mtu networking
    21
    1 Votes
    21 Posts
    2k Views
    jamesJ
    Closed due to inactivity
  • Nextcloud anti-virus wants clamscan on server

    nextcloud clamav clamscan anti-virus
    2
    2 Votes
    2 Posts
    558 Views
    David 0D
    I would also be interested in how to use clamav for nextcloud. is there some sort of anti virus pre-packaged?
  • Nextcloud News

    Solved
    10
    1
    1 Votes
    10 Posts
    1k Views
    jamesJ
    Closed due to inactivity
  • Error getting related resources

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    jamesJ
    Closed due to inactivity
  • Nextcloud Talk CHAT very slow

    nextcloud nextcloud talk performance nextcloud hpb
    7
    2 Votes
    7 Posts
    284 Views
    jamesJ
    Hello @i.fritz Thanks for providing these details. Inside you config I can see something shady: MinSpareServers 20 MaxSpareServers 20 But MaxSpareServers should be MaxSpareServers >= MinSpareServers+1 so at least 21. Just in case this could cause any issues. @i.fritz said in Nextcloud Talk CHAT very slow: I see CPU at a lot of Apache processes As expected when you start StartServers 50 and a minimum of MinSpareServers 20 so at least 70 processes. So maybe this config is already a bit shady. <!-- Disclaimer - the following contains partly AI generated content --!> I've done my due diligance to confirm that everything is correct and sane. Made the AI format my sloppy text into something readable. <!-- End of disclaimer --!> For a Nextcloud setup with 100+ users, the Apache prefork MPM settings should balance performance, stability, and resource efficiency. Below are recommended values based on typical production environments, alongside key considerations: Recommended Apache Prefork Settings <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxRequestWorkers 100 # Previously "MaxClients" MaxConnectionsPerChild 5000 </IfModule> Explanation & Rationale StartServers 5 Initial processes to handle traffic spikes at startup. Why? Avoids delay in spawning processes during sudden load. MinSpareServers 5 MaxSpareServers 10 Maintains 5–10 idle processes to absorb traffic surges. Why? Prevents latency by keeping workers ready. For 100+ users, higher spares reduce wait times during concurrency peaks. MaxRequestWorkers 100 Maximum simultaneous requests. Why? Assumes 10–20% concurrent active users (10–20 requests at peak). Each user may open 2–5 connections (pages, syncs, uploads). Adjust based on RAM: Estimate RAM/process: Minimal: 30–50 MB (optimized PHP). Typical: 70–150 MB (with PHP modules). Formula: MaxRequestWorkers = (Available RAM for Apache) / (Average PHP process size) Example: 8 GB RAM server → Reserve 4 GB for Apache → 4000 MB / 50 MB ≈ 80 workers. Start with 100, monitor, and adjust. MaxConnectionsPerChild 5000 Recycle processes after 5000 requests. Why? Prevents memory leaks without excessive process recycling. Avoid values <1000 (causes frequent restart overhead). Values >10k are acceptable if leaks are minimal. Critical Considerations PHP Memory: Set php.ini values:max_execution_time = 300 ; For large uploads/ops Cloudron sets this for PHP by default: RUN crudini --set /etc/php/8.3/apache2/php.ini PHP upload_max_filesize 5G && \ crudini --set /etc/php/8.3/apache2/php.ini PHP post_max_size 5G && \ crudini --set /etc/php/8.3/apache2/php.ini PHP memory_limit 512M && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.enable 1 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.enable_cli 1 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.interned_strings_buffer 32 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.max_accelerated_files 10000 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.memory_consumption 128 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.save_comments 1 && \ crudini --set /etc/php/8.3/apache2/php.ini opcache opcache.revalidate_freq 1 && \ crudini --set /etc/php/8.3/apache2/php.ini Session session.save_path /run/nextcloud/sessions && \ crudini --set /etc/php/8.3/apache2/php.ini Session session.gc_probability 1 && \ crudini --set /etc/php/8.3/apache2/php.ini Session session.gc_divisor 100 Adjustment Workflow Start with recommended values. Simulate load with tools like ab:ab -n 1000 -c 50 https://your-nextcloud.com/ Note: Do not start the load test from your desktop machine at home or the Nextcloud server itself. It should be a VM with enough power. Maybe rent a bigger Hetzner vServer for 30–60 minutes to do the load test against your Nextcloud. Monitor: RAM usage (avoid >70% total usage). Idle workers (should rarely hit 0). Queue length (via mod_status; requests waiting for workers). Scale incrementally: Increase MaxRequestWorkers if queues form. Reduce MaxSpareServers if idle processes waste RAM. With these setting your Nextcloud should at least be assigned 8GB RAM, but since you have 128 GB why not give it 12GB. This might already help.
  • Snappy Mail - Domain not allowed

    Solved
    4
    0 Votes
    4 Posts
    695 Views
    jdaviescoatesJ
    @james said in Snappy Mail - Domain not allowed: Note: SnappyMail is now a standalone app. It's always been available as a standalone app. It's still a Nextcloud App too, I think
  • Nextcloud has been unresponsive for months now

    Solved
    6
    0 Votes
    6 Posts
    851 Views
    jamesJ
    Closed due to inactivity
  • Cannot login to Nextcloud since package 5.5.2

    4
    0 Votes
    4 Posts
    93 Views
    RubenFixitR
    I never did find root cause, but a fresh Cloudron install and restoring from backup resolved the issue.
  • Nextcloud OIDC integration

    118
    2 Votes
    118 Posts
    13k Views
    jamesJ
    @overholt said in Nextcloud OIDC integration: I'm guess that answer was way off? Yes. Completly wrong. @overholt said in Nextcloud OIDC integration: as it sometimes does Most of the time it does when the AI does not have the necessary information in its model. Since this a very specific context of Nextcloud inside Cloudron, the AI would need accessive knowledge about what Cloudron is and what it does. Some AI Models you can pre-feed with details like giving them the docs URL or such. But even then the Parrot AI starts imagining things. Better to ask here directly before getting lead on a wild goose chase by the AI.
  • Nextcloud not responding after restore (healthcheck ECONNREFUSED)

    8
    1 Votes
    8 Posts
    184 Views
    archosA
    Looks like it's an issue with the Photos app itself. Hopefully it will be fixed soon. Github
  • Update to 5.0.4 not working

    5
    0 Votes
    5 Posts
    174 Views
    J
    @RoboMod said in Update to 5.0.4 not working: Unfortunately, the update did not run through. Instead, the old version was still active This usually happens because the app backup failed. An app update involves taking a backup and then updating the app. If the backup failed, Cloudron will revert to whatever version was running previously. As @james said, check the app logs as to why the backup failed.
  • 1 Votes
    9 Posts
    336 Views
    firmansiF
    I have plugins regarding to this feature off for a while in Nextcloud, till the issue is found and hopefully resolved
  • Nextcloud external storage - backup strategy?

    5
    0 Votes
    5 Posts
    567 Views
    jdaviescoatesJ
    @ethanxrosen said in Nextcloud external storage - backup strategy?: CIFS mounted storage box like Hetzner Or an SSHFS mounted Hetzner Storage Box (which is what I use these days).
  • Best practise for Nextcloud setup (NVMe) with additional HDD drives

    10
    1 Votes
    10 Posts
    2k Views
    E
    @joseph i think you might've mistaken my question for one about backups, but no worries you guys already had the answer here: https://docs.cloudron.io/apps/#data-directory
  • Protect against virus and malware files for Nextcloud

    6
    3 Votes
    6 Posts
    491 Views
    M
    Running mail-server and nextcloud on cloudron. Clamav would be a fine feature. What's the status for this request?
  • How to enable High Performance Backend for allow large group call

    2
    1 Votes
    2 Posts
    102 Views
    jamesJ
    Hello @moa.myoneart and welcome to the Cloudron Forum. This has already been answered here => https://forum.cloudron.io/topic/11672/nextcloud-signaling-server-highperformance-backend-installation-guide
  • 1 Votes
    3 Posts
    133 Views
    Z
    Indeed they're back when they login with OIDC, thanks for the tips. This ticket can be closed I think.
  • 0 Votes
    11 Posts
    413 Views
    girishG
    @Benoit thanks for your patience! The issue was that listObjects API call in minio is not returning all objects. Some bug in minio. Moving to listObjectsV2 API makes it work. Fixed in https://git.cloudron.io/platform/box/-/commit/48bf21a537d634167e6477d2671794056b87a592