Skip to content

Conversation

@Loki-101
Copy link

@Loki-101 Loki-101 commented Mar 31, 2025

Tested on branch v1.11.10 v1.12.0

@Loki-101
Copy link
Author

This PR prevents issues like #5051 and #4330

…r off

The v1.12.0 update comes with two breaking changes to the Docker image.

First error:
Creating migration table ...................................... 16.96ms DONE

 INFO  Loading stored database schemas.

database/schema/mysql-schema.sql .............................. 15.18ms FAIL

 Process.php line 275:

The command "mysql  --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_L
OAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}
" --database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.

Exit Code: 127(Command not found)

Working directory: /app

Output:
================


Error Output:
================
sh: mysql: not found

Second error:

Once the mysql client is added to the image, a second error shows up if encryption is not enabled, as is the case for many single-node deployments where the database is an internal-only service:

TLS/SSL error: SSL is required, but the server does not support it
@Loki-101 Loki-101 marked this pull request as draft January 11, 2026 06:19
@Loki-101 Loki-101 marked this pull request as ready for review January 11, 2026 06:22
@Loki-101 Loki-101 changed the title Fix log permissions and HASHIDS env var generation Fix log permissions, HASHIDS env var generation, and the two errors that have been showing up since the v1.12.0 update Jan 11, 2026
@Loki-101
Copy link
Author

This PR has been renamed to reflect all current known issues with the image that are being addressed.
Details on the two new issues this PR was just patched to include fixes for:

The v1.12.0 update comes with two breaking changes to the Docker image.

First error:
Creating migration table ...................................... 16.96ms DONE

INFO Loading stored database schemas.

database/schema/mysql-schema.sql .............................. 15.18ms FAIL

Process.php line 275:

The command "mysql --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_L
OAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}
" --database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.

Exit Code: 127(Command not found)

Working directory: /app

Output:

Error Output:

sh: mysql: not found

Second error:

Once the mysql client is added to the image, a second error shows up if encryption is not enabled, as is the case for many single-node deployments where the database is an internal-only service:

TLS/SSL error: SSL is required, but the server does not support it

@Loki-101
Copy link
Author

Solves #5521

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

Successfully merging this pull request may close these issues.

1 participant