chmod: changing permissions of '/var/run/postgresql': Operation not permitted The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.utf8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are enabled. fixing permissions on existing directory /var/lib/postgresql/18/docker ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default "max_connections" ... 100 selecting default "shared_buffers" ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctl -D /var/lib/postgresql/18/docker -l logfile start initdb: warning: enabling "trust" authentication for local connections 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. waiting for server to start....2026-10-20 13:49:03.684 GMT [37] LOG: starting PostgreSQL 18.6 (Debian 18.6-1.pgdg13+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit 2026-10-20 13:49:03.687 GMT [37] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2026-10-20 13:49:03.713 GMT [43] LOG: database system was shut down at 2026-10-20 13:49:02 GMT 2026-10-20 13:49:03.741 GMT [37] LOG: database system is ready to accept connections done server started /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/00-init-custom-user.sh Creating custom user: planr and database: planr CREATE ROLE CREATE DATABASE GRANT ALTER DATABASE ✅ Custom user and database created successfully! 2026-10-20 13:49:04.408 GMT [37] LOG: received fast shutdown request waiting for server to shut down....2026-10-20 13:49:04.428 GMT [37] LOG: aborting any active transactions 2026-10-20 13:49:04.431 GMT [37] LOG: background worker "logical replication launcher" (PID 46) exited with exit code 1 2026-10-20 13:49:04.433 GMT [41] LOG: shutting down 2026-10-20 13:49:04.439 GMT [41] LOG: checkpoint starting: shutdown immediate 2026-10-20 13:49:04.825 GMT [41] LOG: checkpoint complete: wrote 952 buffers (5.8%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=0.332 s, sync=0.034 s, total=0.393 s; sync files=310, longest=0.026 s, average=0.001 s; distance=4365 kB, estimate=4365 kB; lsn=0/1BA4F48, redo lsn=0/1BA4F48 2026-10-20 13:49:04.864 GMT [37] LOG: database system is shut down done server stopped PostgreSQL init process complete; ready for start up. 2026-10-20 13:49:05.018 GMT [1] LOG: starting PostgreSQL 18.6 (Debian 18.6-1.pgdg13+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit 2026-10-20 13:49:05.018 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2026-10-20 13:49:05.018 GMT [1] LOG: listening on IPv6 address "::", port 5432 2026-10-20 13:49:05.027 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2026-10-20 13:49:05.065 GMT [60] LOG: database system was shut down at 2026-10-20 13:49:04 GMT 2026-10-20 13:49:05.097 GMT [1] LOG: database system is ready to accept connections 2026-10-20 13:54:05.588 GMT [58] LOG: checkpoint starting: time 2026-10-20 13:56:31.308 GMT [58] LOG: checkpoint complete: wrote 1439 buffers (8.8%), wrote 3 SLRU buffers; 1 WAL file(s) added, 0 removed, 0 recycled; write=145.284 s, sync=0.031 s, total=145.721 s; sync files=2382, longest=0.006 s, average=0.001 s; distance=16875 kB, estimate=16875 kB; lsn=0/2C264D8, redo lsn=0/2C1FDC0 2026-10-20 13:59:05.375 GMT [58] LOG: checkpoint starting: time 2026-10-20 13:59:06.413 GMT [58] LOG: checkpoint complete: wrote 10 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.006 s, sync=0.007 s, total=1.038 s; sync files=9, longest=0.004 s, average=0.001 s; distance=71 kB, estimate=15195 kB; lsn=0/2C32550, redo lsn=0/2C31DA8 2026-10-20 14:04:05.510 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:04:08.246 GMT [58] LOG: checkpoint complete: wrote 27 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.714 s, sync=0.005 s, total=2.737 s; sync files=19, longest=0.005 s, average=0.001 s; distance=197 kB, estimate=13695 kB; lsn=0/2C63F28, redo lsn=0/2C632A0 2026-10-20 14:09:05.342 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:09:07.279 GMT [58] LOG: checkpoint complete: wrote 19 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.912 s, sync=0.006 s, total=1.937 s; sync files=15, longest=0.004 s, average=0.001 s; distance=101 kB, estimate=12336 kB; lsn=0/2C7DA10, redo lsn=0/2C7C9D0 2026-10-20 14:14:05.375 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:14:07.919 GMT [58] LOG: checkpoint complete: wrote 25 buffers (0.2%), wrote 2 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.518 s, sync=0.007 s, total=2.545 s; sync files=17, longest=0.006 s, average=0.001 s; distance=156 kB, estimate=11118 kB; lsn=0/2CA40A0, redo lsn=0/2CA3B28 2026-10-20 14:19:06.018 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:19:07.556 GMT [58] LOG: checkpoint complete: wrote 15 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.511 s, sync=0.007 s, total=1.538 s; sync files=13, longest=0.006 s, average=0.001 s; distance=78 kB, estimate=10014 kB; lsn=0/2CB7BA8, redo lsn=0/2CB73C8 2026-10-20 14:24:06.652 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:24:09.796 GMT [58] LOG: checkpoint complete: wrote 31 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.118 s, sync=0.007 s, total=3.144 s; sync files=19, longest=0.006 s, average=0.001 s; distance=206 kB, estimate=9033 kB; lsn=0/2CEBC20, redo lsn=0/2CEAFB0 2026-10-20 14:29:06.894 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:29:08.334 GMT [58] LOG: checkpoint complete: wrote 14 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.414 s, sync=0.008 s, total=1.441 s; sync files=13, longest=0.006 s, average=0.001 s; distance=73 kB, estimate=8137 kB; lsn=0/2CFE638, redo lsn=0/2CFD5E8 2026-10-20 14:34:06.434 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:34:11.279 GMT [58] LOG: checkpoint complete: wrote 48 buffers (0.3%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=4.820 s, sync=0.005 s, total=4.846 s; sync files=24, longest=0.005 s, average=0.001 s; distance=271 kB, estimate=7350 kB; lsn=0/2D419D8, redo lsn=0/2D41508 2026-10-20 14:39:06.379 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:39:07.715 GMT [58] LOG: checkpoint complete: wrote 13 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.310 s, sync=0.007 s, total=1.337 s; sync files=12, longest=0.005 s, average=0.001 s; distance=71 kB, estimate=6622 kB; lsn=0/2D53970, redo lsn=0/2D53198 2026-10-20 14:44:06.799 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:44:09.749 GMT [58] LOG: checkpoint complete: wrote 29 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.923 s, sync=0.008 s, total=2.950 s; sync files=18, longest=0.006 s, average=0.001 s; distance=186 kB, estimate=5979 kB; lsn=0/2D829B8, redo lsn=0/2D81D28 2026-10-20 14:49:06.848 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:49:08.084 GMT [58] LOG: checkpoint complete: wrote 12 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.207 s, sync=0.010 s, total=1.236 s; sync files=12, longest=0.008 s, average=0.001 s; distance=71 kB, estimate=5388 kB; lsn=0/2D94A90, redo lsn=0/2D93AE8 2026-10-20 14:54:06.171 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:54:09.114 GMT [58] LOG: checkpoint complete: wrote 29 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.917 s, sync=0.007 s, total=2.944 s; sync files=17, longest=0.006 s, average=0.001 s; distance=173 kB, estimate=4867 kB; lsn=0/2DBF600, redo lsn=0/2DBF1B0 2026-10-20 14:59:06.212 GMT [58] LOG: checkpoint starting: time 2026-10-20 14:59:08.856 GMT [58] LOG: checkpoint complete: wrote 26 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.618 s, sync=0.006 s, total=2.644 s; sync files=15, longest=0.005 s, average=0.001 s; distance=178 kB, estimate=4398 kB; lsn=0/2DEC508, redo lsn=0/2DEBCD8 2026-10-20 15:04:06.957 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:04:10.299 GMT [58] LOG: checkpoint complete: wrote 33 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.318 s, sync=0.006 s, total=3.343 s; sync files=18, longest=0.004 s, average=0.001 s; distance=232 kB, estimate=3981 kB; lsn=0/2E25DD8, redo lsn=0/2E25D80 2026-10-20 15:09:06.382 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:09:07.815 GMT [58] LOG: checkpoint complete: wrote 14 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.411 s, sync=0.004 s, total=1.433 s; sync files=13, longest=0.004 s, average=0.001 s; distance=80 kB, estimate=3591 kB; lsn=0/2E3AEE8, redo lsn=0/2E39F38 2026-10-20 15:14:06.904 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:14:09.747 GMT [58] LOG: checkpoint complete: wrote 28 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.816 s, sync=0.008 s, total=2.843 s; sync files=16, longest=0.006 s, average=0.001 s; distance=179 kB, estimate=3250 kB; lsn=0/2E66CD8, redo lsn=0/2E66C80 2026-10-20 15:19:06.828 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:19:08.967 GMT [58] LOG: checkpoint complete: wrote 21 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.114 s, sync=0.006 s, total=2.140 s; sync files=16, longest=0.005 s, average=0.001 s; distance=132 kB, estimate=2938 kB; lsn=0/2E87E80, redo lsn=0/2E87E28 2026-10-20 15:24:07.067 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:24:10.617 GMT [58] LOG: checkpoint complete: wrote 35 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.523 s, sync=0.007 s, total=3.550 s; sync files=18, longest=0.005 s, average=0.001 s; distance=238 kB, estimate=2668 kB; lsn=0/2EC36D0, redo lsn=0/2EC3640 2026-10-20 15:29:07.716 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:29:09.356 GMT [58] LOG: checkpoint complete: wrote 16 buffers (0.1%), wrote 2 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.614 s, sync=0.008 s, total=1.641 s; sync files=13, longest=0.006 s, average=0.001 s; distance=100 kB, estimate=2411 kB; lsn=0/2EDCA38, redo lsn=0/2EDC9E0 2026-10-20 15:34:07.421 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:34:10.364 GMT [58] LOG: checkpoint complete: wrote 29 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.917 s, sync=0.007 s, total=2.944 s; sync files=16, longest=0.006 s, average=0.001 s; distance=203 kB, estimate=2190 kB; lsn=0/2F0F748, redo lsn=0/2F0F6F0 2026-10-20 15:39:07.446 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:39:08.783 GMT [58] LOG: checkpoint complete: wrote 13 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.310 s, sync=0.007 s, total=1.337 s; sync files=12, longest=0.005 s, average=0.001 s; distance=78 kB, estimate=1979 kB; lsn=0/2F232E8, redo lsn=0/2F23290 2026-10-20 15:44:07.881 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:44:10.924 GMT [58] LOG: checkpoint complete: wrote 30 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.016 s, sync=0.007 s, total=3.043 s; sync files=16, longest=0.006 s, average=0.001 s; distance=203 kB, estimate=1801 kB; lsn=0/2F55F08, redo lsn=0/2F55EB0 2026-10-20 15:49:08.021 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:49:11.162 GMT [58] LOG: checkpoint complete: wrote 31 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.118 s, sync=0.006 s, total=3.142 s; sync files=16, longest=0.004 s, average=0.001 s; distance=199 kB, estimate=1641 kB; lsn=0/2F87D98, redo lsn=0/2F87D40 2026-10-20 15:54:08.256 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:54:11.501 GMT [58] LOG: checkpoint complete: wrote 32 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.218 s, sync=0.008 s, total=3.246 s; sync files=17, longest=0.007 s, average=0.001 s; distance=210 kB, estimate=1498 kB; lsn=0/2FBC910, redo lsn=0/2FBC8B8 2026-10-20 15:59:08.598 GMT [58] LOG: checkpoint starting: time 2026-10-20 15:59:09.934 GMT [58] LOG: checkpoint complete: wrote 13 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.310 s, sync=0.008 s, total=1.337 s; sync files=12, longest=0.006 s, average=0.001 s; distance=75 kB, estimate=1356 kB; lsn=0/2FCF5B8, redo lsn=0/2FCF560 2026-10-20 16:04:09.034 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:04:12.072 GMT [58] LOG: checkpoint complete: wrote 30 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.016 s, sync=0.007 s, total=3.039 s; sync files=18, longest=0.006 s, average=0.001 s; distance=204 kB, estimate=1241 kB; lsn=0/3002758, redo lsn=0/3002700 2026-10-20 16:09:09.173 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:09:10.709 GMT [58] LOG: checkpoint complete: wrote 15 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.511 s, sync=0.008 s, total=1.537 s; sync files=12, longest=0.006 s, average=0.001 s; distance=100 kB, estimate=1127 kB; lsn=0/301BAE0, redo lsn=0/301BA88 2026-10-20 16:14:09.809 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:14:13.553 GMT [58] LOG: checkpoint complete: wrote 37 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.719 s, sync=0.007 s, total=3.745 s; sync files=17, longest=0.005 s, average=0.001 s; distance=269 kB, estimate=1041 kB; lsn=0/305F170, redo lsn=0/305F0E0 2026-10-20 16:19:09.653 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:19:10.987 GMT [58] LOG: checkpoint complete: wrote 13 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=1.310 s, sync=0.007 s, total=1.335 s; sync files=12, longest=0.005 s, average=0.001 s; distance=80 kB, estimate=945 kB; lsn=0/3073500, redo lsn=0/30734A8 2026-10-20 16:24:10.088 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:24:12.835 GMT [58] LOG: checkpoint complete: wrote 27 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.716 s, sync=0.012 s, total=2.748 s; sync files=15, longest=0.007 s, average=0.001 s; distance=178 kB, estimate=868 kB; lsn=0/309FF50, redo lsn=0/309FEF8 2026-10-20 16:29:10.908 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:29:13.048 GMT [58] LOG: checkpoint complete: wrote 21 buffers (0.1%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=2.114 s, sync=0.006 s, total=2.140 s; sync files=14, longest=0.005 s, average=0.001 s; distance=149 kB, estimate=796 kB; lsn=0/30C5748, redo lsn=0/30C56F0 2026-10-20 16:34:10.148 GMT [58] LOG: checkpoint starting: time 2026-10-20 16:34:13.695 GMT [58] LOG: checkpoint complete: wrote 35 buffers (0.2%), wrote 1 SLRU buffers; 0 WAL file(s) added, 0 removed, 0 recycled; write=3.519 s, sync=0.008 s, total=3.548 s; sync files=17, longest=0.007 s, average=0.001 s; distance=247 kB, estimate=741 kB; lsn=0/3103860, redo lsn=0/31033D0 failed to create fsnotify watcher: too many open files