8000 Cannot launch DBeaver Enterprise Edition via ddev in WSL2 (ddev dbeaver) · Issue #6654 · ddev/ddev · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot launch DBeaver Enterprise Edition via ddev in WSL2 (ddev dbeaver) #6654
Closed
@eapostol

Description

@eapostol

Preliminary checklist

Output of ddev debug test

Expand `ddev debug test` diagnostic information


======== Output file will be in /tmp/ddev-debug-test.txt ========


======== Existing project config ========
ddev installation alternate locations:
/usr/bin/ddev
/bin/ddev

These config files were loaded for project adrianinsures: [/home/administrator/projects/2024/ddev/.ddev/config.yaml]
name: adrianinsures
type: wordpress
docroot: adrianinsures/public_html
php_version: 8.2
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.23.5
additional_hostnames: []
additional_fqdns: []
database: {mariadb 10.11}
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 20
default_container_timeout: 120


======== existing project customizations ========


======== installed DDEV add-
┌────────────┬─────────┬──────────────────────┬───────────────────────────┐
│ ADD-ON     │ VERSION │ REPOSITORY           │ DATE INSTALLED            │
├────────────┼─────────┼──────────────────────┼───────────────────────────┤
│ phpmyadmin │ v0.3.9  │ ddev/ddev-phpmyadmin │ 2024-10-25T21:02:04-04:00 │
└────────────┴─────────┴──────────────────────┴───────────────────────────┘



======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /home/administrator/projects/2024/ddev
.ddev/mutagen/mutagen.yml not found


======== Creating dummy project named tryddevproject-10819 in ../tryddevproject-10819 ========
Creating a new DDEV project config in the current directory (/home/administrator/projects/2024/tryddevproject-10819)
Once completed, your configuration will be written to /home/administrator/projects/2024/tryddevproject-10819/.ddev/config.yaml

Configuring a 'php' project named 'tryddevproject-10819' with docroot 'web' at '/home/administrator/projects/2024/tryddevproject-10819/web'.
For full details use 'ddev describe'.
Configuration complete. You may now run 'ddev start'.


======== OS Information ========
Linux LENNY-LEONARD 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


======== User information ========
uid=1000(administrator) gid=1000(administrator) groups=1000(administrator),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),116(netdev),1001(docker)


======== DDEV version ========
 ITEM             VALUE
 DDEV version     v1.23.5
 architecture     amd64
 cgo_enabled      0
db               ddev/ddev-dbserver-mariadb-10.11:v1.23.5
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.23.5
 docker           27.3.1
 docker-api       1.47
 docker-compose   v2.29.7
 docker-platform  wsl2-docker-ce
 global-ddev-dir  /home/administrator/.ddev
 mutagen          0.17.2
 os               linux
 router           ddev/ddev-traefik-router:v1.23.5
 web              ddev/ddev-webserver:v1.23.5



======== proxy settings ========

 HTTP_PROXY=''
 HTTPS_PROXY=''
 http_proxy=''
 NO_PROXY=''



======== DDEV global info ========
developer-mode=false
disable-http2=false
fail-on-hook-fail=false
instrumentation-opt-in=true
instrumentation-queue-size=0
instrumentation-reporting-interval=0s
instrumentation-user=
internet-detection-timeout-ms=3000
last-started-version=v1.23.5
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=/mnt/c/Users/edwar/AppData/Local/mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=none
project-tld=ddev.site
required-docker-compose-version=v2.29.7
router=traefik
router-bind-all-interfaces=false
router-http-port=80
router-https-port=443
simple-formatting=false
table-style=default
traefik-monitor-port=10999
use-docker-compose-from-path=false
use-hardened-images=false
use-letsencrypt=false
wsl2-no-windows-hosts-mgt=false
xdebug-ide-location=

======== DOCKER provider info ========
docker client location: -rwxr-xr-x 1 root root 40937472 Sep 20 07:41 /usr/bin/docker

docker client alternate locations:
/usr/bin/docker
/bin/docker
/Docker/host/bin/docker

Docker provider: wsl2-docker-ce
docker version:
Client: Docker Engine - Community
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:41:00 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.3.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       41ca978
  Built:            Fri Sep 20 11:41:00 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.22
  GitCommit:        7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc:
  Version:          1.1.14
  GitCommit:        v1.1.14-0-g2c9f560
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

DOCKER_DEFAULT_PLATFORM=notset
Docker platform: wsl2-docker-ce
Using Docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.29.7
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 27.3.1
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:Filesystem                Size      Used Available Use% Mounted on
overlay                 250.9G      6.4G    231.7G   3% /


======== Existing docker containers ========
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

======== mkcert information ========
/usr/bin/mkcert
/bin/mkcert
/home/administrator/.local/share/mkcert
total 8
-r-------- 1 administrator administrator 2484 Oct 24 11:40 rootCA-key.pem
-rw-r--r-- 1 administrator administrator 1696 Oct 24 11:40 rootCA.pem


======== ping attempt on ddev.site ========
PING dkdkd.ddev.site (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.124 ms

--- dkdkd.ddev.site ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.124/0.124/0.124/0.000 ms

======== ddev debug rebuild ========
Rebuilding project images...
Rebuilding project tryddevproject-10819 with `/home/administrator/.ddev/bin/docker-compose -f /home/administrator/projects/2024/tryddevproject-10819/.ddev/.ddev-docker-compose-full.yaml --progress plain build web --no-cache`
#0 building with "default" instance using docker driver

#1 [web internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.37kB 0.0s done
#1 DONE 0.0s

#2 [web internal] load metadata for docker.io/ddev/ddev-webserver:v1.23.5
#2 DONE 0.0s

#3 [web internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [web 1/8] FROM docker.io/ddev/ddev-webserver:v1.23.5
#4 CACHED

#5 [web 2/8] RUN (groupadd --gid 1000 "administrator" || groupadd "administrator" || true) && (useradd  -l -m -s "/bin/bash" --gid "administrator" --comment '' --uid 1000 "administrator" || useradd  -l -m -s "/bin/bash" --gid "administr>#5 DONE 0.4s

#6 [web 3/8] RUN mkdir -p /home/administrator && chown administrator /home/administrator && chmod 600 /home/administrator/.pgpass
#6 DONE 0.5s

#7 [web 4/8] RUN mariadb-client-install.sh || true
#7 0.514 This script is not intended to run with mariadb:10.11
#7 DONE 0.5s

#8 [web 5/8] RUN export XDEBUG_MODE=off; composer self-update --stable || composer self-update --stable || true; composer self-update --2 || log-stderr.sh composer self-update --2 || true
#8 0.712 Storing "stable" as default update channel for the next self-update run.
#8 0.876 You are already using the latest available Composer version 2.8.1 (stable channel).
#8 1.207 You are already using the latest available Composer version 2.8.1 (2.x channel).
#8 DONE 1.3s

#9 [web 6/8] RUN apt-get update
#9 0.876 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#9 0.982 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#9 0.987 Get:3 https://packages.sury.org/php bookworm InRelease [7551 B]
#9 1.113 Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#9 1.113 Get:5 https://packages.sury.org/php bookworm/main amd64 Packages [244 kB]
#9 1.207 Get:6 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
#9 1.231 Get:7 http://nginx.org/packages/debian bookworm InRelease [2869 B]
#9 1.387 Get:9 http://nginx.org/packages/debian bookworm/nginx amd64 Packages [14.9 kB]
#9 1.400 Get:10 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease [129 kB]
#9 1.548 Get:8 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm InRelease [4625 B]
#9 1.654 Get:11 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg/main amd64 Packages [357 kB]
#9 1.990 Get:12 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm/main amd64 Packages [40.9 kB]
#9 2.149 Get:13 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm InRelease [3675 B]
#9 2.294 Get:15 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm InRelease [3681 B]
#9 2.329 Get:14 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm/main arm64 Packages [34.4 kB]
#9 2.442 Get:16 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm InRelease [4422 B]
#9 2.551 Get:17 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm/main amd64 Packages [4384 B]
#9 2.664 Get:18 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm/main amd64 Packages [3235 B]
#9 2.776 Get:19 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm/main amd64 Packages [7810 B]
#9 10.99 Get:20 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [2468 B]
#9 11.01 Get:21 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [190 kB]
#9 11.92 Fetched 10.1 MB in 11s (904 kB/s)
#9 11.92 Reading package lists...
#9 DONE 12.5s

#10 [web 7/8] RUN curl -I https://www.google.com
#10 0.512   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#10 0.512                                  Dload  Upload   Total   Spent    Left  Speed
#10 0.512 ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/2 200
#10 0.682 content-type: text/html; charset=ISO-8859-1
#10 0.682 content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-kBeMlrlm6Yudd_SOCJbPkA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com>#10 0.682 accept-ch: Sec-CH-Prefers-Color-Scheme
#10 0.682 p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
#10 0.682 date: Sat, 26 Oct 2024 17:58:41 GMT
#10 0.682 server: gws
#10 0.682 x-xss-protection: 0
#10 0.682 x-frame-options: SAMEORIGIN
#10 0.682 expires: Sat, 26 Oct 2024 17:58:41 GMT
#10 0.682 cache-control: private
#10 0.682 set-cookie: AEC=AVYB7cq2DOJaK_vrnl28g7eExkWACeeB-R-mgvSGES79s-MdUh-i0QokrSE; expires=Thu, 24-Apr-2025 17:58:41 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
#10 0.682 set-cookie: NID=518=aU9lMkv2L9YWlDexNhPkbL2goo7Qiu2Dj_ns0QbWuFjjdZNho05dc4i6T_Grz2LZ-7oEWpJMhqFqw1gURUvDXTprknniHjx5BHNpNOusmU0Ip_OWWUrKzDSiHOvJsUR6Mak_kcN9ku25EJaOebTgyAFWUhyceDkjfKLYx2LPikQNZQk0rqohN-DLss9znRo; expires=Sun, >#10 0.682 alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
#10 0.682
#10 0.682 ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
#10 DONE 0.7s

#11 [web 8/8] RUN chmod 777 /run/php /var/log
#11 DONE 0.6s

#12 [web] exporting to image
#12 exporting layers 0.1s done
#12 writing image sha256:333bc266e4f73b8e1d821e329ae1fd3ea9065e26776f5c4a8d7990e33b2f48ff done
#12 naming to docker.io/ddev/ddev-webserver:v1.23.5-tryddevproject-10819-built done
#12 DONE 0.2s

#13 [web] resolving provenance for metadata file
#13 DONE 0.0s
Rebuilt Docker cache for project tryddevproject-10819 in 17s
Network ddev_default created
 Container ddev-ssh-agent  Created
 Container ddev-ssh-agent  Started
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys.
Building project images...
..Project images built in 3s.
 Network ddev-tryddevproject-10819_default  Created
 Container ddev-tryddevproject-10819-db  Created
 Container ddev-tryddevproject-10819-web  Created
 Container ddev-tryddevproject-10819-db  Started
 Container ddev-tryddevproject-10819-web  Started
Waiting for containers to become ready: [web db]
Starting ddev-router if necessary...
 Container ddev-router  Created
 Container ddev-router  Started

======== Project startup ========
2024-10-26T13:59:13.266 Downloading remote config.
2024-10-26T13:59:13.549 termWidth: 80

 TIP OF THE DAY
 `ddev snapshot` is great to get a quick copy of your database. `ddev help
 snapshot`

2024-10-26T13:59:13.554 termWidth: 80
2024-10-26T13:59:13.554 termWidth: 80
Starting tryddevproject-10819...
2024-10-26T13:59:13.598 GetAvailableRouterPort(): Router is healthy and running
2024-10-26T13:59:13.599 GetAvailableRouterPort(): proposedPort 80 already bound on ddev-router, accepting it
2024-10-26T13:59:13.6 GetAvailableRouterPort(): Router is healthy and running
2024-10-26T13:59:13.601 GetAvailableRouterPort(): proposedPort 443 already bound on ddev-router, accepting it
2024-10-26T13:59:13.603 GetAvailableRouterPort(): Router is healthy and running
2024-10-26T13:59:13.604 GetAvailableRouterPort(): proposedPort 8025 already bound on ddev-router, accepting it
2024-10-26T13:59:13.605 GetAvailableRouterPort(): Router is healthy and running
2024-10-26T13:59:13.607 GetAvailableRouterPort(): proposedPort 8026 already bound on ddev-router, accepting it
2024-10-26T13:59:13.628 Pulled image for ddev/ddev-webserver:v1.23.5
2024-10-26T13:59:13.628 Pulled image for busybox:stable
2024-10-26T13:59:13.629 Pulled image for ddev/ddev-utilities
2024-10-26T13:59:13.629 Pulled image for ddev/ddev-ssh-agent:v1.23.5
2024-10-26T13:59:13.63 Pulled image for ddev/ddev-traefik-router:v1.23.5
2024-10-26T13:59:15.448 chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-10-26T13:59:16.181 done chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-10-26T13:59:16.215 host.docker.internal='172.30.160.1' because IsWSL2 and !IsDockerDesktop; received from ip -4 route show default
2024-10-26T13:59:16.232 Using automatically detected timezone: TZ=America/Toronto
2024-10-26T13:59:16.367 Pulled image for ddev/ddev-dbserver-mariadb-10.11:v1.23.5
2024-10-26T13:59:16.368 Pulled image for ddev/ddev-webserver:v1.23.5
2024-10-26T13:59:16.369 Pulled image for ddev/ddev-ssh-agent:v1.23.5
2024-10-26T13:59:16.37 Pulled image for ddev/ddev-traefik-router:v1.23.5
Building project images...
2024-10-26T13:59:16.394 Executing docker-compose -f /home/administrator/projects/2024/tryddevproject-10819/.ddev/.ddev-docker-compose-full.yaml build --progress=plain
..Project images built in 3s.
2024-10-26T13:59:19.574 Removing dangling images for the project ddev-tryddevproject-10819
2024-10-26T13:59:19.578 Executing docker-compose -f /home/administrator/projects/2024/tryddevproject-10819/.ddev/.ddev-docker-compose-full.yaml up -d
 Container ddev-tryddevproject-10819-db  Recreate
 Container ddev-tryddevproject-10819-web  Recreate
 Container ddev-tryddevproject-10819-db  Recreated
 Container ddev-tryddevproject-10819-web  Recreated
 Container ddev-tryddevproject-10819-web  Started
 Container ddev-tryddevproject-10819-db  Started
2024-10-26T13:59:32.87 VIRTUAL_HOST=tryddevproject-10819.ddev.site for web
2024-10-26T13:59:32.87 HTTP_EXPOSE=80:80,8025:8025 for web
2024-10-26T13:59:32.87 HTTPS_EXPOSE=443:80,8026:8025 for web
2024-10-26T13:59:33.368 Copied /home/administrator/projects/2024/tryddevproject-10819/.ddev/traefik:CopyIntoVolume_ksrktfykiotw into /mnt/v/traefik in 45.105031ms
2024-10-26T13:59:33.4 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-10-26T13:59:33.8 Copied Traefik certs in /home/administrator/projects/2024/tryddevproject-10819/.ddev/traefik/certs to ddev-global-cache/traefik
2024-10-26T13:59:33.801 Running /start.sh in ddev-webserver
Waiting for containers to become ready: [web db]
2024-10-26T13:59:38.485 Copied /home/administrator/.ddev/commands:CopyIntoVolume_xrkwpkwwbsmg into /mnt/v/global-commands in 37.051315ms
2024-10-26T13:59:38.515 Exec chown -R 1000 /mnt/v/global-commands stdout=, stderr=, err=<nil>
2024-10-26T13:59:39.173 Testing to see if /mnt/ddev_config is properly mounted
2024-10-26T13:59:39.334 Getting stderr output from 'log-stderr.sh --show'
Starting ddev-router if necessary...
2024-10-26T13:59:40.29 Copied /home/administrator/.ddev/traefik:CopyIntoVolume_ehzfdprruulz into /mnt/v/traefik in 34.713549ms
2024-10-26T13:59:40.323 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-10-26T13:59:40.727 Copied global Traefik config in /home/administrator/.ddev/traefik/certs to ddev-global-cache/traefik
 Container ddev-router  Running
2024-10-26T13:59:40.828 Waiting for ddev-router to become ready. docker inspect --format "{{json .State.Health }}" ddev-router
2024-10-26T13:59:41.336 ddev-router is ready
Successfully started tryddevproject-10819

Your project can be reached at https://tryddevproject-10819.ddev.site
See 'ddev describe' for alternate URLs.


======== Curl of site from inside container ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 26 Oct 2024 17:59:45 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding

Expected Behavior

After installing dbeaver enterprise edition (EE) on Windows 11, it default installs to

C:\Program Files\DBeaverEE

and should be launchable within WSL2 terminal by entering

ddev dbeaver

Actual Behavior

dbeaver enterprise edition does not launch, and the following response is returned in WSL2.

Command 'dbeaver' cannot be used, because the binary is not found at [
        /mnt/c/Program Files/dbeaver/dbeaver.exe
        /Applications/DBeaver.app
        /usr/bin/dbeaver
        /usr/bin/dbeaver-ce
        /usr/bin/dbeaver-le
        /usr/bin/dbeaver-ue
        /usr/bin/dbeaver-ee
        /var/lib/flatpak/exports/bin/io.dbeaver.DBeaverCommunity
        /snap/bin/dbeaver-ce

Steps To Reproduce

  1. Install DBeaver Enterprise Edition (licensed) into your Windows 11 OS, using the default installation directory (c:\program files\dbeaveree)
  2. In Windows 11, open WSL2.
  3. Navigate to a ddev managed project directory
  4. type in ddev dbeaver and press enter.

Anything else?

Image attempting to run dbeaver from wsl2 in win 11.

Image confirming the default installation directory for dbeaver EE.

Also explored / referenced issue #4950but that did not seem to indicate any answer to solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0