OED Documentation

Production Install Output

Version V1.0.0

These features are only available to select people who oversee the OED site (called admins) so this information is not usually of interest to a general user.

Production Install Output

When OED is installed for production the output will be similar to what is below (assuming this is the first time running docker compose up). Please note:

  • This output was created on 20 October 2022 using OED v1.0.0. The exact output will vary with machine type and changes to OED.
  • There are often colors in the output but that is not shown.
$ docker compose up
[+] Building 1.1s (14/14) FINISHED                                                                                                                                                                                               
 => [database internal] load .dockerignore                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                             0.0s
 => [database internal] load build definition from Dockerfile                                                                                                                                                               0.0s
 => => transferring dockerfile: 462B                                                                                                                                                                                        0.0s
 => [database internal] load metadata for docker.io/library/postgres:15.3                                                                                                                                                   0.6s
 => [database internal] load build context                                                                                                                                                                                  0.0s
 => => transferring context: 58B                                                                                                                                                                                            0.0s
 => [database 1/2] FROM docker.io/library/postgres:15.3@sha256:8775adb39f0db45cf4cdb3601380312ee5e9c4f53af0f89b7dc5cd4c9a78e4e8                                                                                             0.0s
 => CACHED [database 2/2] COPY *.sql /docker-entrypoint-initdb.d/                                                                                                                                                           0.0s
 => [database] exporting to image                                                                                                                                                                                           0.0s
 => => exporting layers                                                                                                                                                                                                     0.0s
 => => writing image sha256:ba3e09eb972ccefbffd655742f4e94908b31530a172bacb4d41742e32551e136                                                                                                                                0.0s
 => => naming to docker.io/library/oed-database                                                                                                                                                                             0.0s
 => [web internal] load build definition from Dockerfile                                                                                                                                                                    0.0s
 => => transferring dockerfile: 614B                                                                                                                                                                                        0.0s
 => [web internal] load .dockerignore                                                                                                                                                                                       0.0s
 => => transferring context: 300B                                                                                                                                                                                           0.0s
 => [web internal] load metadata for docker.io/library/node:16.13.2                                                                                                                                                         0.2s
 => [web 1/3] FROM docker.io/library/node:16.13.2@sha256:2033f4cc18f9d8b5d0baa7f276aaeffd202e1a2c6fe9af408af05a34fe68cbfb                                                                                                   0.0s
 => => resolve docker.io/library/node:16.13.2@sha256:2033f4cc18f9d8b5d0baa7f276aaeffd202e1a2c6fe9af408af05a34fe68cbfb                                                                                                       0.0s
 => CACHED [web 2/3] RUN mkdir -p "/usr/src/app"                                                                                                                                                                            0.0s
 => CACHED [web 3/3] WORKDIR /usr/src/app                                                                                                                                                                                   0.0s
 => [web] exporting to image                                                                                                                                                                                                0.0s
 => => exporting layers                                                                                                                                                                                                     0.0s
 => => writing image sha256:d0c4a4f142cdd025c374ee6d0c64c153f5c4586976c94688f6689b9a2d4a4810                                                                                                                                0.0s
 => => naming to docker.io/library/oed-web                                                                                                                                                                                  0.0s
[+] Running 3/3
 ✔ Network oed_default       Created                                                                                                                                                                                        0.1s 
 ✔ Container oed-database-1  Created                                                                                                                                                                                        0.1s 
 ✔ Container oed-web-1       Created                                                                                                                                                                                        0.1s 
Attaching to oed-database-1, oed-web-1
oed-database-1  | The files belonging to this database system will be owned by user "postgres".
oed-database-1  | This user must also own the server process.
oed-database-1  | 
oed-database-1  | The database cluster will be initialized with locale "en_US.utf8".
oed-database-1  | The default database encoding has accordingly been set to "UTF8".
oed-database-1  | The default text search configuration will be set to "english".
oed-database-1  | 
oed-database-1  | Data page checksums are disabled.
oed-database-1  | 
oed-database-1  | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
oed-database-1  | creating subdirectories ... ok
oed-database-1  | selecting dynamic shared memory implementation ... posix
oed-database-1  | selecting default max_connections ... 100
oed-database-1  | selecting default shared_buffers ... 128MB
oed-database-1  | selecting default time zone ... Etc/UTC
oed-database-1  | creating configuration files ... ok
oed-web-1       | 
oed-web-1       | 
oed-web-1       | ***** Starting install of OED at Fri Oct 20 11:17:43 CDT 2023 *****
oed-web-1       | 
oed-web-1       | 
oed-web-1       | NPM install...
oed-web-1       | 
oed-database-1  | running bootstrap script ... ok
oed-database-1  | performing post-bootstrap initialization ... ok
oed-database-1  | syncing data to disk ... ok
oed-database-1  | 
oed-database-1  | 
oed-database-1  | Success. You can now start the database server using:
oed-database-1  | 
oed-database-1  |     pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start
oed-database-1  | 
oed-database-1  | initdb: warning: enabling "trust" authentication for local connections
oed-database-1  | 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.
oed-database-1  | waiting for server to start....2023-10-20 16:17:44.549 UTC [50] LOG:  starting PostgreSQL 15.3 (Debian 15.3-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
oed-database-1  | 2023-10-20 16:17:44.551 UTC [50] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
oed-database-1  | 2023-10-20 16:17:44.560 UTC [53] LOG:  database system was shut down at 2023-10-20 16:17:44 UTC
oed-database-1  | 2023-10-20 16:17:44.566 UTC [50] LOG:  database system is ready to accept connections
oed-database-1  |  done
oed-database-1  | server started
oed-database-1  | 
oed-database-1  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
oed-database-1  | CREATE ROLE
oed-database-1  | DROP DATABASE
oed-database-1  | psql:/docker-entrypoint-initdb.d/init.sql:6: NOTICE:  database "oed" does not exist, skipping
oed-database-1  | CREATE DATABASE
oed-database-1  | DROP DATABASE
oed-database-1  | psql:/docker-entrypoint-initdb.d/init.sql:8: NOTICE:  database "oed_testing" does not exist, skipping
oed-database-1  | CREATE DATABASE
oed-database-1  | ALTER ROLE
oed-database-1  | 
oed-database-1  | 
oed-database-1  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/nuke.sql
oed-database-1  | 2023-10-20 16:17:45.089 UTC [51] LOG:  checkpoint starting: immediate force wait
oed-database-1  | 2023-10-20 16:17:45.173 UTC [51] LOG:  checkpoint complete: wrote 927 buffers (5.7%); 1 WAL file(s) added, 0 removed, 0 recycled; write=0.020 s, sync=0.031 s, total=0.084 s; sync files=257, longest=0.023 s, 
average=0.001 s; distance=8450 kB, estimate=8450 kB
oed-database-1  | DROP DATABASE
oed-database-1  | 2023-10-20 16:17:45.183 UTC [51] LOG:  checkpoint starting: immediate force wait
oed-database-1  | 2023-10-20 16:17:45.195 UTC [51] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.013 s; sync files=3, longest=0.001 s, aver
age=0.001 s; distance=1 kB, estimate=7605 kB
oed-database-1  | DROP DATABASE
oed-database-1  | CREATE DATABASE
oed-database-1  | CREATE DATABASE
oed-database-1  | 
oed-database-1  | 
oed-database-1  | 2023-10-20 16:17:45.337 UTC [50] LOG:  received fast shutdown request
oed-database-1  | waiting for server to shut down....2023-10-20 16:17:45.338 UTC [50] LOG:  aborting any active transactions
oed-database-1  | 2023-10-20 16:17:45.345 UTC [50] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
oed-database-1  | 2023-10-20 16:17:45.345 UTC [51] LOG:  shutting down
oed-database-1  | 2023-10-20 16:17:45.346 UTC [51] LOG:  checkpoint starting: shutdown immediate
oed-database-1  | 2023-10-20 16:17:45.423 UTC [51] LOG:  checkpoint complete: wrote 1832 buffers (11.2%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.041 s, sync=0.028 s, total=0.078 s; sync files=498, longest=0.012 s
, average=0.001 s; distance=8447 kB, estimate=8447 kB
oed-database-1  | 2023-10-20 16:17:45.434 UTC [50] LOG:  database system is shut down
oed-database-1  |  done
oed-database-1  | server stopped
oed-database-1  | 
oed-database-1  | PostgreSQL init process complete; ready for start up.
oed-database-1  | 
oed-database-1  | 2023-10-20 16:17:45.467 UTC [1] LOG:  starting PostgreSQL 15.3 (Debian 15.3-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
oed-database-1  | 2023-10-20 16:17:45.467 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
oed-database-1  | 2023-10-20 16:17:45.468 UTC [1] LOG:  listening on IPv6 address "::", port 5432
oed-database-1  | 2023-10-20 16:17:45.469 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
oed-database-1  | 2023-10-20 16:17:45.475 UTC [68] LOG:  database system was shut down at 2023-10-20 16:17:45 UTC
oed-database-1  | 2023-10-20 16:17:45.480 UTC [1] LOG:  database system is ready to accept connections
oed-web-1       | 
oed-web-1       | added 1220 packages, and audited 1221 packages in 1m
oed-web-1       | 
oed-web-1       | 137 packages are looking for funding
oed-web-1       |   run `npm fund` for details
oed-web-1       | 
oed-web-1       | 10 vulnerabilities (6 moderate, 3 high, 1 critical)
oed-web-1       | 
oed-web-1       | To address issues that do not require attention, run:
oed-web-1       |   npm audit fix
oed-web-1       | 
oed-web-1       | To address all issues possible (including breaking changes), run:
oed-web-1       |   npm audit fix --force
oed-web-1       | 
oed-web-1       | Some issues need review, and may require choosing
oed-web-1       | a different dependency.
oed-web-1       | 
oed-web-1       | Run `npm audit` for details.
oed-web-1       | npm notice 
oed-web-1       | npm notice New major version of npm available! 8.1.2 -> 10.2.1
oed-web-1       | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
oed-web-1       | npm notice Run `npm install -g npm@10.2.1` to update!
oed-web-1       | npm notice 
oed-web-1       | 
oed-web-1       | NPM install finished.
oed-web-1       | 
oed-web-1       | Attempting to create database...
oed-web-1       | 
oed-web-1       | -----start of npm run createdb output-----
oed-web-1       | 
oed-web-1       | > open-energy-dashboard@1.0.0 createdb
oed-web-1       | > node ./src/server/services/createDB.js
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.012-05:00] Automatically set identifier of the unit "kWh" to "kWh"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.077-05:00] Automatically set identifier of the unit "BTU" to "BTU"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.084-05:00] Automatically set identifier of the unit "metric ton" to "metric ton"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.085-05:00] Automatically set identifier of the unit "m³ gas" to "m³ gas"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.087-05:00] Automatically set identifier of the unit "gallon" to "gallon"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.091-05:00] Automatically set identifier of the unit "Fahrenheit" to "Fahrenheit"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.095-05:00] Automatically set identifier of the unit "kg" to "kg"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.098-05:00] Automatically set identifier of the unit "Celsius" to "Celsius"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.101-05:00] Automatically set identifier of the unit "liter" to "liter"
oed-web-1       | 
oed-web-1       | [WARN@2023-10-20T11:18:52.109-05:00] Automatically set identifier of the unit "Electric_Utility" to "Electric_Utility"
oed-web-1       | 
oed-web-1       | -----end of npm run createdb output-----
oed-web-1       | 
oed-web-1       |   database creation had no errors so assume schema creation worked.
oed-web-1       | 
oed-web-1       | > open-energy-dashboard@1.0.0 webpack:build
oed-web-1       | > webpack build --node-env production
oed-web-1       | 
oed-web-1       | asset bundle.js 5.93 MiB [compared for emit] [minimized] [big] (name: application) 2 related assets
oed-web-1       | orphan modules 1.46 MiB [orphan] 404 modules
oed-web-1       | runtime modules 2.81 KiB 9 modules
oed-web-1       | javascript modules 13.2 MiB
oed-web-1       |   modules by path ./node_modules/ 12.1 MiB 397 modules
oed-web-1       |   modules by path ./src/ 1.15 MiB 172 modules
oed-web-1       | asset modules 4.4 KiB
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 281 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 279 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 161 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 271 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 181 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 165 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 161 bytes [built] [code generated]
oed-web-1       |   data:image/svg+xml,%3csvg xmlns=%27.. 295 bytes [built] [code generated]
oed-web-1       |   + 8 modules
oed-web-1       | webpack 5.76.0 compiled successfully in 200210 ms
oed-web-1       | OED install finished
oed-web-1       | Starting OED in production mode
oed-web-1       | 
oed-web-1       | > open-energy-dashboard@1.0.0 start
oed-web-1       | > node ./src/bin/www
oed-web-1       | 
oed-web-1       | [INFO@2023-10-20T11:22:35.803-05:00] Listening on port 3000