woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.32k stars 373 forks source link

Error: "Server could not find requested object" #1827

Closed dessalines closed 1 year ago

dessalines commented 1 year ago

Component

server

Describe the bug

Our server seems unable to see any logs now on next versions of woodpecker.

The logs are full of:

woodpecker_1  | {"level":"error","error":"stream: not found","time":"2023-06-05T14:18:59Z","message":"rpc server could not write to logger"}

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-ea895baf"}

woodpecker:                                                                                                                      image: woodpeckerci/woodpecker-server:next-alpine                                                                              restart: always                                                                                                                ports:                                                                                                                           - "127.0.0.1:4004:8000"                                                                                                        - "4005:9000"                                                                                                                environment:                                                                                                                     - WOODPECKER_HOST=https://...                                                                                                                                                                      - WOODPECKER_AGENT_SECRET=${DRONE_RPC_SECRET}                                                                                  - WOODPECKER_GITHUB=true                                                                                                       - WOODPECKER_GITHUB_CLIENT=${WOODPECKER_GITHUB_CLIENT}                                                                         - WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET}


### Additional context

_No response_

### Validations

- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).
- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).
- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.
- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).
6543 commented 1 year ago

-> #1802