Plugins directory won't generate: mkdir(): No such file or directory

If the plugins directory won't generate, it can mean plugins either won't be loaded or could prevent the server from starting entirely. This error is quite rare, as it typically requires a very uncommon user error to occur.

This usually occurs if a regular file has been created named "plugins" - meaning: rather than existing as a directory (a folder), it already exists as a text file of the same name.

To solve this issue, you would just need to connect via FTP and delete the file named "plugins" so that it can be regenerated as a directory.

Example Server Log

[Server] Server thread/CRITICAL ErrorException: "mkdir(): No such file or directory" (EXCEPTION) in "src/pocketmine/Server" at line 1432
[Server] Server thread/DEBUG #0 (): pocketmine\{closure}(integer 2, string mkdir(): No such file or directory, string phar:///pmmp_65_1.2.phar/src/pocketmine/Server.php, integer 1432, array Array())
[Server] Server thread/DEBUG #1 src/pocketmine/Server(1432): mkdir(string /plugins/, integer 511)
[Server] Server thread/DEBUG #2 src/pocketmine/PocketMine(553): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///pmmp_65_1.2.phar/, string /, string /plugins/)
[Server] Server thread/DEBUG #3 /pmmp_65_1.2.phar(1): require(string phar:///pmmp_65_1.2.phar/src/pocketmine/PocketMine.php)

Mitchell Smith

Managing Director @ Shockbyte

  • pocketmine, mcpe, plugins, startup
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How many players can I host with my plan?

We allow unlimited slots on all plans, however the actual amount of players your server can run...

How to Install Minecraft Bedrock Dedicated Server (BDS)

We have a video tutorial on how to install Bedrock Dedicated Server:   Bedrock Dedicated...

MCPE Server Types

Note: All server types are compatible with our services. Server types are just different software...

How much RAM do I need for my Minecraft server?

  This guide provides some suggestions how how to determine how much RAM you need for your...

Which server location should I choose?

  We recommend picking the location that is geographically closest to you. If you're not sure...

Powered by WHMCompleteSolution