I migrated a WordPress site between VPS machines.
I had an issue after the migration where this error was on my admin dashboard
Unable to create directory uploads/2023/10. Is its parent directory writable by the server?
I checked Site Health and confirmed that all other folder permissions were ok but the uploads directory was not writeable.
I double-checked on my VPS and the folder was writeable.
I finally found the solution and it was my error.
I am using Server Avatar to manage my VPS and in the migration process, I unknowingly changed the migration directory case of the domain from xxxx to Xxxx.
I logged into PHPMyAdmin, selected my WordPress website database table and selected the wp_options table. Located “upload_path” row and changed the casing of the path there, saved and it worked.