-
Notifications
You must be signed in to change notification settings - Fork 140
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
Can't upload image over 110k #345
Comments
I am experiencing the same problem, did you find a solution ?
|
same error here, with Redmine running in docker container when uploading image to ckeditor (POST method in Redmine logs). We do not have this error when posting same files to tickets attachments. here is my Redmine environment:
interesting parts from docker-compose.yml
from redmine log:
redmine log when failling to upload, with image larger than about 135Ko :
|
Same problem. Is there some place I can config the upload image size limit? |
Hi, in case anyone is still following this issue, I found the fix on a StackOverflow post : https://stackoverflow.com/questions/76716910/cant-upload-image-on-redmine-5-using-ckeditor Edit This fixed the bug for me, using Redmine 5.1.0 with CKEditor plugin fork from https://www.redmine-x.com/redminex-ck-editor-free |
I running a redmine 4.2.5.stable in docker based on the docker official image. After installed redmine_ckeditor I found pictures over 110k can't be uploaded.
Error Message:
Completed 500 Internal Server Error in 29ms (ActiveRecord: 20.2ms)
TypeError (no implicit conversion of nil into String):
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Meanwhile I can upload attachments, I also set the limitation of file upload size, but it doesn't work to redmine_ckeditor
I also found small pictures will be uploaded to /tmp first, error ones will not appear in /tmp
I checked the /tmp, it's not full, big enough. I also can download big files manually by redmine:redmine in tmp.
Well, is there any place where this limit can be set? Thanks a lot.
The text was updated successfully, but these errors were encountered: