Open tomalphacred opened 1 year ago
It seems like your Mac's firewall is blocking access to the NFS server o your Mac.
Try disabling the firewall or adjusting its settings. See docs here for details: https://docs.docksal.io/troubleshooting/common-issues/#issue-15-firewall-blocking-access-to-docksal
Let me know if this does not does not help.
Hi, This was related to NFS, no clue exactly why but when I changed to "bind" it worked
fin config set DOCKSAL_VOLUMES=bind
fin project reset
bind
volume mode on Mac provides poor performance due to the underlying file system sharing approach use by Docker Desktop. You will see much better performance with NFS (when it works). Have you tried fine tuning or disabling the firewall?
Hi, I've an issue when trying to run a Docksal project. Same result for a D7 boiler plate test.
Description
can not start the project using drupal10 boiler plate. I guess there is something that prevents address 192.168.64.1 to be reached but what... ?
Steps to reproduce the issue:
Describe the results you received:
fin start (Re)creating resources... Connected vhost-proxy to "d10_default" network. Starting services... [+] Running 0/2 ⠙ Container d10_cli_1 Starting 0.1s ⠙ Container d10_db_1 Starting 0.1s Error response from daemon: error while mounting volume '/var/lib/docker/volumes/d10_project_root/_data': failed to mount local volume: mount :/Users/thomas/Projects/myproject/d10:/var/lib/docker/volumes/d10_project_root/_data, flags: 0xc00, data: addr=192.168.64.1,vers=3,nolock,noacl,nocto,actimeo=1,wsize=32768,rsize=32768: connection refused
Describe the results you expected:
Expected behavior...
Output of
fin config
:fin config output
``` --------------------- COMPOSE_PROJECT_NAME_SAFE: d10 COMPOSE_FILE: /Users/thomas/.docksal/stacks/volumes-nfs.yml /Users/thomas/.docksal/stacks/stack-default.yml /Users/thomas/Projects/myproject/d10/.docksal/docksal.yml ENV_FILE: /Users/thomas/Projects/myproject/d10/.docksal/docksal.env PROJECT_ROOT: /Users/thomas/Projects/myproject/d10 DOCROOT: web VIRTUAL_HOST: d10.docksal VIRTUAL_HOST_ALIASES: *.d10.docksal IP: 192.168.64.100 MySQL endpoint: Public URL: Docker Compose configuration --------------------- name: d10 services: cli: dns: - 192.168.64.100 - 8.8.8.8 environment: BLACKFIRE_CLIENT_ID: null BLACKFIRE_CLIENT_TOKEN: null COMPOSER_ALLOW_XDEBUG: "0" COMPOSER_DEFAULT_VERSION: null COMPOSER_DISABLE_XDEBUG_WARN: "0" DOCROOT: web DRUSH_ALLOW_XDEBUG: "0" DRUSH_OPTIONS_URI: d10.docksal GIT_USER_EMAIL: "" GIT_USER_NAME: "" HOST_GID: "20" HOST_UID: "501" MYSQL_DATABASE: default MYSQL_HOST: db MYSQL_PASSWORD: user MYSQL_ROOT_PASSWORD: root MYSQL_USER: user PHP_IDE_CONFIG: null SECRET_ACQUIA_CLI_KEY: null SECRET_ACQUIA_CLI_SECRET: null SECRET_PLATFORMSH_CLI_TOKEN: null SECRET_SSH_PRIVATE_KEY: null SECRET_TERMINUS_TOKEN: null SSH_AUTH_SOCK: /.ssh-agent/proxy-socket VIRTUAL_HOST: d10.docksal XDEBUG_CONFIG: client_host=192.168.64.1 XDEBUG_ENABLED: "0" extends: file: /Users/thomas/.docksal/stacks/services.yml service: cli hostname: cli healthcheck: interval: 10s image: docker.artifactory-dogen.group.echonet/docksal/cli:php8.1-3.2 labels: io.docksal.shell: bash io.docksal.user: docker logging: options: max-file: "10" max-size: 1m networks: default: null volumes: - type: volume source: docksal_ssh_agent target: /.ssh-agent read_only: true volume: {} - type: volume source: cli_home target: /home/docker volume: {} - type: bind source: /tmp/.docksal/d10 target: /tmp/.docksal/d10 read_only: true bind: create_host_path: true - type: volume source: project_root target: /var/www volume: nocopy: true db: dns: - 192.168.64.100 - 8.8.8.8 environment: MYSQL_ALLOW_EMPTY_PASSWORD: null MYSQL_DATABASE: default MYSQL_INITDB_SKIP_TZINFO: null MYSQL_ONETIME_PASSWORD: null MYSQL_PASSWORD: user MYSQL_RANDOM_ROOT_PASSWORD: null MYSQL_ROOT_PASSWORD: root MYSQL_USER: user extends: file: /Users/thomas/.docksal/stacks/services.yml service: mariadb hostname: db healthcheck: interval: 10s image: docker.artifactory-dogen.group.echonet/docksal/mariadb:10.6-1.3 logging: options: max-file: "10" max-size: 1m networks: default: null ports: - mode: ingress target: 3306 published: "0" protocol: tcp volumes: - type: volume source: db_data target: /var/lib/mysql volume: {} - type: volume source: project_root target: /var/www read_only: true volume: nocopy: true web: depends_on: cli: condition: service_started dns: - 192.168.64.100 - 8.8.8.8 environment: APACHE_BASIC_AUTH_PASS: null APACHE_BASIC_AUTH_USER: null APACHE_DOCUMENTROOT: /var/www/web APACHE_FCGI_HOST_PORT: cli:9000 extends: file: /Users/thomas/.docksal/stacks/services.yml service: apache hostname: web healthcheck: interval: 10s image: docker.artifactory-dogen.group.echonet/docksal/apache:2.4-2.5 labels: io.docksal.cert-name: none io.docksal.permanent: "false" io.docksal.project-root: /Users/thomas/Projects/myproject/d10 io.docksal.virtual-host: d10.docksal,*.d10.docksal,d10.docksal.* logging: options: max-file: "10" max-size: 1m networks: default: null volumes: - type: volume source: project_root target: /var/www read_only: true volume: nocopy: true networks: default: name: d10_default volumes: cli_home: name: d10_cli_home db_data: name: d10_db_data docksal_ssh_agent: name: docksal_ssh_agent external: true project_root: name: d10_project_root driver: local driver_opts: device: :/Users/thomas/Projects/myproject/d10 o: addr=192.168.64.1,vers=3,nolock,noacl,nocto,noatime,nodiratime,actimeo=1,wsize=32768,rsize=32768 type: nfs ```Output of
fin sysinfo
:fin sysinfo output
``` ███ DOCKSAL Docksal version: v1.18.2 fin version: v1.113.2 ███ OS Darwin macOS 13.3.1 Darwin bruwxn252739 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64 ███ ENVIRONMENT MODE : Docker Desktop DOCKER_HOST : ███ NFS DOCKSAL_NFS_PATH : /Users nfsd service is enabled nfsd is running (pid 407, 8 threads) NFS EXPORTS ---------- #