Hello
I installed my pod Diaspora under YunoHost with docker with this link: https://github.com/aymhce/diasporadocker_ynh
I am on YunoHost 3.0.1 with the Debian 9 distribution.
When I want to upload an image I have an internal server error and no image is downloaded. The folder Public/uploads/images is well configured with the diaspora account and write but it still does not work. I can write text but not upload images.
I tested with Firefox 60 under Ubuntu 18.04 and on IE 11 with Windows 7.
I encountered the same problem on debian 8.
I tested several tracks but without success:
I’m getting a 500 error page
Oh noes, you might have hit a bug in diaspora *! But this can also be caused by a setup problem, like an incorrectly setup custom landing page, an old Redis version or a database connectivity issue.
Make sure you find a way to reproduce the issue.
Run tail -f log / production.log. Watch the output closely as you reproduce the issue.
If you can not make sense of the message, reach out to us, see How we communicate. When doing so, you have to take steps to reproduce it.
If told to open an issue, go to https://github.com/diaspora/diaspora/issues. Again make sure to provide the steps to reproduce the problem as well as the log output.
I did a tail -f log/production.log and here is the result:
[2018-06-20T21:05:34] INFO PID-352 TID-46970689171260 ActionController::Base: Parameters: {""=>“1529528734575”}
[2018-06-20T21:05:34] INFO PID-352 TID-46970689171260 ActionController::Base: Completed 200 OK in 116ms (Views: 40.3ms | ActiveRecord: 44.3ms)
[2018-06-20T21:05:36] INFO PID-352 TID-46970689171260 Rails: Started GET "/stream?max_time=1529452845&=1529528734576" for 172.18.0.1 at 2018-06-20 21:05:36 +0000
[2018-06-20T21:05:36] INFO PID-352 TID-46970689171260 ActionController::Base: Processing by StreamsController#multi as JSON
[2018-06-20T21:05:36] INFO PID-352 TID-46970689171260 ActionController::Base: Parameters: {“max_time”=>“1529452845”, “"=>“1529528734576”}
[2018-06-20T21:05:36] INFO PID-352 TID-46970689171260 ActionController::Base: Completed 200 OK in 53ms (Views: 0.6ms | ActiveRecord: 26.9ms)
[2018-06-20T21:05:37] INFO PID-352 TID-46970689171260 Rails: Started GET "/stream?max_time=1529452845&=1529528734577” for 172.18.0.1 at 2018-06-20 21:05:37 +0000
[2018-06-20T21:05:37] INFO PID-352 TID-46970689171260 ActionController::Base: Processing by StreamsController#multi as JSON
[2018-06-20T21:05:37] INFO PID-352 TID-46970689171260 ActionController::Base: Parameters: {“max_time”=>“1529452845”, “_”=>“1529528734577”}
[2018-06-20T21:05:37] INFO PID-352 TID-46970689171260 ActionController::Base: Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 36.3ms)
[2018-06-20T21:06:00] INFO PID-352 TID-46970689171260 Rails: Started POST “/photos” for 172.18.0.1 at 2018-06-20 21:06:00 +0000
[2018-06-20T21:06:00] INFO PID-352 TID-46970689171260 ActionController::Base: Processing by PhotosController#create as JSON
[2018-06-20T21:06:00] INFO PID-352 TID-46970689171260 ActionController::Base: Parameters: {“authenticity_token”=>“dRXE+LKagPPFOIi6WSwMcRIS7d0hbZsKrFvtZ37ed4aTHX147DQ5ToJfKCoz5tfufc8w+q88SFN4aBoEj5216Q==”, “photo”=>{“pending”=>“true”}, “qquuid”=>“c8931439-896a-4ba0-94ce-f74d6c4e4796”, “qqfilename”=>“ed833f4e6207f723.jpg”, “qqtotalfilesize”=>“4171”, “qqfile”=>#<ActionDispatch::Http::UploadedFile:0x00557075bd88d8 @tempfile=#Tempfile:/tmp/RackMultipart20180620-352-1d7sbwa.jpg, @original_filename=“ed833f4e6207f723.jpg”, @content_type=“image/jpeg”, @headers=“Content-Disposition: form-data; name=“qqfile”; filename=“ed833f4e6207f723.jpg”\r\nContent-Type: image/jpeg\r\n”>}
[2018-06-20T21:06:00] INFO PID-352 TID-46970689171260 ActionController::Base: Completed 500 Internal Server Error in 261ms (ActiveRecord: 2.6ms)
[2018-06-20T21:06:00] FATAL PID-352 TID-46970689171260 Rails:
[2018-06-20T21:06:00] FATAL PID-352 TID-46970689171260 Rails: NoMethodError (undefined method match' for nil:NilClass): [2018-06-20T21:06:00] FATAL PID-352 TID-46970689171260 Rails: [2018-06-20T21:06:00] FATAL PID-352 TID-46970689171260 Rails: app/models/photo.rb:101:in
update_remote_path’
app/models/photo.rb:91:in diaspora_initialize' app/models/user.rb:235:in
build_post’
app/controllers/photos_controller.rb:138:in legacy_create' app/controllers/photos_controller.rb:47:in
block in create’
app/controllers/photos_controller.rb:168:in rescuing_photo_errors' app/controllers/photos_controller.rb:46:in
create’
[2018-06-20T21:06:39] INFO PID-349 TID-46970689171260 Rails: Started POST “/status_messages” for 172.18.0.1 at 2018-06-20 21:06:39 +0000
[2018-06-20T21:06:39] INFO PID-349 TID-46970689171260 ActionController::Base: Processing by StatusMessagesController#create as JSON
[2018-06-20T21:06:39] INFO PID-349 TID-46970689171260 ActionController::Base: Parameters: {“status_message”=>"[FILTERED]", “aspect_ids”=>“all_aspects”, “location_coords”=>"", “poll_question”=>"", “poll_answers”=>["", “”]}
[2018-06-20T21:06:40] INFO PID-349 TID-46970689171260 ActionController::Base: Completed 403 Forbidden in 532ms (Views: 1.9ms | ActiveRecord: 448.5ms)
Thank you in advance for your assistance