Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 Errors, possible messed-up config #1782

Open
hamletta opened this issue Jun 27, 2023 · 0 comments
Open

504 Errors, possible messed-up config #1782

hamletta opened this issue Jun 27, 2023 · 0 comments

Comments

@hamletta
Copy link

hamletta commented Jun 27, 2023

Hey, y'all —

I've had my MacBook Intel and Docksal for over 4 years. Plenty of updates, and I think I've missed some updates in my config settings, specifically the volumes-nfs.yml.


BUG REPORT INFORMATION

Description

All my Docksal locals have gotten a bit slow, but one in particular can't even load a simple node page without going to a 504 timeout. And it's the project where I'm on deadline, natch.

I've tried updating Docker, restarting the machine, fin project reset — the works.

I saw the earlier discussions about the NFS issues wit the newest version of Ventura, and I think that might have something to do with it, but I'm not sure what I need to do to fix the config.

Output of fin config:

fin config output
---------------------
COMPOSE_PROJECT_NAME_SAFE: dol_d8
COMPOSE_FILE:
/Users/rebeccaluxford/.docksal/stacks/volumes-bind.yml
/Users/rebeccaluxford/Projects/dol_d8/.docksal/docksal.yml
/Users/rebeccaluxford/.docksal/stacks/overrides-dd-bind.yml
ENV_FILE:
/Users/rebeccaluxford/Projects/dol_d8/.docksal/docksal.env
/Users/rebeccaluxford/Projects/dol_d8/.docksal/docksal-local.env

PROJECT_ROOT: /Users/rebeccaluxford/Projects/dol_d8
DOCROOT: web
VIRTUAL_HOST: local-ilab-d8.dol.docksal.site
VIRTUAL_HOST_ALIASES: *.local-ilab-d8.dol.docksal.site
IP: 192.168.64.100

MySQL endpoint: 192.168.64.100:32776
Public URL:

Docker Compose configuration
---------------------
name: dol_d8
services:
  cli:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 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"
      CRON_DEFAULT: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      DOCKSAL_DNS_DOMAIN: docksal.site
      DOCKSAL_NO_DNS_RESOLVER: "1"
      DOCROOT: web
      DRUSH_ALLOW_XDEBUG: "0"
      DRUSH_OPTIONS_URI: local-ilab-d8.dol.docksal.site
      GIT_USER_EMAIL: luxford_rebecca@bah.com
      GIT_USER_NAME: Rebecca Luxford
      HOST_GID: "20"
      HOST_UID: "501"
      K8S_NAMESPACE: local
      MYSQL_DATABASE: default
      MYSQL_HOST: db
      MYSQL_PASSWORD: user
      MYSQL_PORT_MAPPING: 0:3306
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: user
      NGINX_SERVER_ROOT: /var/www/web
      NGINX_VHOST_PRESET: drupal
      PHP_IDE_CONFIG: null
      PROJECT_ROOT: /var/www
      REDIRECT_SIMPLESAMLPHP_CONFIG_DIR: /var/www/saml/config
      REDIS_HOST: redis
      REDIS_KEY: redis
      REDIS_PORT: "6379"
      SALT_DEFAULT: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      SAML_AUTH_ADMINPASSWORD: SamlDocksalAuth%$$21
      SAML_BASEURLPATH: https://local-d8.dol.docksal.site/simplesaml/
      SAML_CERTDIR: /var/www/saml/certs
      SAML_METADATADIR: /var/www/saml/metadata
      SAML_SECRETSALT: HLNQyYP/41O/EPgMf4oIKknbwlgksNVoX9lQoPbJWzY=
      SECRET_ACQUIA_CLI_KEY: null
      SECRET_ACQUIA_CLI_SECRET: null
      SECRET_PLATFORMSH_CLI_TOKEN: null
      SECRET_SSH_PRIVATE_KEY: null
      SECRET_TERMINUS_TOKEN: null
      SIMPLESAMLPHP_CONFIG_DIR: /var/www/saml/config
      SOLR_DEFAULT_CONFIG_SET: search_api_solr_8.x-3.0
      SOLR_HEAP: 1024m
      SSH_AUTH_SOCK: /.ssh-agent/proxy-socket
      VIRTUAL_HOST: local-ilab-d8.dol.docksal.site
      XDEBUG_CONFIG: client_host=192.168.64.1
      XDEBUG_ENABLED: "0"
      XDEBUG_MODE: develop,debug,trace
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: cli
    hostname: cli
    healthcheck:
      interval: 10s
    image: docksal/cli:php8.1
    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/dol_d8
      target: /tmp/.docksal/dol_d8
      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
    - 192.168.64.100
    - 8.8.8.8
    environment:
      CRON_DEFAULT: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      DOCKSAL_DNS_DOMAIN: docksal.site
      DOCKSAL_NO_DNS_RESOLVER: "1"
      DOCROOT: web
      K8S_NAMESPACE: local
      MYSQL_DATABASE: default
      MYSQL_HOST: db
      MYSQL_PASSWORD: user
      MYSQL_PORT_MAPPING: 0:3306
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: user
      NGINX_SERVER_ROOT: /var/www/web
      NGINX_VHOST_PRESET: drupal
      PROJECT_ROOT: /var/www
      REDIRECT_SIMPLESAMLPHP_CONFIG_DIR: /var/www/saml/config
      REDIS_HOST: redis
      REDIS_KEY: redis
      REDIS_PORT: "6379"
      SALT_DEFAULT: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      SAML_AUTH_ADMINPASSWORD: SamlDocksalAuth%$$21
      SAML_BASEURLPATH: https://local-d8.dol.docksal.site/simplesaml/
      SAML_CERTDIR: /var/www/saml/certs
      SAML_METADATADIR: /var/www/saml/metadata
      SAML_SECRETSALT: HLNQyYP/41O/EPgMf4oIKknbwlgksNVoX9lQoPbJWzY=
      SIMPLESAMLPHP_CONFIG_DIR: /var/www/saml/config
      SOLR_DEFAULT_CONFIG_SET: search_api_solr_8.x-3.0
      SOLR_HEAP: 1024m
      VIRTUAL_HOST: local-ilab-d8.dol.docksal.site
      XDEBUG_ENABLED: "0"
      XDEBUG_MODE: develop,debug,trace
    hostname: db
    image: docksal/db:1.1-mysql-5.7
    networks:
      default: null
    ports:
    - mode: ingress
      target: 3306
      published: "32776"
      protocol: tcp
  redis:
    command:
    - redis-server
    - --requirepass
    - redis
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    hostname: redis
    image: redis:latest
    networks:
      default: null
    ports:
    - mode: ingress
      target: 6379
      protocol: tcp
    volumes:
    - type: volume
      source: redis_data
      target: /data
      volume: {}
  solr:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    extends:
      file: /Users/rebeccaluxford/.docksal/stacks/services.yml
      service: solr
    hostname: solr
    healthcheck:
      interval: 10s
    image: docksal/solr:7.7-2.1
    labels:
      io.docksal.cert-name: none
      io.docksal.virtual-host: solr.local-ilab-d8.dol.docksal.site,solr.local-ilab-d8.dol.docksal.site.*
      io.docksal.virtual-port: "8983"
    logging:
      options:
        max-file: "10"
        max-size: 1m
    networks:
      default: null
    volumes:
    - type: bind
      source: /Users/rebeccaluxford/Projects/dol_d8/.docksal/etc/solr/conf
      target: /var/lib/solr/conf
      read_only: true
      bind:
        create_host_path: true
    - 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
    - 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/rebeccaluxford/.docksal/stacks/services.yml
      service: apache
    hostname: web
    healthcheck:
      interval: 10s
    image: docksal/apache:2.4-2.5
    labels:
      io.docksal.cert-name: none
      io.docksal.permanent: "false"
      io.docksal.project-root: /Users/rebeccaluxford/Projects/dol_d8
      io.docksal.virtual-host: local-ilab-d8.dol.docksal.site,*.local-ilab-d8.dol.docksal.site,local-ilab-d8.dol.docksal.site.*
    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: dol_d8_default
volumes:
  cli_home:
    name: dol_d8_cli_home
  docksal_ssh_agent:
    name: docksal_ssh_agent
    external: true
  project_root:
    name: dol_d8_project_root
    driver: local
    driver_opts:
      device: /host_mnt/Users/rebeccaluxford/Projects/dol_d8
      o: bind
      type: none
  redis_data:
    name: dol_d8_redis_data
---------------------


Output of fin sysinfo:

fin sysinfo output
███  DOCKSAL
Docksal version: v1.18.2
fin version:     v1.113.2

███  OS
Darwin macOS 13.4
Darwin C02YJ0M2JGH7 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:51:50 PDT 2023; root:xnu-8796.121.2~5/RELEASE_X86_64 x86_64

███  ENVIRONMENT
MODE : Docker Desktop
DOCKER_HOST : 

███  NFS
DOCKSAL_NFS_PATH : /Users

nfsd service is disabled
nfsd is running (pid 2294, 8 threads)

NFS EXPORTS
----------

# <ds-nfs docksal
/Users 127.0.0.1 192.168.64.1 -alldirs -maproot=0:0
# ds-nfs>
----------

Exports list on localhost:
/Users                              127.0.0.1 192.168.64.1

███  DOCKER
Expected client version: 20.10.23
Expected server version: 20.10.23

Installed versions:

Client:
Version:           20.10.23
API version:       1.41
Go version:        go1.18.10
Git commit:        7155243
Built:             Thu Jan 19 17:35:19 2023
OS/Arch:           darwin/amd64
Context:           desktop-linux
Experimental:      true

Server: Docker Desktop 4.20.1 (110738)
Engine:
Version:          24.0.2
API version:      1.43 (minimum version 1.12)
Go version:       go1.20.4
Git commit:       659604f
Built:            Thu May 25 21:52:17 2023
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.6.21
GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version:          1.1.7
GitCommit:        v1.1.7-0-g860f061
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

███  DOCKER COMPOSE
Expected version:  2.15.1
Installed version: 2.15.1

███  DOCKSAL: PROJECTS
project        STATUS                      virtual host                                                                                       project root
dol_d8         Up 23 minutes (healthy)     local-ilab-d8.dol.docksal.site,*.local-ilab-d8.dol.docksal.site,local-ilab-d8.dol.docksal.site.*   /Users/rebeccaluxford/Projects/dol_d8
drupal_elms    Exited (0) 24 minutes ago   ofccplms.docksal.site,*.ofccplms.docksal.site,ofccplms.docksal.site.*                              /Users/rebeccaluxford/Projects/drupal_elms
opig3-10       Exited (255) 6 hours ago    opig3-10.docksal.site,*.opig3-10.docksal.site,opig3-10.docksal.site.*                              /Users/rebeccaluxford/Projects/opig3-10
big-ten        Exited (255) 13 days ago    big-ten.docksal.site,*.big-ten.docksal.site,big-ten.docksal.site.*                                 /Users/rebeccaluxford/Projects/big-ten
examples_mod   Exited (0) 2 weeks ago      examples-mod.docksal.site,*.examples-mod.docksal.site,examples-mod.docksal.site.*                  /Users/rebeccaluxford/Projects/examples_mod
vets           Exited (0) 4 months ago     hirevets.docksal.site,*.hirevets.docksal.site,hirevets.docksal.site.*                              /Users/rebeccaluxford/Projects/vets
opig4          Exited (0) 6 months ago     opig4.docksal.site,*.opig4.docksal.site,opig4.docksal.site.*                                       /Users/rebeccaluxford/Projects/opig4
type           Exited (255) 6 months ago   type.docksal.site,*.type.docksal.site,type.docksal.site.*                                          /Users/rebeccaluxford/Projects/type

███  DOCKSAL: VIRTUAL HOSTS
*.local-ilab-d8.dol.docksal.site
local-ilab-d8.dol.docksal.site.*
local-ilab-d8.dol.docksal.site
solr.local-ilab-d8.dol.docksal.site.*
solr.local-ilab-d8.dol.docksal.site

███  DOCKSAL: NETWORKING

DOCKSAL_IP: 192.168.64.100
DOCKSAL_HOST_IP: 192.168.64.1
DOCKSAL_VHOST_PROXY_IP: 0.0.0.0
DOCKSAL_DNS_IP: 0.0.0.0
DOCKSAL_DNS_DISABLED: 0
DOCKSAL_NO_DNS_RESOLVER: 0
DOCKSAL_DNS_UPSTREAM: 
DOCKSAL_DNS_DOMAIN: docksal.site

███  DOCKSAL: CONNECTIVITY

Host to 192.168.64.100: 	PASS
Container to 192.168.64.100: 	PASS
Container to 192.168.64.1: 	PASS

Checking connectivity to http://dns-test.docksal.site...
Host: PASS
Containers: PASS

███  DOCKER: RUNNING CONTAINERS
CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS                    PORTS                                      NAMES
224c49959cfe   docksal/apache:2.4-2.5     "httpd-foreground"       23 minutes ago   Up 23 minutes (healthy)   80/tcp, 443/tcp                            dol_d8_web_1
8c124459366c   docksal/cli:php8.1         "/opt/startup.sh sup…"   23 minutes ago   Up 23 minutes (healthy)   22/tcp, 3000/tcp, 9000/tcp                 dol_d8_cli_1
cc3a92cfb44d   docksal/db:1.1-mysql-5.7   "/entrypoint.sh mysq…"   23 minutes ago   Up 23 minutes             0.0.0.0:32776->3306/tcp                    dol_d8_db_1
ea47da5f3bdf   docksal/solr:7.7-2.1       "docker-entrypoint.s…"   23 minutes ago   Up 23 minutes (healthy)   8983/tcp                                   dol_d8_solr_1
ff9423d4b6e6   redis:latest               "docker-entrypoint.s…"   23 minutes ago   Up 23 minutes             0.0.0.0:54981->6379/tcp                    dol_d8_redis_1
e6acb2766fc5   docksal/ssh-agent:1.4      "docker-entrypoint.s…"   6 hours ago      Up 3 hours (healthy)                                                 docksal-ssh-agent
86410f62a686   docksal/dns:1.2            "docker-entrypoint.s…"   6 hours ago      Up 3 hours (healthy)      0.0.0.0:53->53/udp                         docksal-dns
f7a1a709d3e0   docksal/vhost-proxy:1.8    "docker-entrypoint.s…"   6 hours ago      Up 3 hours (healthy)      0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   docksal-vhost-proxy

███  DOCKER: NETWORKS
NETWORK ID     NAME               DRIVER    SCOPE
89a0e7ba4fe2   _default           bridge    local
7306fb539c94   bridge             bridge    local
598383b3266d   dol_d8_default     bridge    local
6ce0649ef11c   host               host      local
bcaca47a8298   none               null      local
4ab67a61398d   opig3-10_default   bridge    local
2b531a67a399   type_default       bridge    local

███  DOCKER DESKTOP
EXPECTED VERSION: 4.17.0
DETECTED VERSION: 4.20.1

███  HDD Usage
Filesystem       Size   Used  Avail Capacity iused     ifree %iused  Mounted on
/dev/disk1s5s1  466Gi  8.4Gi   46Gi    16%  355384 484857040    0%   /
devfs           190Ki  190Ki    0Bi   100%     658         0  100%   /dev
/dev/disk1s2    466Gi  1.7Gi   46Gi     4%    2218 484857040    0%   /System/Volumes/Preboot
/dev/disk1s4    466Gi  4.0Gi   46Gi     8%       4 484857040    0%   /System/Volumes/VM
/dev/disk1s6    466Gi  7.5Mi   46Gi     1%      17 484857040    0%   /System/Volumes/Update
/dev/disk1s1    466Gi  404Gi   46Gi    90% 4080561 484857040    1%   /System/Volumes/Data
map auto_home     0Bi    0Bi    0Bi   100%       0         0  100%   /System/Volumes/Data/home

Thanks so much,
Rebecca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant