{"action":"created","issue":{"url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/54","repository_url":"https://api.github.com/repos/strukturag/nextcloud-spreedme","labels_url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/54/comments","events_url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/54/events","html_url":"https://github.com/strukturag/nextcloud-spreedme/issues/54","id":183197287,"number":54,"title":"Create docker contrainer for nextcloud: issues with 'extra' folder","user":{"login":"bonanza123","id":3331227,"avatar_url":"https://avatars.githubusercontent.com/u/3331227?v=3","gravatar_id":"","url":"https://api.github.com/users/bonanza123","html_url":"https://github.com/bonanza123","followers_url":"https://api.github.com/users/bonanza123/followers","following_url":"https://api.github.com/users/bonanza123/following{/other_user}","gists_url":"https://api.github.com/users/bonanza123/gists{/gist_id}","starred_url":"https://api.github.com/users/bonanza123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonanza123/subscriptions","organizations_url":"https://api.github.com/users/bonanza123/orgs","repos_url":"https://api.github.com/users/bonanza123/repos","events_url":"https://api.github.com/users/bonanza123/events{/privacy}","received_events_url":"https://api.github.com/users/bonanza123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-15T08:29:41Z","updated_at":"2016-10-24T19:38:12Z","closed_at":null,"body":"I'm trying to follow the instructions in the README to create a docker container, but I seem to have some issues with the right path for the `extra` folder.\r\nIn the documentation just `pwd` is mentioned, but for its not clear, so I tried the commands mentioned below.\r\n\r\nHere some information about my nextcloud structure (running still in owncloud folder as I just upgraded it and don't want to change it right now):\r\n\r\n```\r\nroot@owncloud ~www/owncloud/apps/spreedme (git)-[master] # pwd                                                                                                                                                         \r\n/var/www/owncloud/apps/spreedme\r\nroot@owncloud ~www/owncloud/apps/spreedme (git)-[master] # ll\r\ntotal 168K\r\ndrwxr-x--- 21 www-data www-data 4.0K Oct 14 21:35 .\r\ndrwxr-x--- 37 www-data www-data 4.0K Oct 14 17:45 ..\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 appinfo\r\n-rw-r-----  1 www-data www-data   39 Oct 14 17:43 AUTHORS.md\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 changelog\r\n-rw-r-----  1 www-data www-data 3.1K Oct 14 17:43 CHANGELOG.md\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 config\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 controller\r\n-rw-r-----  1 www-data www-data  34K Oct 14 17:43 COPYING\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 css\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 debug\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 doc\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 errors\r\ndrwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 extra\r\ndrwxr-x---  8 www-data www-data 4.0K Oct 14 21:04 .git\r\n-rw-r-----  1 www-data www-data   62 Oct 14 17:43 .gitignore\r\n-rw-r-----  1 www-data www-data  387 Oct 14 17:43 .gitlab-ci.yml\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 helper\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 img\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 js\r\n-rw-r-----  1 www-data www-data 1.3K Oct 14 17:43 Makefile\r\n-rw-r-----  1 www-data www-data  194 Oct 14 17:43 phpunit.integration.xml\r\n-rw-r-----  1 www-data www-data  187 Oct 14 17:43 phpunit.xml\r\n-rw-r-----  1 www-data www-data 7.4K Oct 14 17:43 README.md\r\ndrwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 screenshots\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 security\r\nlrwxrwxrwx  1 root     root       28 Oct 14 21:35 server.conf -> spreed-webrtc-nextcloud.conf\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 settings\r\n-rw-r--r--  1 www-data www-data  612 Oct 14 18:13 spreed-webrtc-nextcloud.conf\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 templates\r\ndrwxr-x---  5 www-data www-data 4.0K Oct 14 17:43 tests\r\n-rw-r-----  1 www-data www-data  437 Oct 14 17:43 TODO.txt\r\n-rw-r-----  1 www-data www-data  675 Oct 14 17:43 .travis.yml\r\ndrwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 user\r\n```\r\n\r\nIn this folder, I then ran:\r\n```\r\nroot@owncloud ~www/owncloud/apps/spreedme (git)-[master] # docker run --name spreedme -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /var/www/owncloud/apps/spreedme/:/srv/extra -i -t spreed/webrtc -c /srv/extra/spreed-webrtc-nextcloud.conf\r\n```\r\n\r\nWhich gives me after some time:\r\n\r\n```\r\nStaring Spreed WebRTC server ...\r\nserver 2016/10/15 07:48:11 Using '/webrtc/' base base path.\r\nserver 2016/10/15 07:48:11.243038 Enabled modules: [youtube presentation contacts screensharing]\r\nserver 2016/10/15 07:48:11 Configured extra '/var/www/owncloud/apps/spreedme/extra' is not a directory.\r\n```\r\n\r\nBut of course it is a directory:\r\n```\r\n1 root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # ll /var/www/owncloud/apps/spreedme/extra                                                                                                                        :(\r\ntotal 24K\r\ndrwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 .\r\ndrwxr-x--- 21 www-data www-data 4.0K Oct 14 21:35 ..\r\n-rw-r-----  1 www-data www-data   51 Oct 14 17:43 body.html\r\n-rw-r-----  1 www-data www-data  356 Oct 14 17:43 extra-head.html\r\n-rw-r-----  1 www-data www-data  284 Oct 14 17:43 head.html\r\ndrwxr-x---  5 www-data www-data 4.0K Oct 14 20:01 static\r\n```\r\n\r\nMaybe its a permission problem with docker? How do fix that? Is the path correct that I assumed for `pwd`?\r\n\r\nP.S.: The file and folder permissions are those recommended by [nextcloud](https://docs.nextcloud.com/server/10/admin_manual/installation/installation_wizard.html#strong-perms-label)\r\n\r\nP.P.S.: I had a similar issue when using:\r\n\r\n```\r\nroot@owncloud ~www/owncloud/apps/spreedme (git)-[master] # docker run --name spreedme -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /var/www/owncloud/apps/spreedme/extra/:/srv/extra -i -t spreed/webrtc -c /srv/extra/spreed-webrtc-nextcloud.conf\r\n```"},"comment":{"url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/comments/255843130","html_url":"https://github.com/strukturag/nextcloud-spreedme/issues/54#issuecomment-255843130","issue_url":"https://api.github.com/repos/strukturag/nextcloud-spreedme/issues/54","id":255843130,"user":{"login":"driminicus","id":5768822,"avatar_url":"https://avatars.githubusercontent.com/u/5768822?v=3","gravatar_id":"","url":"https://api.github.com/users/driminicus","html_url":"https://github.com/driminicus","followers_url":"https://api.github.com/users/driminicus/followers","following_url":"https://api.github.com/users/driminicus/following{/other_user}","gists_url":"https://api.github.com/users/driminicus/gists{/gist_id}","starred_url":"https://api.github.com/users/driminicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driminicus/subscriptions","organizations_url":"https://api.github.com/users/driminicus/orgs","repos_url":"https://api.github.com/users/driminicus/repos","events_url":"https://api.github.com/users/driminicus/events{/privacy}","received_events_url":"https://api.github.com/users/driminicus/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T19:38:12Z","updated_at":"2016-10-24T19:38:12Z","body":"I can confirm the issue, I did create an extra.d folder (owned by www-data) and the folder contains spreed-webrtc-nextcloud.conf (also owned by www-data) in the volume mapped to /var/www/nextcloud/apps/spreedme/extra"}}
{"actor":{"display_login":"driminicus"}}