Local Community

Upload folder is not writable

Ever since Mojave, Local has been acting up … I swear every time I create a new site or manage an existing one, something goes from.

This time, I can’t upload a theme or do anything that requires writing to the upload folder … which makes zero sense since I had to input my system password to create the website in the first place.

Upload folder is not writable. Export and file upload features will not be functional.

Hello? Is this thing on?

Hey @dmcworks

Since the error sounds like it is relating to the folders not being mounted correctly, one troubleshooting step would be to go to the “Advanced” tab in the Local preferences and toggle “Faster Docker Volumes”. This will refresh those file mounts and might allow the site to create those folders.

If you still have issues, can you please provide your local-by-flywheel.log file? See
How do I retrieve Local’s log file?” for instructions on how to do so.

– Ben

I’m having this same problem but on Local Lightning with macOS Catalina. Any ideas how to correct, since the “Faster Docker Volumes” isn’t an option anymore?

It’s a site I pulled down from my Flywheel account, btw.

1 Like

I was having issues with an imported site from 3.x to Lightning.

I used this in the terminal:

I changed directory to my uploads directory, eg: cd wp-content/uploads/

And then I used this to sent the ownership to myself as the user and the local server as the group (wheel), and allow the files to be manipulated by the user or group.

sudo chown -R [username]:wheel .
sudo chmod -R g+w .
sudo chmod g+s .

I got the group from looking at another site that worked correctly. It fixed the site that was not working. Change [username] to the username for your computer. eg: /Users/[username]/Library/.