bludesign / FaxServer

Send and Receive Faxes Using The Twilio Programmable Fax API.
MIT License
108 stars 48 forks source link

docker-compose up not working #17

Open dgnorton opened 5 years ago

dgnorton commented 5 years ago

Repro steps

Result

~/FaxServer# docker-compose up
Creating network "faxserver_default" with the default driver
Creating faxserver_vapor_1 ... done
Creating faxserver_mongo_1 ... done
Attaching to faxserver_vapor_1, faxserver_mongo_1
mongo_1  | /bin/bash: /usr/local/bin/docker-entrypoint.sh: Permission denied
vapor_1  | ❎ DEBUG MainApplication.swift.init(testing:):27 - Starting Server
vapor_1  | ❎ DEBUG MongoProvider.swift.init():31 - Starting Mongo Provider
vapor_1  | ⛔️ ERROR MongoProvider.swift.init():49 - Mongo Provider Start Error: cannotConnect
faxserver_mongo_1 exited with code 126
faxserver_vapor_1 exited with code 1
ColinGCox commented 5 years ago

I was able to work around this by running docker-compose up as root sudo docker-compose up

mukeshwani commented 5 years ago

My environment , Windows 10 Azure VM, Docker for Windows. Error I get when running docker-compose up reating network "faxserver_default" with the default driver Creating faxserver_vapor_1 ... done Creating faxserver_mongo_1 ... done Attaching to faxserver_vapor_1, faxserver_mongo_1 vapor_1 | ❎ DEBUG MainApplication.swift.init(testing:):27 - Starting Server vapor_1 | ❎ DEBUG MongoProvider.swift.init():31 - Starting Mongo Provider vapor_1 | ⛔️ ERROR MongoProvider.swift.init():49 - Mongo Provider Start Error: cannotConnect mongo_1 | 2019-07-19T21:59:15.639+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=19bdb47e6c3a mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] db version v4.0.10 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] git version: c389e7f69f637f7a1ac3cc9fae843b635f20b766 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] allocator: tcmalloc mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] modules: none mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] build environment: mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] distmod: ubuntu1604 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] distarch: x86_64 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] target_arch: x86_64 mongo_1 | 2019-07-19T21:59:15.644+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true } } mongo_1 | 2019-07-19T21:59:15.654+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress), mongo_1 | 2019-07-19T21:59:16.621+0000 E STORAGE [initandlisten] WiredTiger error (17) [1563573556:621740][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563573556:621740][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists mongo_1 | 2019-07-19T21:59:17.710+0000 I STORAGE [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.348 mongo_1 | 2019-07-19T21:59:17.714+0000 E STORAGE [initandlisten] WiredTiger error (1) [1563573557:714362][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563573557:714362][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted mongo_1 | 2019-07-19T21:59:17.755+0000 E STORAGE [initandlisten] WiredTiger error (17) [1563573557:755883][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563573557:755883][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists mongo_1 | 2019-07-19T21:59:17.795+0000 I STORAGE [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.349 mongo_1 | 2019-07-19T21:59:17.798+0000 E STORAGE [initandlisten] WiredTiger error (1) [1563573557:798521][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563573557:798521][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted mongo_1 | 2019-07-19T21:59:17.827+0000 E STORAGE [initandlisten] WiredTiger error (17) [1563573557:827439][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1563573557:827439][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: File exists mongo_1 | 2019-07-19T21:59:17.855+0000 I STORAGE [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.350 mongo_1 | 2019-07-19T21:59:17.859+0000 E STORAGE [initandlisten] WiredTiger error (1) [1563573557:859902][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1563573557:859902][1:0x7fe9eafa6a80], connection: posix_open_file, 715: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted mongo_1 | 2019-07-19T21:59:17.866+0000 W STORAGE [initandlisten] Failed to start up WiredTiger under any compatibility version. mongo_1 | 2019-07-19T21:59:17.866+0000 F STORAGE [initandlisten] Reason: 1: Operation not permitted mongo_1 | 2019-07-19T21:59:17.866+0000 F - [initandlisten] Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 704 mongo_1 | 2019-07-19T21:59:17.866+0000 F - [initandlisten] mongo_1 | mongo_1 | ***aborting after fassert() failure mongo_1 |