broadinstitute / wdl-ide

Rich IDE support for Workflow Description Language
BSD 3-Clause "New" or "Revised" License
42 stars 9 forks source link

Docker-Compose fails when running on Windows WSL2 #18

Open dformoso opened 3 years ago

dformoso commented 3 years ago

I'm using Windows 10, WSL2, and running a clean git clone of this project in a new WSL2 Ubuntu instance.

After executing docker-compose pull && docker-compose up, and going to localhost:3000 and attempting to create a new file in Theia, I get the logs below. I've tried editing the docker-compose.yaml to use my WSL2 uid/gid (1000:1000), and creating all the volumes (db, docker-*, executions, google-nocred, and home) and chown-ing to theia's user 1001:1001, and still no go.

I'll keep having a go, but I'd appreciate it if you have some notes on this.

cromwell_1 | 2021-09-20 12:12:43,654 INFO - Successfully released change log lock cromwell_1 | 2021-09-20 12:12:43,773 WARN - Unrecognized configuration key(s) for PAPIv2: default-runtime-attributes.maxRetries cromwell_1 | 2021-09-20 12:12:43,943 INFO - Slf4jLogger started cromwell_1 | 2021-09-20 12:12:44,044 cromwell-system-akka.dispatchers.engine-dispatcher-5 INFO - Workflow heartbeat configuration: cromwell_1 | { cromwell_1 | "cromwellId" : "cromid-9533e6d", cromwell_1 | "heartbeatInterval" : "2 minutes", cromwell_1 | "ttl" : "10 minutes", cromwell_1 | "failureShutdownDuration" : "5 minutes", cromwell_1 | "writeBatchSize" : 10000, cromwell_1 | "writeThreshold" : 10000 cromwell_1 | } cromwell_1 | 2021-09-20 12:12:44,076 cromwell-system-akka.dispatchers.service-dispatcher-10 INFO - Metadata summary refreshing every 1 second. cromwell_1 | 2021-09-20 12:12:44,085 cromwell-system-akka.dispatchers.engine-dispatcher-26 INFO - JobStoreWriterActor configured to flush with batch size 1000 and process rate 1 second. cromwell_1 | 2021-09-20 12:12:44,086 cromwell-system-akka.actor.default-dispatcher-23 INFO - KvWriteActor configured to flush with batch size 200 and process rate 5 seconds. cromwell_1 | 2021-09-20 12:12:44,086 cromwell-system-akka.dispatchers.service-dispatcher-7 INFO - WriteMetadataActor configured to flush with batch size 200 and process rate 5 seconds. cromwell_1 | 2021-09-20 12:12:44,094 cromwell-system-akka.dispatchers.engine-dispatcher-34 INFO - CallCacheWriteActor configured to flush with batch size 100 and process rate 3 seconds. cromwell_1 | 2021-09-20 12:12:44,094 WARN - 'docker.hash-lookup.gcr-api-queries-per-100-seconds' is being deprecated, use 'docker.hash-lookup.gcr.throttle' instead (see reference.conf) cromwell_1 | 2021-09-20 12:12:44,270 cromwell-system-akka.dispatchers.engine-dispatcher-34 INFO - JobExecutionTokenDispenser - Distribution rate: 50 per 1 seconds. cromwell_1 | 2021-09-20 12:12:44,288 cromwell-system-akka.dispatchers.backend-dispatcher-38 INFO - PAPI request worker batch interval is 666 milliseconds cromwell_1 | 2021-09-20 12:12:44,289 cromwell-system-akka.dispatchers.backend-dispatcher-36 INFO - PAPI request worker batch interval is 666 milliseconds cromwell_1 | 2021-09-20 12:12:44,289 cromwell-system-akka.dispatchers.backend-dispatcher-39 INFO - PAPI request worker batch interval is 666 milliseconds cromwell_1 | 2021-09-20 12:12:44,291 cromwell-system-akka.dispatchers.backend-dispatcher-37 INFO - Running with 3 PAPI request workers cromwell_1 | 2021-09-20 12:12:44,706 cromwell-system-akka.dispatchers.engine-dispatcher-5 INFO - Cromwell 47-b36d920 service started on 0.0.0.0:8000... cromwell_1 | 2021-09-20 12:12:49,284 cromwell-system-akka.dispatchers.engine-dispatcher-96 INFO - Not triggering log of token queue status. Effective log interval = None theia_1 | root ERROR Faild to initialize global state path: Error: EACCES: permission denied, mkdir '/home/theia/.theia/plugin-storage' theia_1 | root INFO Using Git [2.22.0] from the PATH. (/usr/bin/git) theia_1 | root INFO Detected keyboard layout from browser API: US (PC) theia_1 | root WARN Collided keybinding is ignored; {"command":"monaco.editor.action.toggleTabFocusMode","keybinding":"ctrl+m"} collided with {"command":"core.toggleMaximized","keybinding":"ctrl+m"} theia_1 | root WARN Could not register keybinding: theia_1 | {"command":"monaco.editor.action.toggleTabFocusMode","keybinding":"ctrl+m"} theia_1 | Error: "ctrl+m" is in collision with something else [scope:0] theia_1 | root WARN Collided keybinding is ignored; {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"} collided with {"command":"terminal:clear","keybinding":"ctrlcmd+k","context":"terminalActive"} theia_1 | root WARN Could not register keybinding: theia_1 | {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"} theia_1 | Error: "ctrl+k" is in collision with something else [scope:0] theia_1 | root INFO [nsfw-watcher: 46] Started watching: /home/theia/.theia theia_1 | root INFO [nsfw-watcher: 46] Started watching: /home/theia/workspace theia_1 | root INFO [nsfw-watcher: 46] Started watching: /home/theia/workspace theia_1 | root WARN e.onStart is slow, took: 267.89999999990687 ms theia_1 | terminal ERROR Couldn't attach - can't find terminal with id: 0 theia_1 | terminal ERROR Error attaching to terminal id 0, the terminal is most likely gone. Starting up a new terminal instead. theia_1 | root ERROR Couldn't resize terminal -1, because it doesn't exist. theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e] Sync of 3 plugins took: 127.8000000002794 ms theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e][vscode.docker]: Loaded contributions. theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e][broadinstitute.wdl-devtools]: Loaded contributions. theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e][broadinstitute.wdl]: Loaded contributions. theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e] Load contributions of 3 plugins took: 7.400000000372529 ms theia_1 | root ERROR Couldn't resize terminal -1, because it doesn't exist. theia_1 | root ERROR Request getHostLogPath failed with error: EACCES: permission denied, mkdir '/home/theia/.theia/logs' Error: EACCES: permission denied, mkdir '/home/theia/.theia/logs' theia_1 | root ERROR Request getHostStoragePath failed with error: EACCES: permission denied, mkdir '/home/theia/.theia/workspace-storage' Error: EACCES: permission denied, mkdir '/home/theia/.theia/workspace-storage' theia_1 | root ERROR Failed to load plugins: Error: Request 'getHostLogPath' failed theia_1 | at Proxy. (http://localhost:3000/bundle.js:14:738212) theia_1 | at e. (http://localhost:3000/bundle.js:14:601008) theia_1 | at http://localhost:3000/bundle.js:14:594274 theia_1 | at Object.next (http://localhost:3000/bundle.js:14:594379) theia_1 | at http://localhost:3000/bundle.js:14:593291 theia_1 | at new Promise () theia_1 | at s (http://localhost:3000/bundle.js:14:593065) theia_1 | at e.startPlugins (http://localhost:3000/bundle.js:14:600786) theia_1 | at e. (http://localhost:3000/bundle.js:14:598359) theia_1 | at http://localhost:3000/bundle.js:14:594274 theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e] Sync of 0 plugins took: 40.200000000186265 ms theia_1 | root INFO [a14c370b-d027-4588-b64b-f8b64fe0368e] Load contributions of 0 plugins took: 0 ms theia_1 | root ERROR Request getHostLogPath failed with error: EACCES: permission denied, mkdir '/home/theia/.theia/logs' Error: EACCES: permission denied, mkdir '/home/theia/.theia/logs' theia_1 | root ERROR Request getHostStoragePath failed with error: EACCES: permission denied, mkdir '/home/theia/.theia/workspace-storage' Error: EACCES: permission denied, mkdir '/home/theia/.theia/workspace-storage' theia_1 | root ERROR Failed to load plugins: Error: Request 'getHostLogPath' failed theia_1 | at Proxy. (http://localhost:3000/bundle.js:14:738212) theia_1 | at e. (http://localhost:3000/bundle.js:14:601008) theia_1 | at http://localhost:3000/bundle.js:14:594274 theia_1 | at Object.next (http://localhost:3000/bundle.js:14:594379) theia_1 | at http://localhost:3000/bundle.js:14:593291 theia_1 | at new Promise () theia_1 | at s (http://localhost:3000/bundle.js:14:593065) theia_1 | at e.startPlugins (http://localhost:3000/bundle.js:14:600786) theia_1 | at e. (http://localhost:3000/bundle.js:14:598359) theia_1 | at http://localhost:3000/bundle.js:14:594274 theia_1 | root INFO [hosted-plugin: 80] PLUGIN_HOST(80) starting instance