Keeping Resources Up to Date

Guide for keeping LuaBeans resources updated to the latest version.

Update Methods

LuaBeans resources can be updated through several methods:

If you purchased through Tebex Asset Escrow:

  1. Login to Tebex Dashboard

    • Go to your Tebex account

    • Navigate to "My Purchases"

    • Find "LuaBeans - Community Manager"

  2. Download Latest Version

    • Click "Download" or "Update"

    • Download the ZIP file

    • Extract to a temporary location

  3. Backup Current Installation

    # Backup your current installation
    cp -r /path/to/luabeans /path/to/luabeans.backup
  4. Update Files

    • Stop your FiveM server (if running)

    • Replace old files with new files

    • Keep your custom configuration files (config.lua if modified)

  5. Verify Installation

    • Check fxmanifest.lua is present

    • Verify all files are in place

    • Start server and check for errors

Method 2: Git Repository

If using Git:

Method 3: Manual Update

If updating manually:

  1. Download Latest Version

    • Download from authorized source

    • Extract ZIP file

  2. Compare Files

    • Compare with current installation

    • Note any new files or changes

  3. Update Files

    • Replace old files with new

    • Preserve custom configurations

    • Keep any custom modifications

What to Keep

When updating, always preserve:

  • Configuration Files - config.lua (if customized)

  • Custom Integrations - Any custom code you've added

  • Database Config - Your database connection settings

  • API Tokens - Your API tokens and keys

Pre-Update Checklist

Before updating:

Post-Update Checklist

After updating:

Version Information

Check your current version:

Web Panel

Check package.json:

FiveM Resources

Check fxmanifest.lua:

Breaking Changes

Some updates may include breaking changes:

  • Configuration Changes - Check config.lua requirements

  • API Changes - Verify API compatibility

  • Database Changes - Run migrations if required

  • Dependency Updates - Update Node.js or dependencies

Always read the changelog before updating!

Rollback

If an update causes issues:

  1. Stop Server

  2. Restore Backup

  3. Restore Database (if applicable)

  4. Start Server

Troubleshooting

Update Fails

Issue: Update doesn't work

Solutions:

  1. Check file permissions

  2. Verify disk space

  3. Check for locked files

  4. Try manual update

  5. Contact support

Errors After Update

Issue: Errors after updating

Solutions:

  1. Check console logs

  2. Verify all files were updated

  3. Check configuration compatibility

  4. Review changelog for changes

  5. Restore from backup if needed

Configuration Lost

Issue: Configuration reset after update

Solutions:

  1. Restore config.lua from backup

  2. Verify custom config wasn't overwritten

  3. Re-apply custom settings

  4. Check update instructions for config changes

Support

For update issues:

Last updated