{"id":20368,"date":"2024-02-16T15:58:27","date_gmt":"2024-02-16T14:58:27","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-portal\/knowledge-base\/faq\/how-to-change-the-document-storage-folder\/"},"modified":"2024-02-16T15:58:27","modified_gmt":"2024-02-16T14:58:27","slug":"how-to-change-the-document-storage-folder","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-portal\/knowledge-base\/faq\/how-to-change-the-document-storage-folder\/","title":{"rendered":"How to Change the Document Storage Folder"},"content":{"rendered":"<div id=\"main-content\" class=\"wiki-content group\">\n<p>By default, documents are stored in the &#8220;openbeeportal\/data\/Documents&#8221; folder of the Open Bee\u2122 Portal installation folder.<\/p>\n<p>This folder can be edited as follows:<\/p>\n<h3 id=\"Commentchangerledossierdestockagedesdocuments-D\u00e9placementdesdocumentsexistants\"><strong><strong>Moving Existing Documents  <\/strong><\/strong><\/h3>\n<div class=\"aui-message warning shadowed information-macro\">\n<div class=\"message-content\">\n<p>Your existing documents must first be moved from the default location to the new location<\/p>\n<\/div>\n<\/div>\n<h3 id=\"Commentchangerledossierdestockagedesdocuments-Changementdelaconfiguration\"><strong>Changing the configuration  <\/strong><\/h3>\n<p><strong>Version 6  <\/strong><\/p>\n<p>As an administrator, log in to http(s):\/\/IP:PORT\/administration\/config<\/p>\n<p>Change the &#8220;storagePath&#8221; parameter and back up.<\/p>\n<h4 id=\"Commentchangerledossierdestockagedesdocuments-Version5\">Version 5<\/h4>\n<p>The document storage path is defined in the <em>config\/app.yml<\/em> file. Change the value of the storagePath parameter<\/p>\n<div class=\"code panel pdl\" style=\"border-width: 1px;\">\n<div class=\"codeHeader panelHeader pdl\" style=\"border-bottom-width: 1px;\"><b>nano config\/app.yml<\/b><\/div>\n<div class=\"codeContent panelContent pdl\">\n<pre class=\"theme: Confluence; brush: java; gutter: false\" style=\"font-size: 12px;\">  document:\n    storagePath: '%SF_ROOT_DIR%\/data\/Documents'<\/pre>\n<\/div>\n<\/div>\n<p>Then clear the cache:<\/p>\n<div class=\"code panel pdl\" style=\"border-width: 1px;\">\n<div class=\"codeContent panelContent pdl\">\n<pre class=\"theme: Confluence; brush: java; gutter: false\" style=\"font-size: 12px;\">php symfony cc<\/pre>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>By default, documents are stored in the &#8220;openbeeportal\/data\/Documents&#8221; folder of the Open Bee\u2122 Portal installation folder. This folder can be edited as follows: Moving Existing Documents Your existing documents must first be moved from the default location to the new location Changing the configuration Version 6 As an administrator, log in to http(s):\/\/IP:PORT\/administration\/config Change the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":20164,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-20368","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=20368"}],"version-history":[{"count":0,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20368\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20164"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=20368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}