Hi,
Strangely, I can’t deploy java apps at all, here is what I get:
p/n/java-test nanobox deploy dry-run (261ms)
Preparing environment :
✓ Mounting codebase
--------------------------------------------------------------------------------
+ HEADS UP:
+ This is the first build for this project and will take longer than usual.
+ Future builds will pull from the cache and will be much faster.
--------------------------------------------------------------------------------
Building runtime :
✓ Starting docker container
✓ Preparing environment for build
✓ Gathering requirements
✓ Mounting cache_dirs
✓ Installing binaries and runtimes
✓ Packaging build
Compiling application :
✓ Starting docker container
✓ Preparing environment for compile
! Compiling code
- Cleaning up any previous releases...
- Copying code...
! FAILED TO COMPILE APP !
Exit
1
Command
su - gonano -c "cd /opt/nanobox/engine/bin; export PATH=\"/data/sbin:/data/bin:/opt/gonano/sbin:/opt/gonano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"; export CODE_DIR=\"/app\"; export DATA_DIR=\"/data\"; export APP_DIR=\"/mnt/app\"; export CACHE_DIR=\"/mnt/cache\"; export ETC_DIR=\"/data/etc\"; export ENV_DIR=\"/data/etc/env.d\"; stdbuf -o0 /opt/nanobox/engine/bin/compile '{\"code_dir\":\"/app\",\"data_dir\":\"/data\",\"app_dir\":\"/mnt/app\",\"cache_dir\":\"/mnt/cache/app\",\"etc_dir\":\"/data/etc\",\"env_dir\":\"/data/etc/env.d\",\"config\":{}}'"
Error : failed to execute hook (compile) on b9a806ddb15d7f3c29d71f46522ee87190736f0fdafbd83619788064b5719705: util:Exec:/opt/nanobox/hooks/compile: bad exit code(1):
Context : failed to compile the code -> failed to run the (compile)compile hook
I have tried to nanobox destroy. I've even tried to deploy an empty java app, where boxfile.yml was the only file in the project/directory and it contained these two lines only:
Nanobox Version 2.3.0-171031T1616 (80207fe)
macos 10.13 High Sierra 😢
~ nanobox config ls
{
"provider": "docker-machine",
"ci-mode": false,
"ci-sync-verbose": false,
"mount-type": "native",
"netfs-mount-opts": "",
"cpus": 4,
"ram": 4,
"disk": 102400,
"external-network-space": "192.168.99.50/24",
"docker-machine-network-space": "172.21.0.1/16",
"native-network-space": "172.20.0.1/16",
"ssh-key": "default",
"ssh-encrypted-keys": false,
"anonymous": false,
"lock-port": 12345
}
Hi,
Strangely, I can’t deploy java apps at all, here is what I get:
I have tried to
nanobox destroy. I've even tried to deploy an empty java app, whereboxfile.ymlwas the only file in the project/directory and it contained these two lines only:Nanobox Version 2.3.0-171031T1616 (80207fe)
macos 10.13 High Sierra 😢