docksal icon indicating copy to clipboard operation
docksal copied to clipboard

Can't install addons since version v1.17.0 (fin 1.110.1) with docker desktop 4.8.2 (Mac)

Open santerref opened this issue 3 years ago • 6 comments

Description

Can't install addons since version v1.17.0 (fin 1.110.1) with docker desktop 4.8.2 (Mac).

The PRE-INSTALL hook looks if the _cli_ is running by doing a grep on fin ps for the string Up, but it seems that docker is now returning healthy.

ams-datacenter_cli_1   "/opt/startup.sh sup…"   cli                 running (healthy)   9000/tcp

Steps to reproduce the issue:

  1. Install docker desktop 4.8.2
  2. Create a new project
  3. Try to add an addon like PMA or meilisearch fin addon install meilisearch

Describe the results you received:

Downloading addon hook files...
  meilisearch.pre-install
  meilisearch.post-install
  meilisearch.pre-uninstall
Running pre-install hook...
[PRE-INSTALL] ERROR: Start the project with fin start first

Output of fin sysinfo:

fin sysinfo output
███  DOCKSAL
Docksal version: v1.17.0
fin version:     1.110.1

███  OS
Darwin macOS 12.3.1

███  ENVIRONMENT
MODE : Docker Desktop
DOCKER_HOST :

███  NFS
DOCKSAL_NFS_PATH : /Users

nfsd service is enabled
nfsd is running (pid 30234, 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.12
Expected server version: 20.10.12

Installed versions:

Client:
Version:           20.10.12
API version:       1.41
Go version:        go1.16.12
Git commit:        e91ed57
Built:             Mon Dec 13 11:46:56 2021
OS/Arch:           darwin/amd64
Context:           default
Experimental:      true

Server: Docker Desktop 4.8.2 (79419)
Engine:
Version:          20.10.14
API version:      1.41 (minimum version 1.12)
Go version:       go1.16.15
Git commit:       87a90dc
Built:            Thu Mar 24 01:46:14 2022
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.5.11
GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
runc:
Version:          1.0.3
GitCommit:        v1.0.3-0-gf46b6ba
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

███  DOCKER COMPOSE
Expected version:  2.1.0
Installed version: v2.1.0

███  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: 1
DOCKSAL_NO_DNS_RESOLVER: 1
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 DESKTOP
EXPECTED VERSION: 4.4.2
DETECTED VERSION: 4.8.2

santerref avatar Jun 09 '22 16:06 santerref

Getting the same error on Ubuntu installing Adminer.

boinkster avatar Jul 07 '22 21:07 boinkster

Same issue trying to install PMA or Adminer.

Would appreciate any help

EDIT: Downgrading docksal fixed issue

DOCKSAL_VERSION=v1.16.2 fin update

sloyer avatar Aug 11 '22 22:08 sloyer

Editing the docksal.local.yml file worked for me: services: adminer: image: adminer labels: io.docksal.virtual-host: adminer.${VIRTUAL_HOST} ports: - 8080:8080/tcp

nkendall-fe avatar Aug 16 '22 16:08 nkendall-fe

Editing the yml file doesn't seem ideal, is there a fix for this by any chance yet?

joehuggans avatar Dec 04 '22 10:12 joehuggans

I merged the patch for adminer several days ago

achekulaev avatar Dec 17 '22 13:12 achekulaev

meilisearch looks patched as well.

If you see errors with some other plugins you can raise a simple PR

achekulaev avatar Dec 17 '22 13:12 achekulaev