Skip to content

Internal Server Error 500 #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 6 tasks
ghost opened this issue Jun 13, 2017 · 8 comments · Fixed by go-gitea/git#68
Closed
2 of 6 tasks

Internal Server Error 500 #1966

ghost opened this issue Jun 13, 2017 · 8 comments · Fixed by go-gitea/git#68
Labels
Milestone

Comments

@ghost
Copy link

ghost commented 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

@lunny
Copy link
Member

lunny commented Jun 14, 2017

any detail on console or log?

@lunny lunny added this to the 1.2.0 milestone Jun 14, 2017
@lunny lunny added the type/bug label Jun 14, 2017
@ghost
Copy link
Author

ghost commented 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.

@cez81
Copy link
Contributor

cez81 commented Jun 14, 2017

Any submodules in that directory?

@ghost
Copy link
Author

ghost commented 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.

@andreynering
Copy link
Contributor

I think this may be related to #1933

@bkcsoft
Copy link
Member

bkcsoft commented 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 :(

@ghost
Copy link
Author

ghost commented 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
Copy link
Author

ghost commented 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

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants