Just trying out ghost for the first time, using docker on my local machine.
Mostly successful, however the db container took a long time to (not) start and produced the following log:
apz@insp:~/Develop/adrian.ghost/ghost-docker$ docker compose logs db
WARN[0000] The “ADMIN_DOMAIN” variable is not set. Defaulting to a blank string.
db-1 | 2025-12-11 00:24:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.44-1.el9 started.
db-1 | 2025-12-11 00:24:38+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
db-1 | 2025-12-11 00:24:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.44-1.el9 started.
db-1 | 2025-12-11 00:24:39+00:00 [Note] [Entrypoint]: Initializing database files
db-1 | 2025-12-11T00:24:39.890378Z 0 [Warning] [MY-011068] [Server] The syntax ‘–skip-host-cache’ is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
db-1 | 2025-12-11T00:24:39.890849Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.44) initializing of server in progress as process 81
db-1 | 2025-12-11T00:24:39.985727Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
db-1 | 2025-12-11T00:24:54.570337Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
db-1 | 2025-12-11T00:25:25.826678Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
db-1 | 2025-12-11 00:26:59+00:00 [Note] [Entrypoint]: Database files initialized
db-1 | 2025-12-11 00:26:59+00:00 [Note] [Entrypoint]: Starting temporary server
db-1 | 2025-12-11T00:27:00.492824Z 0 [Warning] [MY-011068] [Server] The syntax ‘–skip-host-cache’ is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
db-1 | 2025-12-11T00:27:00.499548Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.44) starting as process 693
db-1 | 2025-12-11T00:27:00.789922Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
db-1 | 2025-12-11T00:27:04.434934Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
db-1 | 2025-12-11T00:27:11.793548Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
db-1 | 2025-12-11T00:27:11.793655Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
db-1 | 2025-12-11T00:27:12.099125Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location ‘/var/run/mysqld’ in the path is accessible to all OS users. Consider choosing a different directory.
db-1 | 2025-12-11T00:27:12.214652Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
db-1 | 2025-12-11T00:27:12.215113Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: ‘8.0.44’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 0 MySQL Community Server - GPL.
db-1 | 2025-12-11 00:27:12+00:00 [Note] [Entrypoint]: Temporary server started.
db-1 | ‘/var/lib/mysql/mysql.sock’ → ‘/var/run/mysqld/mysqld.sock’
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/iso3166.tab’ as time zone. Skipping it.
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/leap-seconds.list’ as time zone. Skipping it.
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/leapseconds’ as time zone. Skipping it.
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/tzdata.zi’ as time zone. Skipping it.
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/zone.tab’ as time zone. Skipping it.
db-1 | Warning: Unable to load ‘/usr/share/zoneinfo/zone1970.tab’ as time zone. Skipping it.
db-1 | 2025-12-11 00:27:26+00:00 [Note] [Entrypoint]: Creating database ghost
db-1 | 2025-12-11 00:27:26+00:00 [Note] [Entrypoint]: Creating user ghost
db-1 | 2025-12-11 00:27:26+00:00 [Note] [Entrypoint]: Giving user ghost access to schema ghost
db-1 |
db-1 | 2025-12-11 00:27:27+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/create-multiple-databases.sh
db-1 | Creating multiple databases: activitypub
db-1 | Creating database: activitypub
db-1 | mysql: [Warning] Using a password on the command line interface can be insecure.
db-1 | Multiple databases created
db-1 |
db-1 | 2025-12-11 00:27:28+00:00 [Note] [Entrypoint]: Stopping temporary server
db-1 | 2025-12-11T00:27:28.051204Z 14 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.44).
db-1 | 2025-12-11T00:27:53.659118Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.44) MySQL Community Server - GPL.
db-1 | 2025-12-11 00:27:54+00:00 [Note] [Entrypoint]: Temporary server stopped
db-1 |
db-1 | 2025-12-11 00:27:54+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
db-1 |
db-1 | 2025-12-11T00:27:54.836268Z 0 [Warning] [MY-011068] [Server] The syntax ‘–skip-host-cache’ is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
db-1 | 2025-12-11T00:27:54.842327Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.44) starting as process 1
db-1 | 2025-12-11T00:27:54.880738Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
db-1 | 2025-12-11T00:27:59.668919Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
db-1 | 2025-12-11T00:28:06.859846Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
db-1 | 2025-12-11T00:28:06.859941Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
db-1 | 2025-12-11T00:28:06.907018Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location ‘/var/run/mysqld’ in the path is accessible to all OS users. Consider choosing a different directory.
db-1 | 2025-12-11T00:28:06.977934Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: ‘::’ port: 33060, socket: /var/run/mysqld/mysqlx.sock
db-1 | 2025-12-11T00:28:06.978325Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: ‘8.0.44’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 MySQL Community Server - GPL.