Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./risedev d full encounters: ERROR - Failed to start: failed to wait for service postgres-8432 to be ready #18663

Closed
kwannoel opened this issue Sep 24, 2024 · 1 comment · Fixed by #18745
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@kwannoel
Copy link
Contributor

kwannoel commented Sep 24, 2024

Perhaps we need to adjust some timeout for the pg service.

ERROR - Failed to start: failed to wait for service `postgres-8432` to be ready

Caused by these errors (recent errors listed first):
  1: timeout when trying to connect
  2: pattern "ready to accept connections" not found in log

Workaround:
./risedev k; ./risedev d full after the error is encountered.

@kwannoel kwannoel added type/feature type/bug Something isn't working and removed type/feature labels Sep 24, 2024
@kwannoel kwannoel changed the title ./risedev d full encounters: ERROR - Failed to start: failed to wait for service postgres-8432 to be ready ./risedev d full encounters: ERROR - Failed to start: failed to wait for service postgres-8432 to be ready Sep 24, 2024
@github-actions github-actions bot added this to the release-2.1 milestone Sep 24, 2024
@BugenZhao BugenZhao self-assigned this Sep 26, 2024
@BugenZhao
Copy link
Member

Do you also encounter this as per the log?

2024-09-27 06:57:04.491 UTC [31] LOG:  could not link file "pg_wal/xlogtemp.31" to "pg_wal/000000010000000000000001": Invalid argument
2024-09-27 06:57:04.492 UTC [31] FATAL:  could not open file "pg_wal/000000010000000000000001": No such file or directory
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
Fri Sep 27 06:57:04 UTC 2024 [risedev]: Program exited with 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants