{"action":"created","issue":{"url":"https://api.github.com/repos/Epse/EpPos/issues/68","repository_url":"https://api.github.com/repos/Epse/EpPos","labels_url":"https://api.github.com/repos/Epse/EpPos/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/Epse/EpPos/issues/68/comments","events_url":"https://api.github.com/repos/Epse/EpPos/issues/68/events","html_url":"https://github.com/Epse/EpPos/issues/68","id":368253782,"node_id":"MDU6SXNzdWUzNjgyNTM3ODI=","number":68,"title":"docker-compose up -d --build is failing","user":{"login":"matifayaz","id":7438507,"node_id":"MDQ6VXNlcjc0Mzg1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7438507?v=4","gravatar_id":"","url":"https://api.github.com/users/matifayaz","html_url":"https://github.com/matifayaz","followers_url":"https://api.github.com/users/matifayaz/followers","following_url":"https://api.github.com/users/matifayaz/following{/other_user}","gists_url":"https://api.github.com/users/matifayaz/gists{/gist_id}","starred_url":"https://api.github.com/users/matifayaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matifayaz/subscriptions","organizations_url":"https://api.github.com/users/matifayaz/orgs","repos_url":"https://api.github.com/users/matifayaz/repos","events_url":"https://api.github.com/users/matifayaz/events{/privacy}","received_events_url":"https://api.github.com/users/matifayaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-09T14:56:20Z","updated_at":"2018-10-11T08:39:56Z","closed_at":"2018-10-11T08:39:56Z","author_association":"NONE","body":"I've Installed docker and docker-compose, downloaded **EpPos** and navigated into the directory. Now when I run `docker-compose up -d --build`, it fails giving the following messages and errors:\r\n\r\nBuilding web\r\nStep 1/3 : FROM python:3.5-onbuild\r\n# Executing 3 build triggers...\r\nStep 1/1 : COPY requirements.txt /usr/src/app/\r\n ---> Using cache\r\nStep 1/1 : RUN pip install --no-cache-dir -r requirements.txt\r\n ---> Using cache\r\nStep 1/1 : COPY . /usr/src/app\r\n ---> Using cache\r\n ---> 2f0952866368\r\nStep 2/3 : WORKDIR /usr/src/app\r\n ---> Using cache\r\n ---> 6887784cd6b3\r\nStep 3/3 : RUN python manage.py migrate\r\n ---> Running in 2b5f4d83629e\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 213, in ensure_connection\r\n    self.connect()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 189, in connect\r\n    self.connection = self.get_new_connection(conn_params)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py\", line 198, in get_new_connection\r\n    conn = Database.connect(**conn_params)\r\nsqlite3.OperationalError: unable to open database file\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 363, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 355, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 283, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 330, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/commands/migrate.py\", line 83, in handle\r\n    executor = MigrationExecutor(connection, self.migration_progress_callback)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py\", line 20, in __init__\r\n    self.loader = MigrationLoader(self.connection)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/loader.py\", line 52, in __init__\r\n    self.build_graph()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/loader.py\", line 209, in build_graph\r\n    self.applied_migrations = recorder.applied_migrations()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/recorder.py\", line 65, in applied_migrations\r\n    self.ensure_schema()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/recorder.py\", line 52, in ensure_schema\r\n    if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 254, in cursor\r\n    return self._cursor()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 229, in _cursor\r\n    self.ensure_connection()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 213, in ensure_connection\r\n    self.connect()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/utils.py\", line 94, in __exit__\r\n    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/utils/six.py\", line 685, in reraise\r\n    raise value.with_traceback(tb)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 213, in ensure_connection\r\n    self.connect()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/base.py\", line 189, in connect\r\n    self.connection = self.get_new_connection(conn_params)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py\", line 198, in get_new_connection\r\n    conn = Database.connect(**conn_params)\r\ndjango.db.utils.OperationalError: unable to open database file\r\nERROR: Service 'web' failed to build: The command '/bin/sh -c python manage.py migrate' returned a non-zero code: 1\r\n![screenshot from 2018-10-09 19 55 10](https://user-images.githubusercontent.com/7438507/46678082-4e8fa000-cbfd-11e8-830c-bc82679cbace.png)\r\n![screenshot from 2018-10-09 19 54 08](https://user-images.githubusercontent.com/7438507/46678083-4f283680-cbfd-11e8-9db7-875d0e71acdc.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Epse/EpPos/issues/comments/428870692","html_url":"https://github.com/Epse/EpPos/issues/68#issuecomment-428870692","issue_url":"https://api.github.com/repos/Epse/EpPos/issues/68","id":428870692,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg3MDY5Mg==","user":{"login":"Epse","id":10013355,"node_id":"MDQ6VXNlcjEwMDEzMzU1","avatar_url":"https://avatars1.githubusercontent.com/u/10013355?v=4","gravatar_id":"","url":"https://api.github.com/users/Epse","html_url":"https://github.com/Epse","followers_url":"https://api.github.com/users/Epse/followers","following_url":"https://api.github.com/users/Epse/following{/other_user}","gists_url":"https://api.github.com/users/Epse/gists{/gist_id}","starred_url":"https://api.github.com/users/Epse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Epse/subscriptions","organizations_url":"https://api.github.com/users/Epse/orgs","repos_url":"https://api.github.com/users/Epse/repos","events_url":"https://api.github.com/users/Epse/events{/privacy}","received_events_url":"https://api.github.com/users/Epse/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T08:39:56Z","updated_at":"2018-10-11T08:39:56Z","author_association":"OWNER","body":"Alright, then I'm closing this! Happy to help!"}}
{"actor":{"display_login":"Epse"}}