epub-press icon indicating copy to clipboard operation
epub-press copied to clipboard

Add a troubleshooting file

Open haroldtreen opened this issue 7 years ago • 1 comments

Current Behavior

There's some issues that may arise during setup that are separate from EpubPress.

Examples:

  • Some versions of docker-compose not understanding version: 3.
  • docker-compose needing to be run with sudo in linux.
  • The chrome extension failing because of a misconfigured url.

Expected Behavior

There should exist some form of TROUBLESHOOTING.md to document the fixes to these issues.

haroldtreen avatar Dec 05 '17 04:12 haroldtreen

Note for troubleshooting file

docker-compose up may return error: Creating network "epub-press_default" with the default driver ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

solution:

diff --git a/docker-compose.yaml b/docker-compose.yaml
index ffe87a4..9639fc3 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -10,6 +10,7 @@ services:
         - DB_HOST=postgres
         - DB_USERNAME=postgres
         - DB_PASSWORD=password
+    network_mode: "bridge"
   postgres:
     image: library/postgres
     ports:
@@ -18,4 +19,5 @@ services:
         - POSTGRES_DB=epubpress_development
         - POSTGRES_USER=postgres
         - POSTGRES_PASSWORD=password
-    
\ No newline at end of file
+    network_mode: "bridge"

kai11 avatar Nov 25 '19 14:11 kai11