-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wiki misses the app folder for external volume #85
Comments
During my configuration I noticed that the apps folder was once mounted as a seperate volume in the docker file
However all this is commented out. I guess to make it more flexible for people and enable direct directory import via the command line. However, the docs describe this for data and config but not for apps. Thus, the missing app folder import might be simply dropped out by accidence?! If so, it would be just the readme resp. the wiki, which requires a change. However, the question remains, why not putting the entire owncloud folder in a directory? |
Hi, I'm having a lot of trouble with the "apps" volume. Lost an entire afternoon trying to make it work... Maybe that is why the docs doesn't mention the possibility of using the apps directory as a volume. Here is my docker command: docker run And here is the line for adding a apps volume, is this what you did? --volume '/mnt/docker-data/owncloud/apps:/usr/share/webapps/owncloud/apps' \ regards. |
@diegomachadosoares Well, my set-up is a bit different. I have a owncloud-data service which I start to provide a container containing all the persistent storage folders for owncloud. Then I use this container within the owncloud-container started by /usr/bin/docker run --hostname=myhost.org --name owncloud --volumes-from owncloud_data -v /home/core/sslKeys:/root/sslKeys --link mariadb:mariadb -p 80:80 -p 443:443 -e VIRTUAL_HOST=myhost.org -e TARGET_SUBDIR=/oc l3iggs/owncloud --volumes-from owncloud_data provides all the necessary folders. This as far as I understood is the "new" clean way to get data-folders into containers. It is completely seperated, hence I could easily change the way folders are used (e.g. using a different local location, machine or connection type) and my owncloud instance would not need any change. I could even switch between different data containers, e.g. one for testing and one for production (however, this would require to switch to different database containers too). I'm wondering that this ticket did not catch more interest, as it should address almost all users. How do other keep there apps-folder persistent ? Hope that helps a bit Torwag |
It sounds like you've got things working well @torwag, thanks for explaining your setup! I personally don't keep my apps persistent. I don't even use a volume for data. I use the official "External storage support" app for keeping my data outside of the container. I actually only use one single volume for config so my setup is pretty simple compared to yours. When I have some free time, I'll try to experiment with the way you're doing things and incorporate it into the docs. |
@greyltc |
Hi,
I had the problem, that all additional installed apps disappeared whenever I restarted the container. They were still marked active in the admin settings, but did not appear in the user menu.
A simple deactivate and activate made them available again. The reason might be that the app folder was not persistent. I added an additional volume in the same way like the data and config volumes and that solved the problem.
With this, I was wondering why not keeping the entire owncloud folder persistent. The official container is doing it in that way and can also trigger updates by that (checking for the existence of version.php).
Any reasons for having 3 separate instead of one underlying data volume?
The text was updated successfully, but these errors were encountered: