Skip to content

Updating, troubleshooting and removing

Update MC Datapacks safely, fix common problems, and uninstall it cleanly.

2 min readUpdated
On this page11 sections

Updating

Install the new mc-datapacks.pteroext exactly like the first time, from Admin → Extensions → Install or with:

bash
php artisan p:extension:install /path/to/mc-datapacks.pteroext

The extension keeps its enabled or disabled state and its settings. If installation or activation fails, the Panel restores the previous package, version, enabled state and assets.

Users get the new version after reloading the Panel.

Troubleshooting

The Datapacks page doesn't appear

Check that the extension is enabled and that the server's Egg is in Allowed Eggs (or that the field is empty), then reload the page. The Panel only loads extension changes on reload. The browser's developer console shows the full error.

Players aren't offered the resource pack

Restart the server after installing: it reads server.properties when it starts. Then check that the Public Pack URL opens in a browser outside your network. If it doesn't, set APP_URL in the Panel's .env to the Panel's public address and install the packs again.

Data packs or crafting tweaks don't work

Packs are installed into the world named by level-name in server.properties. Restart the server, then run /datapack list in the console to see which packs loaded. Make sure the packs are for the Minecraft version the server runs.

Installing fails with an error

The Panel builds the packs remotely and downloads them. If the remote service is slow or down, wait a moment and try again.

The extension shows an error

If MC Datapacks fails while the Panel starts, the Panel skips it and keeps running. The error appears on its card in Admin → Extensions and in the Error column of:

bash
php artisan p:extension:list

The Panel won't load after an install

Set this in the Panel's .env to stop loading all extensions without uninstalling them:

bash
PTERODACTYL_EXTENSIONS_ENABLED=false

Then disable the broken extension, set the value back to true, and open a ticket with the error.

"Permission denied" when installing from the admin area

The web server user must be able to write to extensions and public/assets/extensions. Run the chown command from Installation again.

Docker

With the Panel's Docker image, keep /app/extensions and /app/public/assets/extensions on volumes, or extensions are lost when the container is recreated.

Disabling and removing

Disable it from Admin → Extensions, or:

bash
php artisan p:extension:disable mc-datapacks

Disabling hides the Datapacks page and turns off its endpoints but keeps its files and settings.

To uninstall:

bash
php artisan p:extension:remove mc-datapacks

Removing deletes the extension's files and published assets. Its settings stay in the Panel's database, so they're back if you install it again. Files it already installed on servers stay on those servers.

Remove installed packs with Remove Installed before uninstalling. Otherwise the resource-pack line in server.properties keeps pointing to a URL that no longer works; clear it by hand, and delete storage/app/private/mc-datapacks on the Panel to remove the hosted packs.