Comments (5)
I found that to work around this, you can specify the phpConfigs
in your values yaml:
For example, I use:
nextcloud:
phpConfigs:
wojoinc-xyz.ini: |-
upload_max_filesize=16G
post_max_size=16G
apc.enable_cli=1
memory_limit=1024M
Note: The only quirk with this is that due to where the file gets created (/usr/local/etc/php/conf.d
) you need to name the file to something alphabetically after 'n' or it will be overridden by the nextcloud.ini
file which is also created in this folder.
Seems like these files are processed alphabetically by php, with later files taking precedence when overriding values: https://serverfault.com/a/806530
from helm.
Oof, came back to running Nextcloud again after a couple of years and ended up back on my own issue haha. They should have used the numbering system for nextcloud.ini (IE 00-nextcloud.ini
) based on the override order.
Testing this solution and will close this if it works.
from helm.
@Routhinator which chart version?
from helm.
2.5.15. apparently it's a new bug with Nextcloud 20+
I managed to workaround it by passing:
-d memory_limit=-1
from helm.
This did work and solved the issue. Would be good to make this a part of the standard chart configs as the default 512M in the apache container is fairly small, however this works and is already exposed. Cheers @somerandow
from helm.
Related Issues (20)
- Can't start Nextcloud because the version of the data (0.0.0.0) is higher than the docker image version () and downgrading is not supported. Are you sure you have pulled the newest image version? HOT 1
- Helm chart 4.6.8 does not work when using an external database for NextCloud. "key" is not defined. HOT 1
- Cannot disable packaged PostgreSQL HOT 2
- Feature: Use CronJob resources instead of a container with crond HOT 9
- PHP Memory Limit should be configured properly by default HOT 8
- Enabling `.persistence.enabled` leads to `/var/www/html/lib` and probably other files not being created HOT 5
- chown permission in nfs pvc HOT 2
- Error: Accessing site insecurely via HTTP | Config Question HOT 3
- Add ExtraVolumes for Cronjob Container HOT 2
- Feature: Add Valkey as an optional subchart to be an alternative to redis HOT 1
- Feature: Add test for enabling redis to ci
- Feature: Add test for metrics in CI
- Feature: Add OnlyOffice as a subchart
- Feature: Add Collabora as a subchart
- New S3 Configuration breaks prior S3 configuration and is missing uploadPartSize HOT 7
- Feature: Add test for adding extra configs in CI
- failed to create resource: Deployment.apps "nextcloud" is invalid: [spec.template.spec.containers[0].env[22].valueFrom.secretKeyRef.key: Required value, spec.template.spec.containers[1].env[22].valueFrom.secretKeyRef.key: Required value] HOT 1
- Changing nextcloud.host vars results in crashloopbackoff HOT 1
- The smb protocol is not available
- Configure datadir & external database properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.