root@41f73c2f3f55:/var/www/html# bin/cake cache clear_all
[Cake\Database\Exception\DatabaseException] Cannot describe sites. It has 0 columns. in /var/www/html/vendor/cakephp/cakephp/src/Database/Schema/Collection.php on line 118
Stack Trace:
Cake\Database\Schema\Collection->describe() - CORE/src/ORM/Table.php, line 544
Cake\ORM\Table->getSchema() - CORE/src/ORM/Query/CommonQueryTrait.php, line 48
Cake\ORM\Query\SelectQuery->addDefaultTypes() - CORE/src/ORM/Query/SelectQuery.php, line 202
Cake\ORM\Query\SelectQuery->__construct() - CORE/src/ORM/Query/QueryFactory.php, line 34
Cake\ORM\Query\QueryFactory->select() - CORE/src/ORM/Table.php, line 1755
Cake\ORM\Table->selectQuery() - CORE/src/ORM/Table.php, line 1294
Cake\ORM\Table->find() - ROOT/plugins/baser-core/src/BaserCorePlugin.php, line 276
BaserCore\BaserCorePlugin->getAvailableThemes() - ROOT/plugins/baser-core/src/BaserCorePlugin.php, line 169
BaserCore\BaserCorePlugin->bootstrap() - CORE/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() - CORE/src/Console/CommandRunner.php, line 192
Cake\Console\CommandRunner->bootstrap() - CORE/src/Console/CommandRunner.php, line 137
Cake\Console\CommandRunner->run() - ROOT/bin/cake.php, line 10
[main] - [main], line 0
root@41f73c2f3f55:/var/www/html#
PS C:\Users\escap\OneDrive\dev\02_study\04_tool\basercms\basercms\docker> docker-compose logs -f bc-pg
bc-pg | The files belonging to this database system will be owned by user "postgres".
bc-pg | This user must also own the server process.
bc-pg |
bc-pg | The database cluster will be initialized with locale "en_US.utf8".
bc-pg | The default text search configuration will be set to "english".
bc-pg |
bc-pg | Data page checksums are disabled.
bc-pg |
bc-pg | fixing permissions on existing directory /var/lib/postgresql/data ... ok
bc-pg | creating subdirectories ... ok
bc-pg | selecting dynamic shared memory implementation ... posix
bc-pg | selecting default max_connections ... 100
bc-pg | selecting default shared_buffers ... 128MB
bc-pg | selecting default time zone ... Etc/UTC
bc-pg | creating configuration files ... ok
bc-pg | running bootstrap script ... ok
bc-pg | performing post-bootstrap initialization ... ok
bc-pg | initdb: warning: enabling "trust" authentication for local connections
bc-pg | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
bc-pg | syncing data to disk ... ok
bc-pg |
bc-pg |
bc-pg | Success. You can now start the database server using:
bc-pg |
bc-pg | pg_ctl -D /var/lib/postgresql/data -l logfile start
bc-pg |
bc-pg | waiting for server to start....2024-11-27 12:11:24.584 UTC [48] LOG: starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
bc-pg | 2024-11-27 12:11:24.587 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
bc-pg | 2024-11-27 12:11:24.595 UTC [51] LOG: database system was shut down at 2024-11-27 12:11:23 UTC
bc-pg | 2024-11-27 12:11:24.599 UTC [48] LOG: database system is ready to accept connections
bc-pg | done
bc-pg | server started
bc-pg | CREATE DATABASE
bc-pg |
bc-pg |
bc-pg | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
bc-pg | CREATE DATABASE
bc-pg | CREATE DATABASE
bc-pg |
bc-pg |
bc-pg | waiting for server to shut down...2024-11-27 12:11:25.094 UTC [48] LOG: received fast shutdown request
bc-pg | .2024-11-27 12:11:25.098 UTC [48] LOG: aborting any active transactions
bc-pg | 2024-11-27 12:11:25.100 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
bc-pg | 2024-11-27 12:11:25.100 UTC [49] LOG: shutting down
bc-pg | 2024-11-27 12:11:25.103 UTC [49] LOG: checkpoint starting: shutdown immediate
bc-pg | 2024-11-27 12:11:25.547 UTC [49] LOG: checkpoint complete: wrote 2742 buffers (16.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.039 s, sync=0.385 s, total=0.447 s; sync files=740, longest=0.085 s, average=0.001 s; distance=12650 kB, estimate=12650 kB
bc-pg | 2024-11-27 12:11:25.553 UTC [48] LOG: database system is shut down
bc-pg | done
bc-pg | server stopped
bc-pg |
bc-pg | PostgreSQL init process complete; ready for start up.
bc-pg |
bc-pg | 2024-11-27 12:11:25.617 UTC [1] LOG: starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
bc-pg | 2024-11-27 12:11:25.617 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
bc-pg | 2024-11-27 12:11:25.617 UTC [1] LOG: listening on IPv6 address "::", port 5432
bc-pg | 2024-11-27 12:11:25.635 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
bc-pg | 2024-11-27 12:11:25.642 UTC [66] LOG: database system was shut down at 2024-11-27 12:11:25 UTC
bc-pg | 2024-11-27 12:11:25.649 UTC [1] LOG: database system is ready to accept connections
bc-pg | 2024-11-27 12:16:25.696 UTC [64] LOG: checkpoint starting: time
bc-pg | 2024-11-27 12:16:29.846 UTC [64] LOG: checkpoint complete: wrote 44 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.118 s, sync=0.010 s, total=4.150 s; sync files=12, longest=0.005 s, average=0.001 s; distance=252 kB, estimate=252 kB