development
development copied to clipboard
"app_server" crashes immediately after starting
How to reproduce
Using MacBook M1 without Rosetta.
Like the guide on https://github.com/shopware/platform#quickstart--installation
-
git clone [email protected]:shopware/development.git
-
cd development
- Change ~
FROM mysql:8
~ toFROM arm64v8/mysql:oracle
indev-ops/docker/containers/mysql/Dockerfile
-
./psh.phar docker:start
-
docker-compose ps
"app_server" should now shown as Exited -
docker-composer logs app_server
see logs
➜ development git:(trunk) ✗ docker-compose logs app_server
development-app_server-1 | -> Executing /opt/docker/provision/entrypoint.d/05-permissions.sh
development-app_server-1 | -> Executing /opt/docker/provision/entrypoint.d/20-apache.sh
development-app_server-1 | runtime: failed to create new OS thread (have 2 already; errno=22)
development-app_server-1 | fatal error: newosproc
development-app_server-1 |
development-app_server-1 | runtime stack:
development-app_server-1 | runtime.throw(0x6430dc, 0x9)
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/panic.go:596 +0x95
development-app_server-1 | runtime.newosproc(0xc42002a000, 0xc42003a000)
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_linux.go:163 +0x18c
development-app_server-1 | runtime.newm(0x650dd0, 0x0)
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1628 +0x137
development-app_server-1 | runtime.main.func1()
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:126 +0x36
development-app_server-1 | runtime.systemstack(0x75bb00)
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:327 +0x79
development-app_server-1 | runtime.mstart()
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1132
development-app_server-1 |
development-app_server-1 | goroutine 1 [running]:
development-app_server-1 | runtime.systemstack_switch()
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:281 fp=0xc420026788 sp=0xc420026780
development-app_server-1 | runtime.main()
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:127 +0x6c fp=0xc4200267e0 sp=0xc420026788
development-app_server-1 | runtime.goexit()
development-app_server-1 | /usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4200267e8 sp=0xc4200267e0
You could also try local installation, it's pretty simple with symfony-cli https://shyim.me/blog/shopware-6-symfony-cli-macos-install/
You could also try local installation, it's pretty simple with symfony-cli https://shyim.me/blog/shopware-6-symfony-cli-macos-install/
Thanks @shyim this worked.
Generally this issue should be fixed or inspect I think
The log says your OS dont want more thread then 2?
@hlohaus Is this depending on the Docker -> Prefences -> Resources -> Advanced -> CPUs
settings? This is setting is currently set to 4 CPUs from 10.
Maybe I like the idea of air taxi, but maybe (we as business guys)? we should use the bike.
I liked my MacBook too, but i used then VirtualBox for my Docker VM. ;)