Hello, I have installed Flarum and it was really hard for me because I don't use SSH but anyway, I've done this task! Now Flarum is installed on my server but I have an error when I try to upload an avatar ?
POST https://community.spreadrr.com/api/users/1/avatar
<br />
<b>Warning</b>: File upload error - unable to create a temporary file in <b>Unknown</b> on line <b>0</b><br />
{"errors":[{"code":500,"title":"Internal server error","detail":"RuntimeException: Cannot retrieve stream due to upload error in \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-diactoros\/src\/UploadedFile.php:138\nStack trace:\n#0 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Core\/Command\/UploadAvatarHandler.php(85): Zend\\Diactoros\\UploadedFile-\u003EmoveTo(\u0027\/home\/spreadrr\/...\u0027)\n#1 [internal function]: Flarum\\Core\\Command\\UploadAvatarHandler-\u003Ehandle(Object(Flarum\\Core\\Command\\UploadAvatar))\n#2 \/home\/spreadrr\/public_html\/+\/community\/vendor\/illuminate\/bus\/Dispatcher.php(202): call_user_func(Array, Object(Flarum\\Core\\Command\\UploadAvatar))\n#3 [internal function]: Illuminate\\Bus\\Dispatcher-\u003EIlluminate\\Bus\\{closure}(Object(Flarum\\Core\\Command\\UploadAvatar))\n#4 \/home\/spreadrr\/public_html\/+\/community\/vendor\/illuminate\/pipeline\/Pipeline.php(139): call_user_func(Object(Closure), Object(Flarum\\Core\\Command\\UploadAvatar))\n#5 [internal function]: Illuminate\\Pipeline\\Pipeline-\u003EIlluminate\\Pipeline\\{closure}(Object(Flarum\\Core\\Command\\UploadAvatar))\n#6 \/home\/spreadrr\/public_html\/+\/community\/vendor\/illuminate\/pipeline\/Pipeline.php(102): call_user_func(Object(Closure), Object(Flarum\\Core\\Command\\UploadAvatar))\n#7 \/home\/spreadrr\/public_html\/+\/community\/vendor\/illuminate\/bus\/Dispatcher.php(204): Illuminate\\Pipeline\\Pipeline-\u003Ethen(Object(Closure))\n#8 \/home\/spreadrr\/public_html\/+\/community\/vendor\/illuminate\/bus\/Dispatcher.php(177): Illuminate\\Bus\\Dispatcher-\u003EdispatchNow(Object(Flarum\\Core\\Command\\UploadAvatar), NULL)\n#9 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Api\/Controller\/UploadAvatarController.php(48): Illuminate\\Bus\\Dispatcher-\u003Edispatch(Object(Flarum\\Core\\Command\\UploadAvatar))\n#10 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Api\/Controller\/AbstractSerializeController.php(96): Flarum\\Api\\Controller\\UploadAvatarController-\u003Edata(Object(Zend\\Stratigility\\Http\\Request), Object(Tobscure\\JsonApi\\Document))\n#11 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Http\/GenerateRouteHandlerTrait.php(35): Flarum\\Api\\Controller\\AbstractSerializeController-\u003Ehandle(Object(Zend\\Stratigility\\Http\\Request))\n#12 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Http\/Middleware\/DispatchRoute.php(67): Flarum\\Api\\ApiServiceProvider-\u003EFlarum\\Http\\{closure}(Object(Zend\\Stratigility\\Http\\Request), Array)\n#13 [internal function]: Flarum\\Http\\Middleware\\DispatchRoute-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#14 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Dispatch.php(81): call_user_func(Object(Flarum\\Http\\Middleware\\DispatchRoute), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#15 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Next.php(113): Zend\\Stratigility\\Dispatch-\u003E__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#16 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Api\/Middleware\/FakeHttpMethods.php(32): Zend\\Stratigility\\Next-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#17 [internal function]: Flarum\\Api\\Middleware\\FakeHttpMethods-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#18 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Dispatch.php(81): call_user_func(Object(Flarum\\Api\\Middleware\\FakeHttpMethods), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#19 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Next.php(113): Zend\\Stratigility\\Dispatch-\u003E__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#20 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Http\/Middleware\/ParseJsonBody.php(30): Zend\\Stratigility\\Next-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#21 [internal function]: Flarum\\Http\\Middleware\\ParseJsonBody-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#22 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Dispatch.php(81): call_user_func(Object(Flarum\\Http\\Middleware\\ParseJsonBody), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#23 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Next.php(113): Zend\\Stratigility\\Dispatch-\u003E__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#24 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Api\/Middleware\/AuthenticateWithHeader.php(50): Zend\\Stratigility\\Next-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#25 [internal function]: Flarum\\Api\\Middleware\\AuthenticateWithHeader-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#26 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Dispatch.php(81): call_user_func(Object(Flarum\\Api\\Middleware\\AuthenticateWithHeader), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#27 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Next.php(113): Zend\\Stratigility\\Dispatch-\u003E__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#28 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Http\/Middleware\/AuthenticateWithCookie.php(42): Zend\\Stratigility\\Next-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#29 [internal function]: Flarum\\Http\\Middleware\\AuthenticateWithCookie-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#30 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Dispatch.php(81): call_user_func(Object(Flarum\\Http\\Middleware\\AuthenticateWithCookie), Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#31 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/Next.php(113): Zend\\Stratigility\\Dispatch-\u003E__invoke(Object(Zend\\Stratigility\\Route), NULL, Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), Object(Zend\\Stratigility\\Next))\n#32 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-stratigility\/src\/MiddlewarePipe.php(75): Zend\\Stratigility\\Next-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response))\n#33 \/home\/spreadrr\/public_html\/+\/community\/vendor\/zendframework\/zend-diactoros\/src\/Server.php(166): Zend\\Stratigility\\MiddlewarePipe-\u003E__invoke(Object(Zend\\Stratigility\\Http\\Request), Object(Zend\\Stratigility\\Http\\Response), NULL)\n#34 \/home\/spreadrr\/public_html\/+\/community\/vendor\/flarum\/core\/src\/Http\/AbstractServer.php(33): Zend\\Diactoros\\Server-\u003Elisten()\n#3