I couldn’t get where is the problem from log:
maybe this one: if yes, how can solve that:
passbolt_1 | /usr/local/bin/docker-php-entrypoint: 9: exec: /usr/bin/wait-for.sh: Permission denied
error log:
Attaching to passbolt_docker_db_1, passbolt_docker_passbolt_1
db_1 | 2020-06-18 14:04:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.23+maria~focal started.
passbolt_1 | /usr/local/bin/docker-php-entrypoint: 9: exec: /usr/bin/wait-for.sh: Permission denied
db_1 | 2020-06-18 14:04:58+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
db_1 | 2020-06-18 14:04:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.23+maria~focal started.
db_1 | 2020-06-18 14:04:58 0 [Note] mysqld (mysqld 10.3.23-MariaDB-1:10.3.23+maria~focal) starting as process 1 …
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Uses event mutexes
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Number of pools: 1
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Using SSE2 crc32 instructions
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2020-06-18 14:04:58 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: 10.3.23 started; log sequence number 1625565; transaction id 21
db_1 | 2020-06-18 14:04:59 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2020-06-18 14:04:59 0 [Note] Plugin ‘FEEDBACK’ is disabled.
db_1 | 2020-06-18 14:05:00 0 [Note] Server socket created on IP: ‘::’.
db_1 | 2020-06-18 14:05:00 0 [Warning] ‘proxies_priv’ entry ‘@% root@1f47ec546785’ ignored in --skip-name-resolve mode.
passbolt_docker_passbolt_1 exited with code 126
db_1 | 2020-06-18 14:05:00 0 [Note] InnoDB: Buffer pool(s) load completed at 200618 14:05:00
db_1 | 2020-06-18 14:05:00 0 [Note] Reading of all Master_info entries succeeded
db_1 | 2020-06-18 14:05:00 0 [Note] Added new Master_info ‘’ to hash table
db_1 | 2020-06-18 14:05:00 0 [Note] mysqld: ready for connections.
db_1 | Version: ‘10.3.23-MariaDB-1:10.3.23+maria~focal’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
Yeah the permission error on the script is not expected, I have tested it locally and I can’t reproduce with the official image, that is why I was wondering if maybe you have built it yourself.
Could you post the docker-compose you are using? Also are you running your stack on which operating system?
woow… You are genius! that was great! it works now
I can now open https://pass.work.com
But i cann’t log in. it doesn’t find me although I have restored the database that have 30 users!
I have restored the database again. when I check that all users are in the database I found them.
then I start docker-compse start
i get this error:
tarting db …
Starting db … error
Starting passbolt … error
ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint passbolt_docker_db_1 (f834523f9e2c52764efe65c0a3e98b79376d75f5edb6758159eab754d28a6c44): Error starting userland proxy: listen tcp 127.0.0.1:3306: bind: address already in use
systemctl stop mariadb
then start again. it starts but now the database have only one user that I created now.
It seems to me that you have multiple containers with the DB running, e.g. the container you are using in your docker compose cannot bind because there is another one running.
Unfortunately this is not a passbolt issue, but it’s something specific to your configuration / setup, it’s hard to help you as is, but maybe @diego can pitch in.