Skip to content

Updating, troubleshooting and removing

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

2 min readUpdated
On this page10 sections

Updating

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

bash
php artisan p:extension:install /path/to/mc-mods.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 Mods 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.

The server crashes after installing a mod

Usually the mod is for another loader or Minecraft version, a dependency is missing, or the mod is meant for the client. Delete the mod's .jar from /mods in Files, then install a version that matches the server. The crash report in the console names the mod that failed.

Installing fails with an error

The Panel downloads the file from Modrinth. Check that the Panel can reach cdn.modrinth.com, then try again.

The extension shows an error

If MC Mods 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-mods

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

To uninstall:

bash
php artisan p:extension:remove mc-mods

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.