Giter Site home page Giter Site logo

Comments (5)

somerandow avatar somerandow commented on September 7, 2024 3

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.

Routhinator avatar Routhinator commented on September 7, 2024 1

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.

tvories avatar tvories commented on September 7, 2024

@Routhinator which chart version?

from helm.

Routhinator avatar Routhinator commented on September 7, 2024

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.

Routhinator avatar Routhinator commented on September 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.