{"id":814,"date":"2021-11-09T10:39:42","date_gmt":"2021-11-09T10:39:42","guid":{"rendered":"https:\/\/mklasen.com\/?p=814"},"modified":"2021-11-09T15:27:20","modified_gmt":"2021-11-09T15:27:20","slug":"fix-for-upload-folder-is-not-writable-in-wordpress-after-importing-database","status":"publish","type":"post","link":"https:\/\/mklasen.com\/fix-for-upload-folder-is-not-writable-in-wordpress-after-importing-database\/","title":{"rendered":"Fix for upload folder is not writable in WordPress after importing database"},"content":{"rendered":"\n

I don’t think it ever took me so long to fix a permission issue in a WordPress development environment. I checked my docker-compose file. I logged into to the containers to confirm I could write as the web user. It was all good.<\/p>\n\n\n\n

The issue? There was a database entry that defined a custom path for uploads.<\/h2>\n\n\n\n

Make sure that there’s no custom path defined in Settings -> Media<\/strong>.<\/p>\n\n\n\n

If that doesn’t fix it for you, then you might want to check these articles:<\/p>\n\n\n\n