{"action":"created","issue":{"url":"https://api.github.com/repos/makkus/docker-seafile/issues/5","labels_url":"https://api.github.com/repos/makkus/docker-seafile/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/makkus/docker-seafile/issues/5/comments","events_url":"https://api.github.com/repos/makkus/docker-seafile/issues/5/events","html_url":"https://github.com/makkus/docker-seafile/issues/5","id":104673946,"number":5,"title":"Getting error on when running ./first-time-setup.sh","user":{"login":"rhblind","id":1574295,"avatar_url":"https://avatars.githubusercontent.com/u/1574295?v=3","gravatar_id":"","url":"https://api.github.com/users/rhblind","html_url":"https://github.com/rhblind","followers_url":"https://api.github.com/users/rhblind/followers","following_url":"https://api.github.com/users/rhblind/following{/other_user}","gists_url":"https://api.github.com/users/rhblind/gists{/gist_id}","starred_url":"https://api.github.com/users/rhblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhblind/subscriptions","organizations_url":"https://api.github.com/users/rhblind/orgs","repos_url":"https://api.github.com/users/rhblind/repos","events_url":"https://api.github.com/users/rhblind/events{/privacy}","received_events_url":"https://api.github.com/users/rhblind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T11:48:07Z","updated_at":"2015-09-04T10:01:53Z","closed_at":null,"body":"Hi,\r\n\r\nI'm receiving an error when running the `./first-time-setup.sh`.\r\nHeres a tail from the stdout.\r\n\r\n``` none\r\nSetting up nginx (1.8.0-1+trusty1) ...\r\nProcessing triggers for libc-bin (2.19-0ubuntu6.5) ...\r\nProcessing triggers for sgml-base (1.26+nmu4ubuntu1) ...\r\n ---> e8ce3957059f\r\nRemoving intermediate container ca0fd9b5fb3a\r\nStep 2 : ADD nginx.conf /etc/nginx/nginx.conf\r\n ---> 0e568d94422e\r\nRemoving intermediate container 268da3e9ec9b\r\nStep 3 : ADD certs /etc/nginx/certs\r\n ---> 72d8ab588b80\r\nRemoving intermediate container 686188ee3741\r\nStep 4 : ADD sites-enabled /etc/nginx/sites-enabled\r\n ---> 8d3325cb6790\r\nRemoving intermediate container 5a2b2a75fa8e\r\nStep 5 : WORKDIR /etc/nginx\r\n ---> Running in a547c004dcec\r\n ---> 1f0c639a0535\r\nRemoving intermediate container a547c004dcec\r\nStep 6 : ADD run.sh /opt/run.sh\r\n ---> 6744fdd6e7d8\r\nRemoving intermediate container bdf59717df33\r\nStep 7 : RUN chmod 755 /opt/run.sh\r\n ---> Running in 9da63e576d5a\r\n ---> 77aea42e8372\r\nRemoving intermediate container 9da63e576d5a\r\nStep 8 : CMD /opt/run.sh\r\n ---> Running in a1a71b3e5e4d\r\n ---> db3a3f16a5fa\r\nRemoving intermediate container a1a71b3e5e4d\r\nStep 9 : EXPOSE 80\r\n ---> Running in 1e1a25912d00\r\n ---> 925d30a31717\r\nRemoving intermediate container 1e1a25912d00\r\nStep 10 : EXPOSE 443\r\n ---> Running in 3c0c4ddcfcc6\r\n ---> 168749fd6ab6\r\nRemoving intermediate container 3c0c4ddcfcc6\r\nStep 11 : RUN apt-get clean && rm -rf /var/lib/apt/lists/*\r\n ---> Running in b9bef667dc93\r\n ---> de33baddcba0\r\nRemoving intermediate container b9bef667dc93\r\nSuccessfully built de33baddcba0\r\nStarting up containers...\r\nCreating dockerseafile_data_1...\r\nCannot start container d48e86e168511eec363682c1bf1bedfb163798e3de0a03bfb2aa9811317b4fb9: [8] System error: not a directory\r\nNo seahub_settings_template.py, doing nothing.\r\nChanging owners for volumes...\r\nError response from daemon: Container dockerseafile_data_1 is not running\r\nStarting setup process...\r\nError response from daemon: no such id: dockerseafile_seafile_1\r\n```\r\n\r\nCould I get a pointer in the right direction?\r\n\r\nGreat work, btw =)\r\n\r\nEdit: I'm a complete Docker newbie so please forgive me if I'm just stupid, haha =)"},"comment":{"url":"https://api.github.com/repos/makkus/docker-seafile/issues/comments/137694428","html_url":"https://github.com/makkus/docker-seafile/issues/5#issuecomment-137694428","issue_url":"https://api.github.com/repos/makkus/docker-seafile/issues/5","id":137694428,"user":{"login":"rhblind","id":1574295,"avatar_url":"https://avatars.githubusercontent.com/u/1574295?v=3","gravatar_id":"","url":"https://api.github.com/users/rhblind","html_url":"https://github.com/rhblind","followers_url":"https://api.github.com/users/rhblind/followers","following_url":"https://api.github.com/users/rhblind/following{/other_user}","gists_url":"https://api.github.com/users/rhblind/gists{/gist_id}","starred_url":"https://api.github.com/users/rhblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhblind/subscriptions","organizations_url":"https://api.github.com/users/rhblind/orgs","repos_url":"https://api.github.com/users/rhblind/repos","events_url":"https://api.github.com/users/rhblind/events{/privacy}","received_events_url":"https://api.github.com/users/rhblind/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T10:01:53Z","updated_at":"2015-09-04T10:01:53Z","body":"Hi again.\r\n\r\nI was trying running this on a Ubuntu 15.04 Virtualbox instance, but I'm getting other errors.\r\n\r\nHere's the full output from my terminal.\r\n\r\n```\r\nrolf@titan-ubuntu:~/Documents$ git clone https://github.com/makkus/docker-seafile.git\r\nCloning into 'docker-seafile'...\r\nremote: Counting objects: 281, done.\r\nremote: Total 281 (delta 0), reused 0 (delta 0), pack-reused 281\r\nReceiving objects: 100% (281/281), 56.43 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (153/153), done.\r\nChecking connectivity... done.\r\nrolf@titan-ubuntu:~/Documents$ cat /etc/hosts\r\n127.0.0.1\tlocalhost\r\n127.0.0.1\tlocalhost.home\r\n27.0.1.1\ttitan-ubuntu\r\n\r\n# The following lines are desirable for IPv6 capable hosts\r\n::1     ip6-localhost ip6-loopback\r\nfe00::0 ip6-localnet\r\nff00::0 ip6-mcastprefix\r\nff02::1 ip6-allnodes\r\nff02::2 ip6-allrouters\r\nrolf@titan-ubuntu:~/Documents$ cd docker-seafile/\r\nrolf@titan-ubuntu:~/Documents/docker-seafile$ sudo ./first-time-setup.sh \r\n[sudo] password for rolf: \r\nNo docker-compose.yml file, copying and using example...\r\nStopping all potentially running containers...\r\nclient and server don't have same version (client : 1.19, server: 1.17)\r\nRemoving all potentially existing containers and volumes...\r\nclient and server don't have same version (client : 1.19, server: 1.17)\r\nUsing nginx configuration.\r\nChecking certificate in nginx/certs...\r\nNo certificate nginx/certs/cacert.pem, creating a self-signed one...\r\nGenerating RSA private key, 2048 bit long modulus\r\n.............................+++\r\n..........+++\r\ne is 65537 (0x10001)\r\nYou are about to be asked to enter information that will be incorporated\r\ninto your certificate request.\r\nWhat you are about to enter is what is called a Distinguished Name or a DN.\r\nThere are quite a few fields but you can leave some blank\r\nFor some fields there will be a default value,\r\nIf you enter '.', the field will be left blank.\r\n-----\r\nCountry Name (2 letter code) [AU]:NO\r\nState or Province Name (full name) [Some-State]:Oslo\r\nLocality Name (eg, city) []:Oslo\r\nOrganization Name (eg, company) [Internet Widgits Pty Ltd]:\r\nOrganizational Unit Name (eg, section) []:\r\nCommon Name (e.g. server FQDN or YOUR name) []:localhost.home\r\nEmail Address []:\r\nCertificate created and put into nginx/certs\r\n(Re-)Building images\r\nBuilding data...\r\nclient and server don't have same version (client : 1.19, server: 1.17)\r\nStarting up containers...\r\nclient and server don't have same version (client : 1.19, server: 1.17)\r\n\r\nNo seahub_settings_template.py, doing nothing.\r\nChanging owners for volumes...\r\nFATA[0000] Error response from daemon: No such container: dockerseafile_data_1 \r\nStarting setup process...\r\nFATA[0000] Error response from daemon: No such container: dockerseafile_seafile_1 \r\nrolf@titan-ubuntu:~/Documents/docker-seafile$ \r\n```\r\n\r\nIs there any other steps I must do before running the `first-time-setup.sh` script?\r\n"}}