You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm struggling getting start with a docker setup and was hoping to get some help. I'm sure I am missing something obvious, but appreciate any suggestions you can throw my way.
Using the docker-compose.yaml pretty much out of the box, but added a 128char unique string for the hash.
webserver: nginx
credentials: admin/umami
I get an error where the public.account table cannot be found. Log from docker below:
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2021-07-03 01:04:33.750 UTC [1] LOG: starting PostgreSQL 12.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
db_1 | 2021-07-03 01:04:33.750 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2021-07-03 01:04:33.750 UTC [1] LOG: listening on IPv6 address "::", port 5432
db_1 | 2021-07-03 01:04:33.755 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2021-07-03 01:04:33.775 UTC [24] LOG: database system was shut down at 2021-07-03 01:04:29 UTC
db_1 | 2021-07-03 01:04:33.781 UTC [1] LOG: database system is ready to accept connections
umami_1 | yarn run v1.22.4
umami_1 | $ next start
umami_1 | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
umami_1 | info - Using webpack 5. Reason: no next.config.js https://nextjs.org/docs/messages/webpack5
db_1 | 2021-07-03 01:05:01.159 UTC [31] ERROR: relation "public.account" does not exist at character 201
db_1 | 2021-07-03 01:05:01.159 UTC [31] STATEMENT: SELECT "public"."account"."user_id", "public"."account"."username", "public"."account"."password", "public"."account"."is_admin", "public"."account"."created_at", "public"."account"."updated_at" FROM "public"."account" WHERE "public"."account"."username" = $1 LIMIT $2 OFFSET $3
umami_1 | PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]: The table `public.account` does not exist in the current database.
umami_1 | at cb (/app/node_modules/@prisma/client/runtime/index.js:35101:17)
umami_1 | at processTicksAndRejections (internal/process/task_queues.js:97:5) {
umami_1 | code: 'P2021',
umami_1 | clientVersion: '2.23.0',
umami_1 | meta: { table: 'public.account' }
umami_1 | }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I'm struggling getting start with a docker setup and was hoping to get some help. I'm sure I am missing something obvious, but appreciate any suggestions you can throw my way.
Beta Was this translation helpful? Give feedback.
All reactions