Thread:Project:Support desk/'Could not create directory "mwstore://local-backend/local-public".' on file upload

So I've been having trouble with file uploads on my newly made wiki recently.

Whenever I upload a file, I get the error:

Let me give you some background on the situation.

When I first made the wiki, I would get:

I searched and eventually found that to fix this you add the following to LocalSettings.php:

''' $wgFileBackends[] = array(	'name'       => 'local-backend',	'class'       => 'FSFileBackend',	'lockManager' => 'nullLockManager',	'containerPaths' => array( 'local-public' => "{$wgUploadDirectory}", 'local-thumb'  => "{$wgUploadDirectory}/thumb", 'local-deleted' => $wgDeletedDirectory, 'local-temp'   => "{$wgUploadDirectory}/temp", ),	'fileMode'   => 0644, ); $wgLocalFileRepo = array (       'class'             => 'LocalRepo',        'name'              => 'local',		'directory'         => $wgUploadDirectory,        'scriptDirUrl'      => $wgScriptPath,        'scriptExtension'   => $wgScriptExtension,        'url'               => $wgUploadBaseUrl ? $wgUploadBaseUrl . $wgUploadPath : $wgUploadPath,        'hashLevels'        => $wgHashedUploadDirectory ? 2 : 0,        'thumbScriptUrl'    => $wgThumbnailScriptPath,        'transformVia404'   => !$wgGenerateThumbnailOnParse,		'deletedDir'        => $wgDeletedDirectory,		'deletedHashLevels' => 3,        'backend'           => 'local-backend', ); ''' This now produces the error. I have already tried a lot of things found in other posts. I have tried chmodding and chownning the /images directory, but that does not work. What other fixes are there for this?