Repository rename with change owner generate log spam #3322

Closed
opened 2025-11-02 05:08:14 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @DoubleF1re on GitHub (May 13, 2019).

  • Gitea version (or commit ref): 1.8.1 and below
  • Git version: any
  • Operating system: Debian 8.11
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    2019/05/13 16:22:08 [...s/context/context.go:149 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: X, name: Y]

Description

This message spamming in logs after I rename repository from Y to Z and then from Z to Z1 and then change repository owner. Message very often - one per minute.

Originally created by @DoubleF1re on GitHub (May 13, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.8.1 and below - Git version: any - Operating system: Debian 8.11 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: 2019/05/13 16:22:08 [...s/context/context.go:149 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: X, name: Y] ## Description This message spamming in logs after I rename repository from Y to Z and then from Z to Z1 and then change repository owner. Message very often - one per minute.
Author
Owner

@lunny commented on GitHub (May 18, 2019):

The log should be displayed when someone visit a non-exist repository.

@lunny commented on GitHub (May 18, 2019): The log should be displayed when someone visit a non-exist repository.
Author
Owner

@DoubleF1re commented on GitHub (May 23, 2019):

Yeah, thanx. Our Teamcity with broken configuration cause Gitea this exception.

@DoubleF1re commented on GitHub (May 23, 2019): Yeah, thanx. Our Teamcity with broken configuration cause Gitea this exception.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3322