If you have previously installed the PostgreSQL database and it can skip installing the node modules then it will be faster and skip a number of steps. Below is typical output for this process. Please note:
./src/scripts/installOED.sh >> nohup.out 2>&1 &
and hit return. This should cause the
OED install to happen where you will see output in the nohup.out file. You can close the remote
connection, as usual, to stop OED.
[+] Building 0.0s (0/0) docker:default [+] Running 2/0 ✔ Container oed-database-1 Created 0.0s ✔ Container oed-web-1 Created 0.0s Attaching to oed-database-1, oed-web-1 oed-database-1 | oed-database-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization oed-database-1 | oed-web-1 | oed-web-1 | oed-web-1 | ***** Starting install of OED at Fri Oct 20 17:20:04 UTC 2023 ***** oed-web-1 | oed-web-1 | oed-web-1 | skipping NPM install as requested or because node_modules seems up to date oed-web-1 | oed-database-1 | 2023-10-20 17:20:04.454 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 17:20:04.456 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 oed-database-1 | 2023-10-20 17:20:04.457 UTC [1] LOG: listening on IPv6 address "::", port 5432 oed-database-1 | 2023-10-20 17:20:04.462 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" oed-database-1 | 2023-10-20 17:20:04.471 UTC [29] LOG: database system was shut down at 2023-10-19 18:43:13 UTC oed-database-1 | 2023-10-20 17:20:04.496 UTC [1] LOG: database system is ready to accept connections 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 | -----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 createUser oed-web-1 | > node ./src/server/services/user/createUser.js test@example.com password oed-web-1 | oed-web-1 | [INFO@2023-10-20T17:20:19.545+00:00] User test@example.com existed so not created oed-web-1 | oed-web-1 | User creation had no errors so default user 'test@example.com' with password 'password' should exist oed-web-1 | Creating developer DB function oed-web-1 | oed-web-1 | > open-energy-dashboard@1.0.0 developerdb oed-web-1 | > node -e 'require("./src/server/util/developer.js").createShiftReadingsFunction()' oed-web-1 | oed-web-1 | OED install finished oed-web-1 | Starting OED in development mode oed-web-1 | oed-web-1 | > open-energy-dashboard@1.0.0 start:dev oed-web-1 | > nodemon --legacy-watch --inspect=0.0.0.0 ./src/bin/www oed-web-1 | oed-web-1 | oed-web-1 | > open-energy-dashboard@1.0.0 webpack:dev oed-web-1 | > webpack watch --color --progress --mode development oed-web-1 | oed-web-1 | [nodemon] 2.0.22 oed-web-1 | [nodemon] to restart at any time, enter `rs` oed-web-1 | [nodemon] watching path(s): src/server/**/* src/bin/**/* src/common/**/* oed-web-1 | [nodemon] watching extensions: js,mjs,json oed-web-1 | [nodemon] starting `node --inspect=0.0.0.0 ./src/bin/www` oed-web-1 | Debugger listening on ws://0.0.0.0:9229/4450d153-6314-4eb6-af17-5b8a00a43f7c oed-web-1 | For help, see: https://nodejs.org/en/docs/inspector oed-web-1 | [INFO@2023-10-20T17:20:30.828+00:00] Listening on port 3000 oed-web-1 | oed-web-1 | <s> [webpack.Progress] 3% setup watch run oed-web-1 | <s> [webpack.Progress] 3% setup watch run webpack-cli oed-web-1 | <s> [webpack.Progress] 3% setup watch run oed-web-1 | <s> [webpack.Progress] 4% setup normal module factory oed-web-1 | <s> [webpack.Progress] 4% setup normal module factory LodashModuleReplacementPlugin oed-web-1 | <s> [webpack.Progress] 4% setup normal module factory oed-web-1 | <s> [webpack.Progress] 5% setup context module factory oed-web-1 | <s> [webpack.Progress] 5% setup context module factory oed-web-1 | <s> [webpack.Progress] 6% setup before compile oed-web-1 | <s> [webpack.Progress] 6% setup before compile ProgressPlugin oed-web-1 | <s> [webpack.Progress] 6% setup before compile oed-web-1 | <s> [webpack.Progress] 7% setup compile oed-web-1 | <s> [webpack.Progress] 7% setup compile ExternalsPlugin oed-web-1 | <s> [webpack.Progress] 7% setup compile oed-web-1 | <s> [webpack.Progress] 8% setup compilation oed-web-1 | <s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation WorkerPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation SplitChunksPlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation ResolverCachePlugin oed-web-1 | <s> [webpack.Progress] 8% setup compilation oed-web-1 | <s> [webpack.Progress] 9% setup compilation oed-web-1 | <s> [webpack.Progress] 9% setup compilation ProgressPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ProvidePlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ModuleInfoHeaderPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation JsonModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation AssetModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation EntryPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RuntimePlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation DataUriPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation FileUriPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation CompatibilityPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation AMDPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation CommonJsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation LoaderPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation LoaderPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation NodeStuffPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation APIPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ConstPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation UseStrictPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RequireIncludePlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RequireContextPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ImportPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RequireContextPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation SystemPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation ImportMetaPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation URLPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation NamedModuleIdsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation NamedChunkIdsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation DefinePlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation RecordIdsPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin oed-web-1 | <s> [webpack.Progress] 9% setup compilation oed-web-1 | <s> [webpack.Progress] 10% building oed-web-1 | <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules oed-web-1 | <s> [webpack.Progress] 10% building 0/1 entries 1/1 dependencies 0/0 modules oed-web-1 | <s> [webpack.Progress] 65% building 1/1 entries 3747/3747 dependencies 1071/1071 modules oed-web-1 | <s> [webpack.Progress] 65% building oed-web-1 | <s> [webpack.Progress] 69% building finish oed-web-1 | <s> [webpack.Progress] 69% building finish oed-web-1 | <s> [webpack.Progress] 70% sealing finish module graph oed-web-1 | <s> [webpack.Progress] 70% sealing finish module graph ResolverCachePlugin oed-web-1 | <s> [webpack.Progress] 70% sealing finish module graph InferAsyncModulesPlugin oed-web-1 | <s> [webpack.Progress] 70% sealing finish module graph FlagDependencyExportsPlugin oed-web-1 | <s> [webpack.Progress] 70% sealing finish module graph oed-web-1 | <s> [webpack.Progress] 70% sealing plugins oed-web-1 | <s> [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin oed-web-1 | <s> [webpack.Progress] 70% sealing plugins oed-web-1 | <s> [webpack.Progress] 71% sealing dependencies optimization oed-web-1 | <s> [webpack.Progress] 71% sealing dependencies optimization SideEffectsFlagPlugin oed-web-1 | <s> [webpack.Progress] 71% sealing dependencies optimization oed-web-1 | <s> [webpack.Progress] 71% sealing after dependencies optimization oed-web-1 | <s> [webpack.Progress] 71% sealing after dependencies optimization oed-web-1 | <s> [webpack.Progress] 72% sealing chunk graph oed-web-1 | <s> [webpack.Progress] 72% sealing chunk graph oed-web-1 | <s> [webpack.Progress] 73% sealing after chunk graph oed-web-1 | <s> [webpack.Progress] 73% sealing after chunk graph oed-web-1 | <s> [webpack.Progress] 73% sealing optimizing oed-web-1 | <s> [webpack.Progress] 73% sealing optimizing oed-web-1 | <s> [webpack.Progress] 74% sealing module optimization oed-web-1 | <s> [webpack.Progress] 74% sealing module optimization oed-web-1 | <s> [webpack.Progress] 75% sealing after module optimization oed-web-1 | <s> [webpack.Progress] 75% sealing after module optimization oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization EnsureChunkConditionsPlugin oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization MergeDuplicateChunksPlugin oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization SplitChunksPlugin oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin oed-web-1 | <s> [webpack.Progress] 75% sealing chunk optimization oed-web-1 | <s> [webpack.Progress] 76% sealing after chunk optimization oed-web-1 | <s> [webpack.Progress] 76% sealing after chunk optimization oed-web-1 | <s> [webpack.Progress] 77% sealing module and chunk tree optimization oed-web-1 | <s> [webpack.Progress] 77% sealing module and chunk tree optimization oed-web-1 | <s> [webpack.Progress] 77% sealing after module and chunk tree optimization oed-web-1 | <s> [webpack.Progress] 77% sealing after module and chunk tree optimization oed-web-1 | <s> [webpack.Progress] 78% sealing chunk modules optimization oed-web-1 | <s> [webpack.Progress] 78% sealing chunk modules optimization oed-web-1 | <s> [webpack.Progress] 78% sealing after chunk modules optimization oed-web-1 | <s> [webpack.Progress] 78% sealing after chunk modules optimization oed-web-1 | <s> [webpack.Progress] 79% sealing module reviving oed-web-1 | <s> [webpack.Progress] 79% sealing module reviving RecordIdsPlugin oed-web-1 | <s> [webpack.Progress] 79% sealing module reviving oed-web-1 | <s> [webpack.Progress] 80% sealing before module ids oed-web-1 | <s> [webpack.Progress] 80% sealing before module ids oed-web-1 | <s> [webpack.Progress] 80% sealing module ids oed-web-1 | <s> [webpack.Progress] 80% sealing module ids NamedModuleIdsPlugin oed-web-1 | <s> [webpack.Progress] 80% sealing module ids oed-web-1 | <s> [webpack.Progress] 81% sealing module id optimization oed-web-1 | <s> [webpack.Progress] 81% sealing module id optimization oed-web-1 | <s> [webpack.Progress] 82% sealing module id optimization oed-web-1 | <s> [webpack.Progress] 82% sealing module id optimization oed-web-1 | <s> [webpack.Progress] 82% sealing chunk reviving oed-web-1 | <s> [webpack.Progress] 82% sealing chunk reviving RecordIdsPlugin oed-web-1 | <s> [webpack.Progress] 82% sealing chunk reviving oed-web-1 | <s> [webpack.Progress] 83% sealing before chunk ids oed-web-1 | <s> [webpack.Progress] 83% sealing before chunk ids oed-web-1 | <s> [webpack.Progress] 84% sealing chunk ids oed-web-1 | <s> [webpack.Progress] 84% sealing chunk ids NamedChunkIdsPlugin oed-web-1 | <s> [webpack.Progress] 84% sealing chunk ids oed-web-1 | <s> [webpack.Progress] 84% sealing chunk id optimization oed-web-1 | <s> [webpack.Progress] 84% sealing chunk id optimization oed-web-1 | <s> [webpack.Progress] 85% sealing after chunk id optimization oed-web-1 | <s> [webpack.Progress] 85% sealing after chunk id optimization oed-web-1 | <s> [webpack.Progress] 86% sealing record modules oed-web-1 | <s> [webpack.Progress] 86% sealing record modules RecordIdsPlugin oed-web-1 | <s> [webpack.Progress] 86% sealing record modules oed-web-1 | <s> [webpack.Progress] 86% sealing record chunks oed-web-1 | <s> [webpack.Progress] 86% sealing record chunks RecordIdsPlugin oed-web-1 | <s> [webpack.Progress] 86% sealing record chunks oed-web-1 | <s> [webpack.Progress] 87% sealing module hashing oed-web-1 | <s> [webpack.Progress] 87% sealing module hashing oed-web-1 | <s> [webpack.Progress] 87% sealing code generation oed-web-1 | <s> [webpack.Progress] 87% sealing code generation oed-web-1 | <s> [webpack.Progress] 88% sealing runtime requirements oed-web-1 | <s> [webpack.Progress] 88% sealing runtime requirements oed-web-1 | <s> [webpack.Progress] 89% sealing hashing oed-web-1 | <s> [webpack.Progress] 89% sealing hashing oed-web-1 | <s> [webpack.Progress] 89% sealing after hashing oed-web-1 | <s> [webpack.Progress] 89% sealing after hashing oed-web-1 | <s> [webpack.Progress] 90% sealing record hash oed-web-1 | <s> [webpack.Progress] 90% sealing record hash oed-web-1 | <s> [webpack.Progress] 91% sealing module assets processing oed-web-1 | <s> [webpack.Progress] 91% sealing module assets processing oed-web-1 | <s> [webpack.Progress] 91% sealing chunk assets processing oed-web-1 | <s> [webpack.Progress] 91% sealing chunk assets processing oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin bundle.js restored cached SourceMap oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin oed-web-1 | <s> [webpack.Progress] 92% sealing asset processing oed-web-1 | <s> [webpack.Progress] 93% sealing after asset optimization oed-web-1 | <s> [webpack.Progress] 93% sealing after asset optimization oed-web-1 | <s> [webpack.Progress] 93% sealing recording oed-web-1 | <s> [webpack.Progress] 93% sealing recording oed-web-1 | <s> [webpack.Progress] 94% sealing after seal oed-web-1 | <s> [webpack.Progress] 94% sealing after seal oed-web-1 | <s> [webpack.Progress] 95% emitting emit oed-web-1 | <s> [webpack.Progress] 95% emitting emit oed-web-1 | <s> [webpack.Progress] 98% emitting after emit oed-web-1 | <s> [webpack.Progress] 98% emitting after emit SizeLimitsPlugin oed-web-1 | <s> [webpack.Progress] 98% emitting after emit oed-web-1 | <s> [webpack.Progress] 99% done plugins oed-web-1 | <s> [webpack.Progress] 99% done plugins IdleFileCachePlugin oed-web-1 | <s> [webpack.Progress] 99% done plugins oed-web-1 | <s> [webpack.Progress] 99% oed-web-1 | oed-web-1 | asset bundle.js 15 MiB [emitted] [big] (name: application) 1 related asset oed-web-1 | orphan modules 131 KiB [orphan] 67 modules oed-web-1 | runtime modules 2.82 KiB 9 modules oed-web-1 | modules by path ./node_modules/ 12.9 MiB 739 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 | + 10 modules oed-web-1 | webpack 5.76.0 compiled successfully in 27406 ms oed-web-1 | <s> [webpack.Progress] 99% cache store build dependencies oed-web-1 | <s> [webpack.Progress] 99% cache store build dependencies IdleFileCachePlugin oed-web-1 | <s> [webpack.Progress] 99% cache store build dependencies oed-web-1 | <s> [webpack.Progress] 99% cache begin idle oed-web-1 | <s> [webpack.Progress] 99% cache begin idle IdleFileCachePlugin oed-web-1 | <s> [webpack.Progress] 99% cache begin idle oed-web-1 | <s> [webpack.Progress] 100% oed-web-1 |
If you right click on the database web container in VSC and select "View Logs", it will open a terminal where you will see the messages from Postgres.