source

이전에 안정적이었던 Docksal 구현에 대한 새로운 문제

factcode 2023. 8. 27. 09:56
반응형

이전에 안정적이었던 Docksal 구현에 대한 새로운 문제

저는 몇 주 동안 맥북 m1에서 docksal을 사용하여 2개의 사이트를 문제없이 개발하고 있습니다.오늘날에도 한 사이트에서 액세스할 수 있지만, drush sqlc를 실행하면 다음과 같은 결과가 끝없이 발생합니다.

Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.64.1:9000 (through xdebug.client_host/xdebug.client_port)

실행할 때

fin exec php -v | grep -i xdebug 

알겠습니다

fin exec php -v | grep -i xdebug
    with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans

그리고 php는 9000에서 xdebug를 사용하도록 구성되어 있습니다.그 포트를 듣고 있는 것은 아무것도 없는 것 같습니다.

다른 사이트에서는 액세스할 수 없습니다. DB에 액세스하려고 할 때 xdebug 불만 사항 중 몇 가지를 추가로 반환합니다.

The command "mysql --defaults-file=/tmp/drush_ew45Y0 --database=default --host=db --port=3306 -A" failed.  
                                                                                                             
  Exit Code: 1(General error)                                                                                
                                                                                                             
  Working directory: /var/www/web                                                                            
                                                                                                             
  Output:                                                                                                    
  ================                                                                                           
                                                                                                             
                                                                                                             
  Error Output:                                                                                              
  ================               

                                                                        
                            

도커 PS는 모든 컨테이너가 정상이라고 말합니다.

버전은 다음과 같습니다.

  • Docker Desktop 4.9.1(81317)
  • 독살 1.16
  • PHP 8.1
  • Xdebug 3.1.4
  • MySql Ver 15.1 배포 10.5.15-MariaD

Docker에서 DB 컨테이너(시작하자마자 실행이 중지됨)에 대한 로그는 다음과 같습니다.

runtime stack:

runtime.throw(0x524da0, 0x9)

/usr/local/go/src/runtime/panic.go:527 +0x90

runtime.newosproc(0xc82002a000, 0xc820039fc0)

/usr/local/go/src/runtime/os1_linux.go:150 +0x1ab

runtime.newm(0x555ce8, 0x0)

/usr/local/go/src/runtime/proc1.go:1105 +0x130

runtime.main.func1()

/usr/local/go/src/runtime/proc.go:48 +0x2c

runtime.systemstack(0x5c4300)

/usr/local/go/src/runtime/asm_amd64.s:262 +0x79

runtime.mstart()

/usr/local/go/src/runtime/proc1.go:674


goroutine 1 [running]:

runtime.systemstack_switch()

/usr/local/go/src/runtime/asm_amd64.s:216 fp=0xc820024770 sp=0xc820024768

runtime.main()

/usr/local/go/src/runtime/proc.go:49 +0x62 fp=0xc8200247c0 sp=0xc820024770

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200247c8 sp=0xc8200247c0

Running init scripts in /docker-entrypoint.d/ as root...

Including custom configuration from /var/www/.docksal/etc/mysql/my.cnf

Running init scripts in /docker-entrypoint.d/ as root...

Including custom configuration from /var/www/.docksal/etc/mysql/my.cnf

검사 정보는 다음과 같습니다.

Environment
MYSQL_ONETIME_PASSWORD

MYSQL_INITDB_SKIP_TZINFO

MYSQL_ROOT_PASSWORD
root

MYSQL_USER
user

MYSQL_PASSWORD
user

MYSQL_DATABASE
default

MYSQL_ALLOW_EMPTY_PASSWORD

MYSQL_RANDOM_ROOT_PASSWORD

PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

GOSU_VERSION
1.7

MYSQL_MAJOR
5.7

MYSQL_VERSION
5.7.25-1debian9

Mounts
/VAR/LIB/MYSQL
/var/lib/docker/volumes/pii_db_data/_data

/VAR/WWW
/var/lib/docker/volumes/pii_project_root/_data

Port
3306/tcp
0.0.0.0:0

언급URL : https://stackoverflow.com/questions/72672779/new-issue-on-previously-stable-docksal-implementations

반응형