Skip to content

Unable to load plugin with missing tpr.yml #6003

@ghost

Description

Type of bug

Error in console

/ess dump all output

https://essentialsx.net/dump.html?id=6554aaea3d7640728ec800758ddbb701

Error log (if applicable)

https://gist.github.com/henningrck/273e6ab72473780a13c121f6301da8ec

Bug description

When loading Essentials v2.21.0-dev+153-8e53214, the random teleport config is going to be upgraded, even though the config file does not exist yet. This causes an exception and the plugin cannot be loaded.

Steps to reproduce

  1. Set up a new server
  2. Activate Essentials plugin, version v2.21.0-dev+153-8e53214
  3. Make sure, there's no Essentials config directory yet
  4. Start the server

Expected behaviour

A config directory containing all the required config files is created.

Actual behaviour

The config directory is created partially. The tpr.yml file is missing, and thus an exception is thrown when trying to migrate it. The plugin crashed and cannot be loaded.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions