-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Upload image does not handle suburl #1603
Comments
Thanks your feedback! But I'm not quite understood the problem you're describing:
How do you determine this is a chmod issue?
What do you mean by
Attachments are saved in |
The issue is that I don't know why it dosen't work and I don't get any clue why. Do I have to create the folder data/attachments? |
Can you take a screenshot for comment page after uploaded a image that is failed?
No |
Please take another screenshot for you uploaded image but not yet click on "comment" button. |
And what does web console says about this image request? And log from Gogs? |
Thanks! Can you open the web console and see what is the response code for the |
GET |
Oh, seems I found the reason: our gogs installation is reachable under http://launix.de/gogs |
Right! |
I've pushed fix to |
Maybe it makes sense for you to test from an installation with a non-empty suburl to prevent any of these flaws. |
@carli2 yeah, I'll try to setup a local installation with suburl while developing. |
Closed as fixed. |
Allows the deletion of a webhook from a repository at the /:user/:repo/hooks/:id endpoint. Solves drone/drone issue gogs#1603. Signed-off-by: Dennis Chen <barracks510@gmail.com>
Allows the deletion of a webhook from a repository at the /:user/:repo/hooks/:id endpoint. Solves drone/drone issue gogs#1603. Signed-off-by: Dennis Chen <barracks510@gmail.com>
Allows the deletion of a webhook from a repository at the /:user/:repo/hooks/:id endpoint. Solves drone/drone issue #1603. Signed-off-by: Dennis Chen <barracks510@gmail.com>
It would be nice to have some log message like "please chmod 666 on folder xyz" or similar. Uploads don't work. I just see a broken image.
Uploading creates a database entry in table attachment. /home/gogs shows no additional files.
The text was updated successfully, but these errors were encountered: