Comments (2)
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.
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)
- Changes for same site cookies in 10.7 / 10.8 HOT 7
- SQLSTATE[HY000] [1045] Access denied for user 'owncloud'@'172.25.0.4' HOT 1
- [Security] JQuery 1.2 < 3.5.0 Multiple XSS HOT 3
- add a way to run the app instantly?
- Apache missing config variable HOT 1
- where can i get this owncloud.tar.bz2 file? HOT 2
- Does Quick Evaluation version support https accessible HOT 8
- Trusted domain does not work correctly HOT 2
- owncloud-server keeps restarting HOT 1
- unable to run with independent database HOT 9
- table prefix bug? HOT 3
- [QA] 22 deb package dependencies available HOT 1
- OWNCLOUD_SUB_URL when used, PropFind returns 405: Is files folder empty? HOT 3
- Server fails to write crash file HOT 12
- Unable to start with NFS storage: Cannot write into "config" directory HOT 2
- setting volume "/mnt/data" to path on host throws error "environment not properly prepared" on docker
- [QA] integrity checker fails in 10.13.1 HOT 3
- OWNCLOUD_TRUSTED_DOMAINS in docker configuration results in invalid access HOT 2
- After docker compose restart missing table
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 server.