Can someone please share a well-tuned config files? I use 31 version, it’s expected that the system will be used by about 300 people, and I would describe the usage intensity as “medium”.
@vsnegupal welcome to the community ![]()
did you see this documentation?
there are myriads of configuration options, system set ups and environments.
TBH this would be extremely questionable if not to say, plain dangerous…
suggest you use the default working config.php and work through the documented configuration options one by one until your instance is configured for your environment.
you qualify for enterprise Nextcloud from Nextcloud GmbH from 100 users, so you might consider contacting the Nextcloud GmbH team for consulting and support.
The tuning is more done on the services added to improve performance, e.g. using caching:
or existing services, to be configured to your specific use case, e.g. database:
(and probably webserver, php <= therefore you might want to look for improvements, share config parameters etc.).
And for these improvements, you need to find the bottleneck which is the hard part.
yes, I’ve seen this documentation, I’ve used it to set up multiple copies of the server, and to tell you the truth, it infuriated me that there are “myriads of configuration options” out there, and I have to make an informed decision about each of them. It sounds childish, but let me share my emotions.
Come on, using templates is neither questionable nor dangerous, we do it all the time.
no need to patronise!
do as you please!
thanks. Anyone else, please?
there are myriads of different environments and things that are available or not, or apps that you use or not, …
I’m not really sure what you are expecting. If you want to tune for better performance, you can use the support template to share your configuration if people have an input of that where they see a bottleneck.
If it is a single server system, with 300 users you might come to a limit for single-server setups (certainly depending on the server, usage, …). From some older docs, I think around 100 users they considered “safe” for a single server setup, however I cannot remember if that included talk, online office, …
There are no templates because the config depends heavily on your environment, your requirements, and the specific apps you have installed.
I mean, I could post my config.php here, but if you just copy and paste it, you’d probably end up with an internal server error. ![]()
Also, the config.php isn’t really where most of the fine-tuning happens. That’s mostly done at the system level, i.e. web server, PHP, Redis, the database, etc. For example, my config.php contains Redis connection info, but tuning Redis itself happens in the Redis configuration, not in Nextcloud.
Many settings in config.php are also down to personal preference or specific security policies (e.g., how you want to handle sessions). There’s simply no such thing as a one-size-fits-all configuration.
If you’re looking for a preconfigured Nextcloud setup with many of the best practices already applied, I recommend looking into Nextcloud AIO, However, as far as I know, it’s only free for up to 100 users. But honestly, if you’re running a production environment for 300 users and you’re asking for config templates on a forum, it might be a sign that you need professional support, either through a Nextcloud Enterprise subscription or by outsourcing to a managed service provider (MSP).
Yes, and that’s exactly what’s expected if you’re responsible for a production server with hundreds of users. If that feels overwhelming, you shouldn’t probably be doing it alone. After all this is critical infrastructure, not a personal hobby project.
I don’t want to just use someone else’s config.
That’s right, and I’d be very interested to take a look at tuned Redis config.
Yes, and fortunately for both of us, my employer will not use the system I set up without being sure of its stability, but he gives a lot of time to study the system and configure it.
I want to say that the server setup is well documented, but it’s a bit difficult to correlate the possible settings with the result you want to achieve. That’s why I decided to ask other users to share practices that they think are successful.
I can share my Redis config file with you, but honestly, it won’t help much, because I haven’t done any special tuning. I only host a private Nextcloud instance with three users.
Most users here on the forum are hostig their instances at home or in, small organizations, or teams with maybe a few dozen users max. Many of them use Nextcloud AIO or follow one of the many tutorials available online, which is perfectly fine for those use cases.
And even if someone in the community with the necessary experience was willing to help, simply posting their configurations wouldn’t make much sense. They would need to know your exact requirements and operating environment to provide any meaningful or responsible advice.
Also, let’s be realistic. Even if we had all the necessary details, you can’t seriously expect people here to provide free consulting on how to configure a production-grade Nextcloud setup for 300 users, let alone design and configure it for you.
But they’d be fine with you using random configuration snippets from random people on the internet, without you knowing what they actually do or what the environments and use cases look like from the people who posted them? ![]()
You can buy support from developers that have plenty of experience deploying Nextcloud in enterprise environments. Within the community version, you are a bit on your own, you can share experiences, ask for specific problems and help to analyze, but shoot out of the blue and having production ready configurations for common use cases, that will be difficult…
‘Specific’ is the keyword here. ![]()
Actually, why not.
gosh. No one HAS to do anything for me.
They don’t mind that I’m studying this issue.
It seems there is still some misunderstanding here. I asked people: if someone has successfully solved the task of setting up a server for 300 people, and some points in the configs seem very good to him, ESPECIALLY if they were not obvious, then such a person could show it.
No, I don’t think there is. You’re just approaching this from the wrong end.
That can definitely be answered with “yes.” Many organistaions in all sizes have done so, even with far more users. just as an example, MagentaCloud (by Deutsche Telekom) is based on Nextcloud and serves thousands of users.
Again, you’re approaching this the wrong way. If you actually want help, you’ll need to be more specific.
That said, here’s something that might help:
The site is in German, but thanks to translation tools (and AI), that shouldn’t be an issue. My own Nextcloud setup is largely based on those guides.
The configurations described there should scale reasonably well, not just for home users and small teams, but for larger groups too. Whether it scales all the way up to 300 users I don’t know, and it probably depends on many factors, such as whether all users are active at the same time and which apps are used etc.
But here’s the thing: Even with good configs, you’ll eventually run into problems if you don’t understand what they actually do. And even if you do understand them, a Nextcloud instance isn’t something you set up once and forget. A configuration that’s optimal today might no longer be optimal in a year, either because your requirements change or because the software itself evolves.
So, at some point, it may still make sense to consider a Nextcloud Enterprise subscription, or bring in an experienced IT provider or MSP to manage the setup for you.
It’s useful.
Well, that’s bad.
No enterprise server environment can ever be considered ‘set it and forget it’, and those who think otherwise end up in the news rather sooner than later. ![]()
If you stop maintaining, monitoring and adapting the software or infrastructure, you will create technical debt, or worse, leave yourself open to security incidents.
Ok, then let’s wait if someone shows up. I think we have given enough hints, and if the wait is too long, the OP knows the options. Good luck.
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.