Hello,
Please read this article https://developer.wordpress.org/reference/functions/get_filesystem_method/
You need to change FS_METHOD to Direct on your server because WordPress don’t have full access for reading, writing, modifying files.
Regards,
Rose Tyler.