Plex Development
  • Introduction
  • Installation & Setup
    • Requirements
    • Windows Installation Guide
    • Linux Installation Guide
    • Bot Application Setup
    • Creating a MongoDB Cluster
    • Plex Tickets/Staff Dashboard
    • Setting Up a Reverse Proxy with Nginx
    • Setting Up a Reverse Proxy with Cloudflare Tunnels
  • Plex Tickets: Categories & Panels
  • Product Addons
    • Creating an addon
    • Addon Guidelines
  • Frequently Asked Questions
    • ⭐ Recommended Hosts
    • How to update
    • Common Issues
    • How to get channel/role/user ID
    • Using Custom Emojis
    • How to add multiple role ID's to config
    • Valid timezones
    • Keep Your Node.js Application Running 24/7
  • 🛒 PLEX STORE
    • Markdown Guide
    • Email System
    • How to update
    • API
    • Anti-piracy placeholders
  • LINKS
    • Website
    • Terms of Service
Powered by GitBook
On this page
  • 1. Backup Your Important Files
  • 2. Download the New Update
  • 3. Replace Existing Files
  • 4. Update Your config.yml File
  • 5. Install New Dependencies
  • 6. Restart Your Bot

Was this helpful?

  1. 🛒 PLEX STORE

How to update

This is a guide on how to update Plex Store. Follow these simple steps to update Plex Store while keeping your configuration and data intact.

Never delete the uploads folder, it stores all essential data, including product files, product banners, images, and more. Deleting this folder will result in the loss of these important assets. Always ensure that the uploads folder remains intact when updating your bot.

1. Backup Your Important Files

Before you begin, make sure to back up your current configuration and any important data.

  • Backup config.yml: This file contains your bot's configuration settings. Make a copy of it and store it somewhere safe.

  • Backup the uploads Folder: If you have an uploads folder where files are stored, back this up as well. This is where all the product files and product banners are stored, and more.

2. Download the New Update

Download the latest version of the product from where you have access.

3. Replace Existing Files

Once you've downloaded the update:

  • Extract the new files.

  • Replace all existing files in your product's directory with the new ones you just downloaded.

  • Do not replace:

    • The config.yml file

    • The uploads folder (if it exists and you want to feel extra safe)

4. Update Your config.yml File

You’ll need to merge your old configuration with any new settings:

  • Open the old config.yml: Use a text editor like Notepad, VSCode, etc.

  • Open the new config.yml: Open the new version of this file in another text editor.

  • Compare and Update: Manually copy your old configuration settings into the new config.yml file.

5. Install New Dependencies

Sometimes updates come with new dependencies. To install them:

  • Open a terminal or command prompt.

  • Navigate to your bot's directory.

  • Run the following command:

npm install

This will install any new dependencies required by the updated bot.

6. Restart Your Bot

After completing the steps above, you can now start your bot:

  • Use the command you usually use to start the bot, such as:

node index.js

or if you are using regular discord bot hosting/pterodactyl, then just use the start button on the panel.

That's it! Your bot is now updated with minimal hassle. If you encounter any issues, double-check that your configuration settings are correct and that all necessary files have been updated.

PreviousEmail SystemNextAPI

Last updated 9 months ago

Was this helpful?

Alternatively, use a tool like to easily spot the differences between the old and new files and merge them accordingly.

DiffChecker