{"id":9318,"date":"2024-10-15T07:56:47","date_gmt":"2024-10-15T07:56:47","guid":{"rendered":"https:\/\/www.infinitivehost.com\/knowledge-base\/?p=9318"},"modified":"2024-10-15T08:20:33","modified_gmt":"2024-10-15T08:20:33","slug":"move-vtiger-7-storage-test-directories-easily","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/move-vtiger-7-storage-test-directories-easily\/","title":{"rendered":"Move Vtiger 7 Storage &amp; Test Directories Easily"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 1,337<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p class=\"wp-block-paragraph\">Moving the Storage and Test directories in Vtiger 7 to a new location involves several steps. Here\u2019s a general guide to help you through the process:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Backup Your Data<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before making any changes, ensure you back up your Vtiger installation and database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Identify Current Directory Structure<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Locate the current paths for the <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">storage<\/mark><\/code> and <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">test<\/mark><\/code> directories within your Vtiger installation. Typically, they are located in the root directory of your Vtiger installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Move the Directories<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Move the Directories<\/strong>: Use a file transfer method (like <code>mv<\/code> in the command line) to move the directories to your new desired location.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">mv \/path\/to\/vtiger\/storage \/new\/path\/to\/storage\n   mv \/path\/to\/vtiger\/test \/new\/path\/to\/test<\/mark><\/code><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Update Configuration<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Edit the Config File<\/strong>: Open the <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">config.inc.php<\/mark><\/code> file located in your Vtiger root directory.<\/li>\n\n\n\n<li><strong>Update Paths<\/strong>: Find the entries related to the <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">storage<\/mark><\/code> and <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">test<\/mark><\/code> directories and update them with the new paths. It might look something like this:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">$CONFIG&#91;'storage'] = '\/new\/path\/to\/storage';\n   $CONFIG&#91;'test'] = '\/new\/path\/to\/test';<\/mark><\/code><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Set Permissions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure that the new directories have the correct permissions for the web server to access them.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">chown -R www-data:www-data \/new\/path\/to\/storage\nchown -R www-data:www-data \/new\/path\/to\/test\nchmod -R 755 \/new\/path\/to\/storage\nchmod -R 755 \/new\/path\/to\/test<\/mark><\/code><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Test the Changes<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Vtiger<\/strong>: Open your web browser and navigate to your Vtiger instance to ensure everything is functioning correctly.<\/li>\n\n\n\n<li><strong>Check Functionality<\/strong>: Verify that file uploads, downloads, and other functionalities that depend on these directories are working as expected.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Clean Up<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you confirm everything is working, you can delete the old directories if you no longer need them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Additional Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always check Vtiger documentation or community forums for specific version-related nuances.<\/li>\n\n\n\n<li>If you encounter issues, checking the logs can help diagnose any problems related to file paths or permissions.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 <a href=\"https:\/\/www.infinitivehost.com\/managed-vtiger-solutions\"><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\"><strong>best Vtiger hosting solutions<\/strong><\/mark><\/a>. Now, follow all the steps in a proper sequence and make movements easily.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1,337 Views Moving the Storage and Test directories in Vtiger 7 to a new location involves several steps. Here\u2019s 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[204],"tags":[],"class_list":["post-9318","post","type-post","status-publish","format-standard","hentry","category-vtiger-solutions"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/9318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=9318"}],"version-history":[{"count":2,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/9318\/revisions"}],"predecessor-version":[{"id":9323,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/9318\/revisions\/9323"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=9318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=9318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=9318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}