Moving the Storage and Test directories in Vtiger 7 to a new location involves several steps. Here’s a general guide to help you through the process:
Step 1: Backup Your Data
Before making any changes, ensure you back up your Vtiger installation and database.
Step 2: Identify Current Directory Structure
Locate the current paths for the storage
and test
directories within your Vtiger installation. Typically, they are located in the root directory of your Vtiger installation.
Step 3: Move the Directories
- Move the Directories: Use a file transfer method (like
mv
in the command line) to move the directories to your new desired location.
mv /path/to/vtiger/storage /new/path/to/storage
mv /path/to/vtiger/test /new/path/to/test
Step 4: Update Configuration
- Edit the Config File: Open the
config.inc.php
file located in your Vtiger root directory. - Update Paths: Find the entries related to the
storage
andtest
directories and update them with the new paths. It might look something like this:
$CONFIG['storage'] = '/new/path/to/storage';
$CONFIG['test'] = '/new/path/to/test';
Step 5: Set Permissions
Ensure that the new directories have the correct permissions for the web server to access them.
chown -R www-data:www-data /new/path/to/storage
chown -R www-data:www-data /new/path/to/test
chmod -R 755 /new/path/to/storage
chmod -R 755 /new/path/to/test
Step 6: Test the Changes
- Access Vtiger: Open your web browser and navigate to your Vtiger instance to ensure everything is functioning correctly.
- Check Functionality: Verify that file uploads, downloads, and other functionalities that depend on these directories are working as expected.
Step 7: Clean Up
Once you confirm everything is working, you can delete the old directories if you no longer need them.
Additional Notes
- Always check Vtiger documentation or community forums for specific version-related nuances.
- If you encounter issues, checking the logs can help diagnose any problems related to file paths or permissions.
This should help you successfully move the Storage and Test directories in Vtiger 7! If you have any questions or run into issues, feel free to ask.
Conclusion
After reading the above information, you go through a complete process related to moving the both storage and test directories in Vtiger 7 to another location with the help of the best Vtiger hosting solutions. Now, follow all the steps in a proper sequence and make movements easily.