Internal Server Error 500 #812

Closed
opened 2025-11-02 03:37:33 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @ghost on GitHub (Jun 13, 2017).

  • Gitea version (or commit ref): d3efca3
  • Git version: 2.1.4
  • Operating system: Debian Jessie 8.8 x64
  • 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:
    Not sure how to get this.

Description

Folder is unavailable and throws an internal server error, however files within the folder can be accessed if appended manually in url. Only folder that is affected.
...

Screenshots

screenshot at 2017-06-13 19-30-53
screenshot at 2017-06-13 19-23-12

Originally created by @ghost on GitHub (Jun 13, 2017). - Gitea version (or commit ref): d3efca3 - Git version: 2.1.4 - Operating system: Debian Jessie 8.8 x64 - 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: Not sure how to get this. ## Description Folder is unavailable and throws an internal server error, however files within the folder can be accessed if appended manually in url. Only folder that is affected. ... ## Screenshots ![screenshot at 2017-06-13 19-30-53](https://user-images.githubusercontent.com/7034850/27109156-1159b8f2-506f-11e7-809b-c3a852a839d8.png) ![screenshot at 2017-06-13 19-23-12](https://user-images.githubusercontent.com/7034850/27109155-11598df0-506f-11e7-8bbc-c6c6c61ae127.png)
GiteaMirror added the type/bug label 2025-11-02 03:37:33 -06:00
Author
Owner

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

any detail on console or log?

@lunny commented on GitHub (Jun 14, 2017): any detail on console or log?
Author
Owner

@ghost commented on GitHub (Jun 14, 2017):

2017/06/13 21:06:24 [...routers/repo/view.go:53 renderDirectory()] [E] GetCommitsInfo: object does not exist [id: , rel_path: .gitmodules]

That looks like the only error I can see.
Sorry, I forgot gitea had dedicated logs, and took me awhile to find them. I am new to this.

Edit: I realize the replication error is for try.gitea.io and I am self-hosting this. I will edit main post.

@ghost commented on GitHub (Jun 14, 2017): > 2017/06/13 21:06:24 [...routers/repo/view.go:53 renderDirectory()] [E] GetCommitsInfo: object does not exist [id: , rel_path: .gitmodules] That looks like the only error I can see. Sorry, I forgot gitea had dedicated logs, and took me awhile to find them. I am new to this. Edit: I realize the replication error is for try.gitea.io and I am self-hosting this. I will edit main post.
Author
Owner

@cez81 commented on GitHub (Jun 14, 2017):

Any submodules in that directory?

@cez81 commented on GitHub (Jun 14, 2017): Any submodules in that directory?
Author
Owner

@ghost commented on GitHub (Jun 14, 2017):

Ah that's it.

There's not any submodule in that parent directory, but a subdirectory within it has a .git folder, and that's the only subdirectory that won't manually load by editing the url. I removed the .git folder in that directory and pushed a commit and the error occurs, though, it doesn't say it modified the folder with the new commit, and I can't access it to make sure it removed the .git folder.

@ghost commented on GitHub (Jun 14, 2017): Ah that's it. There's not any submodule in that parent directory, but a subdirectory within it has a .git folder, and that's the only subdirectory that won't manually load by editing the url. I removed the .git folder in that directory and pushed a commit and the error occurs, though, it doesn't say it modified the folder with the new commit, and I can't access it to make sure it removed the .git folder.
Author
Owner

@andreynering commented on GitHub (Jun 14, 2017):

I think this may be related to https://github.com/go-gitea/gitea/issues/1933

@andreynering commented on GitHub (Jun 14, 2017): I think this may be related to https://github.com/go-gitea/gitea/issues/1933
Author
Owner

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

Is there anyway you can replicate this on try.gitea.io with a repo that you don't mind sharing? Otherwise it might be hard to debug :(

@bkcsoft commented on GitHub (Jun 15, 2017): Is there anyway you can replicate this on try.gitea.io with a repo that you don't mind sharing? Otherwise it might be hard to debug :(
Author
Owner

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

What I can do is clone my repo and omit the private parts, leaving the public code, and the submodule causing the error is in the public part to begin with. I'll post back when I have it setup with a link.

@ghost commented on GitHub (Jun 15, 2017): What I can do is clone my repo and omit the private parts, leaving the public code, and the submodule causing the error is in the public part to begin with. I'll post back when I have it setup with a link.
Author
Owner

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

Here you go, with the same error:
https://try.gitea.io/notstevek/suptv-public
page with error:
https://try.gitea.io/notstevek/suptv-public/src/master/js/chat

everything in /js/chat/:
At.js-master
bootstrap
Caret.js-master
client-pedro.js
client.js
jquery.form
wdt-emoji-bundle
bgrins-spectrum-98454b5
bootstrap-filestyle
jquery-3.1.1
Remodal-1.1.0

folder that has the .git folder:
https://try.gitea.io/notstevek/suptv-public/src/master/js/chat/wdt-emoji-bundle

@ghost commented on GitHub (Jun 15, 2017): Here you go, with the same error: https://try.gitea.io/notstevek/suptv-public page with error: https://try.gitea.io/notstevek/suptv-public/src/master/js/chat everything in /js/chat/: At.js-master bootstrap Caret.js-master client-pedro.js client.js jquery.form wdt-emoji-bundle bgrins-spectrum-98454b5 bootstrap-filestyle jquery-3.1.1 Remodal-1.1.0 folder that has the .git folder: https://try.gitea.io/notstevek/suptv-public/src/master/js/chat/wdt-emoji-bundle
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#812