Code Monkey home page Code Monkey logo

Comments (2)

xoxys avatar xoxys commented on June 5, 2024 1

The config.php file was never intended to work while using the container, and it has never worked reliably for all the other settings that are available as environment variables. ownCloud loads the configuration files from the config folder in alphabetical order (last wins). By default for the container this is:

root@40b2301219b0:/var/www/owncloud# ls -l /mnt/data/config/
total 28
-rw-r-----. 1 www-data www-data  1214 Mar 14 07:58 config.php
-rw-r--r--. 1 root     root      1038 Mar 14 07:58 objectstore.config.php
-rw-r--r--. 1 www-data root     18749 Mar 14 07:58 overwrite.config.php

If you want to set it via file, you can create another one, e.g. zz-user.config.php that will be loaded last and overwrite the default files. Why OWNCLOUD_TRUSTED_DOMAINS was introduced were discussed in details already and there are no plans to change this behavior, sorry.

from server.

PatrickHsu36 avatar PatrickHsu36 commented on June 5, 2024 1

If you want to set it via file, you can create another one, e.g. zz-user.config.php that will be loaded last and overwrite the default files.

Thanks for providing this solution, I had tried, and it works.

from server.

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.