Login not possible #2110

Closed
opened 2025-11-02 04:24:28 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @d00ndy on GitHub (Jul 29, 2018).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • [x ] Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I am not able to login after opening gittea start page. Only 404 error is shown.
Error message in gotten.log: 2018/07/29 13:41:15 [...s/context/context.go:147 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: , name: user]

Screenshots

Originally created by @d00ndy on GitHub (Jul 29, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) 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): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description I am not able to login after opening gittea start page. Only 404 error is shown. Error message in gotten.log: 2018/07/29 13:41:15 [...s/context/context.go:147 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: , name: user] ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:24:28 -06:00
Author
Owner

@techknowlogick commented on GitHub (Jul 29, 2018):

Thanks for the report @d00ndy
Would you be able to provide more information such as which version of Gitea you are using, which OS you are using, and which version of Git you are using?

@techknowlogick commented on GitHub (Jul 29, 2018): Thanks for the report @d00ndy Would you be able to provide more information such as which version of Gitea you are using, which OS you are using, and which version of Git you are using?
Author
Owner

@d00ndy commented on GitHub (Jul 30, 2018):

Hello,
I am using git version 2.7.4 and Gitea version 280ebcb built with: bindata, sqlite

Example page: https://knupfer.biz/git/

Further Logging:
2018/07/30 12:00:55 [I] Log Mode: File(Debug)
2018/07/30 12:00:55 [I] XORM Log Mode: File(Debug)
2018/07/30 12:00:55 [I] Cache Service Enabled
2018/07/30 12:00:55 [I] Session Service Enabled
2018/07/30 12:00:55 [I] Git Version: 2.7.4
2018/07/30 12:00:55 [I] SQLite3 Supported
2018/07/30 12:00:55 [I] Run Mode: Production
2018/07/30 12:00:56 [I] Listen: http://0.0.0.0:3000/git
2018/07/30 12:00:56 [I] LFS server enabled
2018/07/30 12:01:23 [D] Session ID: ABC
2018/07/30 12:01:23 [D] CSRF Token: XXX
2018/07/30 12:01:23 [D] Template: home
2018/07/30 12:01:24 [D] Session ID: ABC
2018/07/30 12:01:24 [D] CSRF Token: XXX
2018/07/30 12:01:24 [...s/context/context.go:147 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: , name: user]
2018/07/30 12:01:24 [D] Template: status/404

@d00ndy commented on GitHub (Jul 30, 2018): Hello, I am using git version 2.7.4 and Gitea version 280ebcb built with: bindata, sqlite Example page: https://knupfer.biz/git/ Further Logging: 2018/07/30 12:00:55 [I] Log Mode: File(Debug) 2018/07/30 12:00:55 [I] XORM Log Mode: File(Debug) 2018/07/30 12:00:55 [I] Cache Service Enabled 2018/07/30 12:00:55 [I] Session Service Enabled 2018/07/30 12:00:55 [I] Git Version: 2.7.4 2018/07/30 12:00:55 [I] SQLite3 Supported 2018/07/30 12:00:55 [I] Run Mode: Production 2018/07/30 12:00:56 [I] Listen: http://0.0.0.0:3000/git 2018/07/30 12:00:56 [I] LFS server enabled 2018/07/30 12:01:23 [D] Session ID: ABC 2018/07/30 12:01:23 [D] CSRF Token: XXX 2018/07/30 12:01:23 [D] Template: home 2018/07/30 12:01:24 [D] Session ID: ABC 2018/07/30 12:01:24 [D] CSRF Token: XXX 2018/07/30 12:01:24 [...s/context/context.go:147 NotFoundOrServerError()] [E] GetRepositoryByOwnerAndName: repository does not exist [id: 0, uid: 0, owner_name: , name: user] 2018/07/30 12:01:24 [D] Template: status/404
Author
Owner

@lafriks commented on GitHub (Jul 30, 2018):

Looks like you have not set correctly reverse proxy. See in docs how to setup it with subdirectory

@lafriks commented on GitHub (Jul 30, 2018): Looks like you have not set correctly reverse proxy. See in docs how to setup it with subdirectory
Author
Owner

@lafriks commented on GitHub (Jul 30, 2018):

Please use forum for such questions

@lafriks commented on GitHub (Jul 30, 2018): Please use forum for such questions
Author
Owner

@d00ndy commented on GitHub (Jul 30, 2018):

All working now. It was trailing blank in the apache configuration. Thanks for your help!

@d00ndy commented on GitHub (Jul 30, 2018): All working now. It was trailing blank in the apache configuration. Thanks for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2110