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

Can't start on MacOS #9

Open
podarok opened this issue Sep 28, 2020 · 0 comments
Open

Can't start on MacOS #9

podarok opened this issue Sep 28, 2020 · 0 comments

Comments

@podarok
Copy link
Contributor

podarok commented Sep 28, 2020

MacBook-Pro-Andrii:DOCKSAL podarok$ curl -fsSL https://get.docksal.io | bash
Sorry, try again.
ATTENTION: Installer requires administrative privileges to continue with Docksal setup.
           On macOS and Linux please enter your current user password,
           in Ubuntu App for Windows 10 use Linux user password in this step.
           For more information, see https://docs.docksal.io/getting-started/setup/#install
Password:
[STEP 1/4] Updating fin...
fin 1.99.0 downloaded...
[STEP 2/4] Updating stack files...
overrides-ide.yml
overrides-xhprof.yml
services.yml
stack-acquia.yml
stack-default.yml
stack-default-nodb.yml
stack-node.yml
stack-pantheon.yml
volumes-bind.yml
volumes-nfs.yml
volumes-none.yml
volumes-unison.yml
Configuring network settings...
[STEP 3/4] Updating tools...
Installing docker client v19.03.9...
Downloading docker-19.03.9.tgz...
######################################################################## 100,0%
Installing docker-compose v1.26.0...
Downloading docker-compose-Darwin-x86_64...
######################################################################## 100,0%#=#=-#  #                                                                   ######################################################################## 100,0%
Installing docker-machine v0.16.2...
Downloading docker-machine-Darwin-x86_64...
######################################################################## 100,0%##O=#  #                                                                    ######################################################################## 100,0%
 ALERT:  VirtualBox version should be 6.1.10 or higher
Downloading and installing VirtualBox 6.1.10
######################################################################## 100,0%
Attaching /Users/podarok/Downloads/VirtualBox-6.1.10-138449-OSX.dmg

Please finish VirtualBox installation using installer (Ctrl+C to exit)...
Creating docker machine 'docksal'...
Docker machine "docksal" already exists
 ERROR:  Proper creation of virtual machine has failed
        For details please refer to the log above.
        It is recommended to remove malfunctioned virtual machine.
About to remove docksal
WARNING: This action will delete both local reference and remote instance.
Successfully removed docksal
MacBook-Pro-Andrii:DOCKSAL podarok$ curl -fsSL https://get.docksal.io | bash
[STEP 1/4] Updating fin...
fin 1.99.0 downloaded...
[STEP 2/4] Updating stack files...
overrides-ide.yml
overrides-xhprof.yml
services.yml
stack-acquia.yml
stack-default.yml
stack-default-nodb.yml
stack-node.yml
stack-pantheon.yml
volumes-bind.yml
volumes-nfs.yml
volumes-none.yml
volumes-unison.yml
Configuring network settings...
[STEP 3/4] Updating tools...
Creating docker machine 'docksal'...
Running pre-create checks...
(docksal) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
Creating machine...
(docksal) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
(docksal) Downloading /Users/podarok/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso...
(docksal) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(docksal) Creating VirtualBox VM...
(docksal) Creating SSH key...
(docksal) Starting the VM...
(docksal) Check network to re-create if needed...
(docksal) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: /Users/podarok/.docksal/bin/docker-machine env docksal
[STEP 4/4] Updating Docksal images...
1.6: Pulling from docksal/vhost-proxy
cbdbe7a5bc2a: Pull complete 
4d720e2b488c: Pull complete 
1773501e6315: Pull complete 
e8b93510ff27: Pull complete 
c9d70366ab0d: Pull complete 
5dee5121928e: Pull complete 
5f24e471a3b1: Pull complete 
6b433161e031: Pull complete 
6b1bc1ee3581: Pull complete 
b8b5695c0578: Pull complete 
a095f2c1bb0e: Pull complete 
8c592799132e: Pull complete 
9cdaa83f7714: Pull complete 
c606bf967d31: Pull complete 
846c3d1fa248: Pull complete 
33b0308818d3: Pull complete 
d35da656d063: Pull complete 
5147a343d670: Pull complete 
396cf274e4ae: Pull complete 
Digest: sha256:983e04a0252f5cc68d47b3d63d611074dc4c055ed39fc881d7eb202a4334008b
Status: Downloaded newer image for docksal/vhost-proxy:1.6
docker.io/docksal/vhost-proxy:1.6
1.1: Pulling from docksal/dns
8e402f1a9c57: Pull complete 
2581d85ca9de: Pull complete 
705f9f59129e: Pull complete 
4cc65662a2e4: Pull complete 
cada4a32d1e5: Pull complete 
Digest: sha256:682fac8c339743baaad0272ad6b2c1185632446872d78ad658ce4ca7b3c1ace5
Status: Downloaded newer image for docksal/dns:1.1
docker.io/docksal/dns:1.1
1.3: Pulling from docksal/ssh-agent
e7c96db7181b: Pull complete 
3557d9558e26: Pull complete 
23b7155ae993: Pull complete 
4e568e9bfde0: Pull complete 
Digest: sha256:b016b5a3e711c6c70cc4a4956903df17c06a07b35b72e64c4427583a782b07ed
Status: Downloaded newer image for docksal/ssh-agent:1.3
docker.io/docksal/ssh-agent:1.3
Configuring network settings...
Configuring NFS shares...
Writing /etc/exports...
Writing /etc/nfs.conf...
Restarting nfsd...
Mounting NFS shares...
Mounting local /Users to /Users
Resetting Docksal system services...
 * proxy
 * dns
   upstream 8.8.8.8
Enabling automatic *.docksal DNS resolver...
Clearing DNS cache...
 * ssh-agent
Running in a non-interactive environment. SSH keys with passphrases cannot be used.
Identity added: id_rsa (id_rsa)
Update finished
 WARNING:  Please take a moment to read about what's new in this release:
           https://docksal.io/updates
Running post update checks...
MacBook-Pro-Andrii:DOCKSAL podarok$ зцв
-bash: зцв: command not found
MacBook-Pro-Andrii:DOCKSAL podarok$ cd ..
MacBook-Pro-Andrii:www podarok$ git clone git@github.com:ymcatwincities/openy-docksal.git
Cloning into 'openy-docksal'...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 248 (delta 0), reused 1 (delta 0), pack-reused 243
Receiving objects: 100% (248/248), 2.31 MiB | 2.84 MiB/s, done.
Resolving deltas: 100% (83/83), done.
MacBook-Pro-Andrii:www podarok$ cd openy-docksal/
MacBook-Pro-Andrii:openy-docksal podarok$ ls
README.md	composer.json
MacBook-Pro-Andrii:openy-docksal podarok$ ls -la
total 32
drwxr-xr-x   7 podarok  wheel   224 28 вер 12:50 .
drwxr-xr-x  45 podarok  wheel  1440 28 вер 12:50 ..
drwxr-xr-x   7 podarok  wheel   224 28 вер 12:50 .docksal
drwxr-xr-x  12 podarok  wheel   384 28 вер 12:50 .git
-rw-r--r--   1 podarok  wheel   104 28 вер 12:50 .gitignore
-rw-r--r--   1 podarok  wheel  4576 28 вер 12:50 README.md
-rw-r--r--   1 podarok  wheel   340 28 вер 12:50 composer.json
MacBook-Pro-Andrii:openy-docksal podarok$ cd .docksal/
MacBook-Pro-Andrii:.docksal podarok$ ls
commands	docksal.env	docksal.yml	etc		files
MacBook-Pro-Andrii:.docksal podarok$ ls -la
total 16
drwxr-xr-x  7 podarok  wheel   224 28 вер 12:50 .
drwxr-xr-x  7 podarok  wheel   224 28 вер 12:50 ..
drwxr-xr-x  7 podarok  wheel   224 28 вер 12:50 commands
-rw-r--r--  1 podarok  wheel  2441 28 вер 12:50 docksal.env
-rw-r--r--  1 podarok  wheel   658 28 вер 12:50 docksal.yml
drwxr-xr-x  4 podarok  wheel   128 28 вер 12:50 etc
drwxr-xr-x  3 podarok  wheel    96 28 вер 12:50 files
MacBook-Pro-Andrii:.docksal podarok$ nano docksal-local.env
MacBook-Pro-Andrii:.docksal podarok$ cd ..
MacBook-Pro-Andrii:openy-docksal podarok$ fin build_project
 Step 1: Recreating services. 
Removing containers...
Removing network openy-docksal_default
WARNING: Network openy-docksal_default not found.
Removing volume openy-docksal_cli_home
WARNING: Volume openy-docksal_cli_home not found.
Removing volume openy-docksal_project_root
WARNING: Volume openy-docksal_project_root not found.
Removing volume openy-docksal_db_data
WARNING: Volume openy-docksal_db_data not found.
Volume docksal_ssh_agent is external, skipping
Starting services...
Creating network "openy-docksal_default" with the default driver
Creating volume "openy-docksal_cli_home" with default driver
Creating volume "openy-docksal_project_root" with local driver
Creating volume "openy-docksal_db_data" with default driver
Pulling db (docksal/mysql:5.6-1.5)...
5.6-1.5: Pulling from docksal/mysql
7d2977b12acb: Pull complete
5fb8400e7f07: Pull complete
234877fbb165: Pull complete
6fe1021f12f3: Pull complete
7e36fe6b53f0: Pull complete
996ec709c11b: Pull complete
5198b7523387: Pull complete
cc9bdad4dcc0: Pull complete
380cd37ad979: Pull complete
d64465acf034: Pull complete
d4ee6606b3ab: Pull complete
8e12970d1d53: Pull complete
ac4d85399b83: Pull complete
ffc883dffba7: Pull complete
fba5127c4dd9: Pull complete
6fe24365b0ff: Pull complete
d07c190a8efc: Pull complete
Digest: sha256:64e143ac89cff624252a6da821dd9aed517531f9761e49b965093b145ecd45d6
Status: Downloaded newer image for docksal/mysql:5.6-1.5
Pulling cli (docksal/cli:2.11-php7.3)...
2.11-php7.3: Pulling from docksal/cli
8559a31e96f4: Pulling fs layer
e0276193a084: Pulling fs layer
eb2d00c10344: Pull complete
f54006e0dc29: Pull complete
f10117dc3edc: Pull complete
776689d4067c: Pull complete
2c79b61e5e6d: Pull complete
625534e5c61b: Pull complete
2f053f28c35e: Pull complete
f2ca27ed14ac: Pull complete
7a947bd76c4e: Pull complete
562df678aae1: Pull complete
e78d13929e11: Pull complete
cb6b2f8f925d: Pull complete
47c73f57af7d: Pull complete
c2526cdb5277: Pull complete
81e7682a1b48: Pull complete
4ae81d9ac33d: Pull complete
a35f215c7995: Pull complete
2b9880c1e1ef: Pull complete
edfbc1c2d8f5: Pull complete
7cc13e67adb6: Pull complete
0637191fc4c0: Pull complete
c702a934eddd: Pull complete
da29f3ca2dad: Pull complete
c55f8d9e0a5c: Pull complete
c687f119032c: Pull complete
64a00dbe30d5: Pull complete
0bc6171aff98: Pull complete
ac1b544c1708: Pull complete
14f15592dce1: Pull complete
1f072760ea1d: Pull complete
d5281cf2a9fd: Pull complete
0f9ea2747eb5: Pull complete
83abb342b906: Pull complete
185bb9f1839a: Pull complete
9eb15055807a: Pull complete
d5b7fc06a387: Pull complete
f95e4a9a19fd: Pull complete
0456a6434db0: Pull complete
Digest: sha256:9877d0ef86e7b2efbf040a3a4763b28c5a82efe5166bec4512caeaf90a4301db
Status: Downloaded newer image for docksal/cli:2.11-php7.3
Pulling web (docksal/apache:2.4-2.3)...
2.4-2.3: Pulling from docksal/apache
c67f3896b22c: Pull complete
154fb9965a5c: Pull complete
67a036bd0b88: Pull complete
f3566667ebd1: Pull complete
dbb4347ff2cc: Pull complete
382f0b9313f0: Pull complete
4ccfe04985a0: Pull complete
c234113d3391: Pull complete
8df36931c425: Pull complete
f688a27b7a81: Pull complete
Digest: sha256:6d94e356987f6ef99ee434b517599bda30172990bff027141a5c8046fcbc52e6
Status: Downloaded newer image for docksal/apache:2.4-2.3
Creating openy-docksal_db_1  ... error
Creating openy-docksal_cli_1 ... 

ERROR: for openy-docksal_db_1  Cannot start service db: error while mounting volume '/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data': failed to mount local volume: mount :/var/www/openy-docksal:/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data, flags: 0xc00, data: addr=192.1Creating openy-docksal_cli_1 ... error

ERROR: for openy-docksal_cli_1  Cannot start service cli: error while mounting volume '/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data': failed to mount local volume: mount :/var/www/openy-docksal:/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data, flags: 0xc00, data: addr=192.168.64.1,vers=3,nolock,noacl,nocto,actimeo=1: permission denied

ERROR: for db  Cannot start service db: error while mounting volume '/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data': failed to mount local volume: mount :/var/www/openy-docksal:/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data, flags: 0xc00, data: addr=192.168.64.1,vers=3,nolock,noacl,nocto,actimeo=1: permission denied

ERROR: for cli  Cannot start service cli: error while mounting volume '/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data': failed to mount local volume: mount :/var/www/openy-docksal:/mnt/sda1/var/lib/docker/volumes/openy-docksal_project_root/_data, flags: 0xc00, data: addr=192.168.64.1,vers=3,nolock,noacl,nocto,actimeo=1: permission denied
ERROR: Encountered errors while bringing up the project.
MacBook-Pro-Andrii:openy-docksal podarok$ sudo fin build_project
Password:
 ALERT:  Running as root is not recommended
 Step 1: Creating services. 
 ALERT:  Running as root is not recommended
It looks like 'docksal' docker machine is not running.
Start it now? [y/n]: y
Creating docker machine 'docksal'...
Docker machine "docksal" already exists
 ERROR:  Proper creation of virtual machine has failed
        For details please refer to the log above.
        It is recommended to remove malfunctioned virtual machine.
Remove docksal? [y/n]: y
About to remove docksal
WARNING: This action will delete both local reference and remote instance.
Successfully removed docksal
MacBook-Pro-Andrii:openy-docksal podarok$ sudo fin build_project
 ALERT:  Running as root is not recommended
 Step 1: Creating services. 
 ALERT:  Running as root is not recommended
It looks like 'docksal' docker machine is not running.
Start it now? [y/n]: y
Creating docker machine 'docksal'...
Running pre-create checks...
(docksal) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
Creating machine...
(docksal) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
(docksal) Downloading /Users/podarok/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.5/boot2docker.iso...
(docksal) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(docksal) Creating VirtualBox VM...
(docksal) Creating SSH key...
(docksal) Starting the VM...
(docksal) Check network to re-create if needed...
(docksal) Waiting for an IP...
(docksal) The host-only adapter is corrupted. Let's stop the VM, fix the host-only adapter and restart the VM
(docksal) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: /Users/podarok/.docksal/bin/docker-machine env docksal
Starting services...
ERROR: Configuration for volume project_root specifies "device" driver_opt :/private/var/www/openy-docksal, but a volume with the same name uses a different "device" driver_opt (:/var/www/openy-docksal). If you wish to use the new configuration, please remove the existing volume "openy-docksal_project_root" first:
$ docker volume rm openy-docksal_project_root
MacBook-Pro-Andrii:openy-docksal podarok$ docker volume rm openy-docksal_project_root
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
MacBook-Pro-Andrii:openy-docksal podarok$ sudo docker volume rm openy-docksal_project_root
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

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