Skip to content

Reset a Password

Daniel Neto edited this page Jun 24, 2024 · 5 revisions

Password Recovery Process

If you need to reset your password, AVideo offers a straightforward process to help you.

Email Reset

To use the email reset option, make sure you have configured an email server. You can find instructions for setting up an email server here: Setting up AVideo to send emails.

If you encounter issues receiving the reset link via email, you can use an alternative method, provided you have SSH access.

SSH Password Reset

Follow these steps to reset your password using SSH:

  1. Navigate to the Installation Directory

    cd /var/www/html/AVideo/install
  2. Execute the Recovery Script

    php recoverPassword.php
  3. Input the Username and New Password You will be prompted to enter the username and the new password.

    root@xyz:/var/www/html/AVideo/install# php recoverPassword.php 
    Enter the username or press enter to skip:
    admin
    Enter a new password for the user admin or press enter to skip:
    123
    Confirm the new password for the user admin:
    123
    Also verify email for user admin (yes/no):
    yes
    Your new password was saved

Reset Plugins Configuration

If you encounter issues with plugin configurations, you can reset them using the following steps:

  1. Navigate to the Installation Directory

    cd /var/www/html/AVideo/install
  2. Execute the Reset Plugins Script

    php resetPlugins.php
  3. Choose an Option You will be prompted to select an option to reset plugin parameters.

    root@youphptube2:/var/www/html/AVideo/install# php resetPlugins.php 
    1 - Reset all plugins Parameters
    2 - Reset CustomizeUser Plugin Parameters only
    3 - Reset all plugins (Will also inactivate the plugins)
    Choose an option:
Clone this wiki locally