Unable to create directory plugin folder... is it a matter of ownership rather than permission?

I am unable to update the BuddyBoss platform because of the error, “Update failed: Could not create directory. buddyboss-platform”

An otherwise operational single site setup seems to glitch on creating an update. The file permissions check out and other plugins are able to update successfully through WordPress.

6.1.8 5621 and Windows 10 Home

I think it may be an ownership problem as it looks like, from the log, that [SYSTEM] is operating while the owner is the user. See attached image. I do not understand the character set depreciation error reference in the log.

[Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 9248",“timestamp”:“2022-01-17T16:04:55.238Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-17T16:04:20.536364Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2022-01-17T16:04:55.239Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-17T16:04:51.856745Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2022-01-17T16:04:55.240Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-17T16:04:51.866367Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2022-01-17T16:04:55.241Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-17T16:04:54.593504Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2022-01-17T16:04:55.242Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2022-01-17T16:04:55.238097Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10005 MySQL Community Server - GPL.”,“timestamp”:“2022-01-17T16:04:55.243Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Database responded to ping.”,“level”:“debug”,“timestamp”:“2022-01-17T16:04:55.576Z”}

I haven’t ever worked with the BuddyBoss platform. Is it basically a revamped, bundled installation of BuddyPress?

Do you have a good idea of how the plugin is being updated, in particular, where exactly buddyboss-platform directory is being created?

Update failed: Could not create directory. buddyboss-platform

Also, where are you seeing the above error? Is it in the WP admin, or within a log somewhere?

Thank you Ben,
The failure is in creating sub-directories within the WordPress /plugin directory, please see the image above. The error occurs within WordPress when the the Plugin menu option indicates an update is required. Navigating to “Installed Plugins” and the clicking on all the updates that require it one at a time. The error is indicated instead of saying update successful as occurs with updates other than this one. Please note all the permissions are correct and this is a standard installation area for updating.
Thank-you, Steve

You mention that other plugins can be updated successfully, but it’s only BuddyBoss plugin that has problems.

Can you describe in a little more detail how the BuddyBoss plugin was installed initially? I’m wondering if there was something different in the way that it was installed that’s affecting the update process.

The procedure is to go to PlugIns from the WordPress admin, clicking on Add New, Upload, and then Activate.

Do you have any insight to the actual log file entries posted and the two errors that seem to be described? This is the log from initial startup and then trying the update and occurring at exactly the moment of the error. I have seen suggestions on the internet for the error in other situations where the owner of the process was incorrect and so creating a folder is not allowed. This was my suspicion that the Log File is saying [system} is trying to create the directory when [system] is not the owner. As the log file is not really understandable to me, I am asking for clarification if this is off base or if the log can provide any answers. Additionally the log file indicates some problem with the underlying character set as well and I am looking for any clue as to what that is.

I thought of more information to help answer your question. The plugin was installed by another member using wp-local, OSx I assume, and the same file set is on a server not inside wp-local and both of these can update their versions of this plugin with no issues. This seems to be an issue between Windows and wp-local’s server/database and or the differences between Windows and OSx?

I’m not sure I understand this statement – when I’m looking at the log you shared, I’m not seeing any mention of the directory not being created by system.

You mention that the plugin was installed by uploading it through the WP admin. What happens if you unzip the plugin directly into the app/public/wp-content/plugins folder and then activate the plugin that way?

I wonder if using the computer’s system unzip function would set the permissions correctly?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.