Windows 7, Creating pull request gives 500 error #306

Closed
opened 2025-11-02 03:17:53 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @PrashamTrivedi on GitHub (Feb 1, 2017).

  • Gitea version (or commit ref): 1.0.1
  • Git version: 2.7.0Windows1
  • Operating system: Windows 7
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
Deleting old local copy [data\tmp\local-repo\1]: exit status 3
[...gitea/models/pull.go:432 testPatch()] [E] CreateRepositoryNotice: database table is locked
[...routers/repo/pull.go:706 CompareAndPullRequestPost()] [E] NewPullRequest: testPatch: UpdateLocalCopy: git clone master: exit status 128 - fatal: destination path 'data/tmp/local-repo/1' already exists and is not an empty directory.

Description

Upon clicking Create Pull Request button in my hosted server, I get 500 errors.
...

Additional Information.

  • Downloaded binary and running using windows service.
  • I can't see data/tmp/ anywhere.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41544331-windows-7-creating-pull-request-gives-500-error?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
Originally created by @PrashamTrivedi on GitHub (Feb 1, 2017). - Gitea version (or commit ref): 1.0.1 - Git version: 2.7.0Windows1 - Operating system: Windows 7 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ``` Deleting old local copy [data\tmp\local-repo\1]: exit status 3 [...gitea/models/pull.go:432 testPatch()] [E] CreateRepositoryNotice: database table is locked [...routers/repo/pull.go:706 CompareAndPullRequestPost()] [E] NewPullRequest: testPatch: UpdateLocalCopy: git clone master: exit status 128 - fatal: destination path 'data/tmp/local-repo/1' already exists and is not an empty directory. ``` ## Description Upon clicking `Create Pull Request` button in my hosted server, I get 500 errors. ... Additional Information. - Downloaded binary and running using windows service. - I can't see `data/tmp/` anywhere. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41544331-windows-7-creating-pull-request-gives-500-error?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the type/bug label 2025-11-02 03:17:53 -06:00
Author
Owner

@PrashamTrivedi commented on GitHub (Feb 2, 2017):

FYI: This issue doesn't happen in gitea 1.0.0+193-gea8c8cd with updated git version: 2.8.3

@PrashamTrivedi commented on GitHub (Feb 2, 2017): FYI: This issue doesn't happen in gitea 1.0.0+193-gea8c8cd with updated git version: 2.8.3
Author
Owner

@lunny commented on GitHub (Feb 26, 2017):

Since it will not happened in 1.1, I will move this to 1.0.3.

@lunny commented on GitHub (Feb 26, 2017): Since it will not happened in 1.1, I will move this to 1.0.3.
Author
Owner

@lunny commented on GitHub (Jun 15, 2017):

Since v1.0.3 has been dropped. I will close this. Please upgrade to 1.1.x instead.

@lunny commented on GitHub (Jun 15, 2017): Since v1.0.3 has been dropped. I will close this. Please upgrade to 1.1.x instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#306