solidtime-io / self-hosting-examples

Example self-hosting setups for solidtime
MIT License
22 stars 2 forks source link

cant run #6

Closed mikestaub closed 1 week ago

mikestaub commented 2 weeks ago

using the traefik version on docker for mac:

docker compose up -d network reverse-proxy-docker-traefik_routing declared as external, but could not be found

Uter1007 commented 2 weeks ago

[2024-11-08 17:11:16] production.ERROR: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "jobs" does not exist queue-1 | LINE 1: select from "jobs" where "queue" = $1 and (("reserved_at" ... queue-1 | ^ (Connection: pgsql, SQL: select from "jobs" where "queue" = default and (("reserved_at" is null and "available_at" <= 1731085876) or ("reserved_at" <= 1731085786)) order by "id" asc limit 1 FOR UPDATE SKIP LOCKED) {"exception":"[object] (Illuminate\Database\QueryException(code: 42P01): SQLSTATE[42P01]: Undefined table: 7 ERROR: relation \"jobs\" does not exist

taliba570 commented 2 weeks ago

what a waste of time, it doesn't work 1-docker-with-database-scheduler-run-daedac9b2566

keep stopping database-scheduler and doesn't gives any error, initially it was not setting the app_key in the env I somehow fixed it but still doesn't works

taliba570 commented 2 weeks ago

I hope the team gets more serious and don't release broken versions. And what's the point of promoting it when it doesn't work.

korridor commented 1 week ago

@mikestaub I assume you used the example 0-docker-traefik-with-database. If you read the README under "Prerequisites" it clearly states that you need Traefik set up for this to work, this is why you get the error. The network is the external network name of the Traefik that is configurable. If you use the repository linked in the README the name of the external network would be reverse-proxy-docker-traefik_routing. If you need more information about the setup please read our very detailed documentation.

korridor commented 1 week ago

@Uter1007 I assume you did not run the migrations. Please read our step-by-step guide here: https://docs.solidtime.io/self-hosting/guides/docker#5-migrate-database

korridor commented 1 week ago

@taliba570 If you think the release is broken, which I highly doubt is your issue, please provide at least some information for us to be able to reproduce your issue.

Until then I can only advice you to read our documentation.