Comments (9)
This sounds more like a general issue with your owncloud setup, not directly related to the docker container itself, maybe it's better to ask for help on the forum at https://central.owncloud.com
from server.
I have created a new non ldap user and I got the same problem.
So It's no ldap problem.
The link https://central.owncloud.com doesn't work.
from server.
Ah, sorry... It's central.owncloud.org
And what do you get on the logs with the local user?
from server.
And what do you get on the logs with the local user?
I get the same message. See it in the first post.
This sounds more like a general issue with your owncloud setup, not directly related to the docker container itself,
Please notice: I don't have a config file. I just use the docker params. I think it's a problem with the docker image.
The part of the documentation doesn't work:
--volume ./data:/mnt/data:z
Produce this error:
docker: Error response from daemon: create ./data: "./data" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.
So I have used
sudo create volume ocdata
and then
--volume ocdata:/mnt/data:z
I think the documentation is wrong or it's a bug in the image. Can you check this?
from server.
You can skip the :z, this is only required with selinux. You are right,./data works within docker compose but for docker run it requires absolute paths
from server.
My error is the same without :z.
from server.
Please use absolut path for volume mounts with docker.
Or use docker-compose as suggested in the example usage.
If your data volume is not mounted, of course the users data folders can't be created.
Please reopen if still an issue.
from server.
If your data volume is not mounted, of course the users data folders can't be created.
In the admin account I can change any file and it is stored in the image.
But new users can not create the files-folder.
Yes, the issue is still open.
Now I try nextcloud. Owncloud is not working under ubuntu 16.04 because of php chaos. 7.1 and 5.4 are not supported. But other versions are not available in ubuntu. Package chaos.
And with docker the files-folder problem.
from server.
Ubuntu 16.04 works totally fine with ownCloud, our base image is built on top of Ubuntu 16.04 from the standard repositories: https://github.com/owncloud-docker/base/blob/master/Dockerfile.
Since even demos like https://demo.owncloud.com or https://demo.owncloud.org are built on these Docker images and we can created as many users as we want your problem must be a configuration issue.
This is for sure a configuration that works on different machines:
version: '2'
services:
web:
image: owncloud/server:10.0.2
network_mode: bridge
environment:
- OWNCLOUD_DOMAIN=demo.owncloud.com
- OWNCLOUD_DB_TYPE=mysql
- OWNCLOUD_DB_NAME=owncloud
- OWNCLOUD_DB_USERNAME=owncloud
- OWNCLOUD_DB_PASSWORD=owncloud
- OWNCLOUD_DB_HOST=db
- OWNCLOUD_ADMIN_USERNAME=admin
- OWNCLOUD_ADMIN_PASSWORD=admin
labels:
- traefik.frontend.passHostHeader=true
- traefik.frontend.rule=Host:demo.owncloud.com
- traefik.port=80
links:
- db:db
volumes:
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro
db:
image: webhippie/mariadb
network_mode: bridge
environment:
- MARIADB_ROOT_PASSWORD=owncloud
- MARIADB_USERNAME=owncloud
- MARIADB_PASSWORD=owncloud
- MARIADB_DATABASE=owncloud
labels:
- traefik.enable=false
Edit: And exactly these docker containers are used with named volumes and host volumes.
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
- "trusted_doamins" cannot work anymore for docker container. HOT 2
- [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.