Skip to content

500 error, Unable to view organisation Dashboard when using MSSQL. #2626

@sgtwilko

Description

@sgtwilko
  • Gitea version (or commit ref): 1.2.0+rc1-6-g002fa73 built with: bindata, sqlite

  • Git version: 2.14.1.windows.1

  • Operating system: Windows Server 2008R2

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant (I did try but couldn't replicate because try.gitea.io probably isn't using MSSQL for the database)
  • Log gist:

[...routers/user/home.go:137 Dashboard()] [E] env.MirrorRepos: MirrorRepoIDs: mssql: Column "repository.updated_unix" is invalid in the ORDER BY clause because it is not contained in either an aggregate function or the GROUP BY clause.

Description

When changing to view an organisation dashboard you receive a 500 error.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions