mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Deployed 08a1d6ea to 13.0 with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
5f0ca2bc87
commit
c17e759dd3
File diff suppressed because one or more lines are too long
|
|
@ -3713,37 +3713,37 @@
|
|||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#stop-the-services" class="md-nav__link">
|
||||
<a href="#step-1-stop-the-services" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Stop the services:
|
||||
Step 1) Stop the services:
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#download-the-newest-yml-files" class="md-nav__link">
|
||||
<a href="#step-2-download-the-newest-yml-files" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Download the newest .yml files
|
||||
Step 2) Download the newest .yml files
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Download the newest .yml files">
|
||||
<nav class="md-nav" aria-label="Step 2) Download the newest .yml files">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#download-seafile-serveryml" class="md-nav__link">
|
||||
<a href="#step-21-download-seafile-serveryml" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Download seafile-server.yml
|
||||
Step 2.1) Download seafile-server.yml
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#update-yml-file-for-search-engine" class="md-nav__link">
|
||||
<a href="#step-22-download-yml-file-for-search-engine-pro-edition" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Update .yml file for search engine
|
||||
Step 2.2) Download .yml file for search engine (Pro edition)
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -3755,46 +3755,46 @@
|
|||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#modify-env-update-image-version-and-add-cache-configurations" class="md-nav__link">
|
||||
<a href="#step-3-modify-env-update-image-version-and-add-cache-configurations" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Modify .env, update image version and add cache configurations:
|
||||
Step 3) Modify .env, update image version and add cache configurations
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Modify .env, update image version and add cache configurations:">
|
||||
<nav class="md-nav" aria-label="Step 3) Modify .env, update image version and add cache configurations">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#update-image-version-to-seafile-13" class="md-nav__link">
|
||||
<a href="#step-31-update-image-version-to-seafile-13" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Update image version to Seafile 13
|
||||
Step 3.1) Update image version to Seafile 13
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configurations-for-cache" class="md-nav__link">
|
||||
<a href="#step-32-add-configurations-for-cache" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configurations for cache
|
||||
Step 3.2) Add configurations for cache
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configuration-for-notification-server" class="md-nav__link">
|
||||
<a href="#step-33-add-configuration-for-notification-server" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configuration for notification server
|
||||
Step 3.3) Add configuration for notification server
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configurations-for-file-storages-pro" class="md-nav__link">
|
||||
<a href="#step-34-add-configurations-for-storage-backend-optional" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configurations for file storages (Pro)
|
||||
Step 3.4) Add configurations for storage backend (Optional)
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -3806,9 +3806,18 @@
|
|||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#start-seafile" class="md-nav__link">
|
||||
<a href="#step-4-remove-obsolote-configurations" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Start Seafile
|
||||
Step 4) Remove obsolote configurations
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#step-5-start-seafile" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Step 5) Start Seafile
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -4729,37 +4738,37 @@
|
|||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#stop-the-services" class="md-nav__link">
|
||||
<a href="#step-1-stop-the-services" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Stop the services:
|
||||
Step 1) Stop the services:
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#download-the-newest-yml-files" class="md-nav__link">
|
||||
<a href="#step-2-download-the-newest-yml-files" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Download the newest .yml files
|
||||
Step 2) Download the newest .yml files
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Download the newest .yml files">
|
||||
<nav class="md-nav" aria-label="Step 2) Download the newest .yml files">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#download-seafile-serveryml" class="md-nav__link">
|
||||
<a href="#step-21-download-seafile-serveryml" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Download seafile-server.yml
|
||||
Step 2.1) Download seafile-server.yml
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#update-yml-file-for-search-engine" class="md-nav__link">
|
||||
<a href="#step-22-download-yml-file-for-search-engine-pro-edition" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Update .yml file for search engine
|
||||
Step 2.2) Download .yml file for search engine (Pro edition)
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -4771,46 +4780,46 @@
|
|||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#modify-env-update-image-version-and-add-cache-configurations" class="md-nav__link">
|
||||
<a href="#step-3-modify-env-update-image-version-and-add-cache-configurations" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Modify .env, update image version and add cache configurations:
|
||||
Step 3) Modify .env, update image version and add cache configurations
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Modify .env, update image version and add cache configurations:">
|
||||
<nav class="md-nav" aria-label="Step 3) Modify .env, update image version and add cache configurations">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#update-image-version-to-seafile-13" class="md-nav__link">
|
||||
<a href="#step-31-update-image-version-to-seafile-13" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Update image version to Seafile 13
|
||||
Step 3.1) Update image version to Seafile 13
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configurations-for-cache" class="md-nav__link">
|
||||
<a href="#step-32-add-configurations-for-cache" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configurations for cache
|
||||
Step 3.2) Add configurations for cache
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configuration-for-notification-server" class="md-nav__link">
|
||||
<a href="#step-33-add-configuration-for-notification-server" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configuration for notification server
|
||||
Step 3.3) Add configuration for notification server
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#add-configurations-for-file-storages-pro" class="md-nav__link">
|
||||
<a href="#step-34-add-configurations-for-storage-backend-optional" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Add configurations for file storages (Pro)
|
||||
Step 3.4) Add configurations for storage backend (Optional)
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -4822,9 +4831,18 @@
|
|||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#start-seafile" class="md-nav__link">
|
||||
<a href="#step-4-remove-obsolote-configurations" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Start Seafile
|
||||
Step 4) Remove obsolote configurations
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#step-5-start-seafile" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Step 5) Start Seafile
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
@ -5037,12 +5055,12 @@
|
|||
<p>Please check the <strong>upgrade notes</strong> for any special configuration or changes before/while upgrading.</p>
|
||||
<h2 id="upgrade-from-120-to-130">Upgrade from 12.0 to 13.0<a class="headerlink" href="#upgrade-from-120-to-130" title="Permanent link">¶</a></h2>
|
||||
<p>From Seafile Docker 13.0, the <code>elasticsearch.yml</code> has separated from <code>seafile-server.yml</code>, and Seafile will support getting cache configuration from environment variables</p>
|
||||
<h3 id="stop-the-services">Stop the services:<a class="headerlink" href="#stop-the-services" title="Permanent link">¶</a></h3>
|
||||
<h3 id="step-1-stop-the-services">Step 1) Stop the services:<a class="headerlink" href="#step-1-stop-the-services" title="Permanent link">¶</a></h3>
|
||||
<p>Before upgrading, please shutdown you Seafile server</p>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>down
|
||||
</code></pre></div>
|
||||
<h3 id="download-the-newest-yml-files">Download the newest <code>.yml</code> files<a class="headerlink" href="#download-the-newest-yml-files" title="Permanent link">¶</a></h3>
|
||||
<h4 id="download-seafile-serveryml">Download <code>seafile-server.yml</code><a class="headerlink" href="#download-seafile-serveryml" title="Permanent link">¶</a></h4>
|
||||
<h3 id="step-2-download-the-newest-yml-files">Step 2) Download the newest <code>.yml</code> files<a class="headerlink" href="#step-2-download-the-newest-yml-files" title="Permanent link">¶</a></h3>
|
||||
<h4 id="step-21-download-seafile-serveryml">Step 2.1) Download <code>seafile-server.yml</code><a class="headerlink" href="#step-21-download-seafile-serveryml" title="Permanent link">¶</a></h4>
|
||||
<p>Before downloading the newest <code>seafile-server.yml</code>, please backup your original one:</p>
|
||||
<div class="highlight"><pre><span></span><code>mv<span class="w"> </span>seafile-server.yml<span class="w"> </span>seafile-server.yml.bak
|
||||
</code></pre></div>
|
||||
|
|
@ -5059,7 +5077,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="update-yml-file-for-search-engine">Update <code>.yml</code> file for search engine<a class="headerlink" href="#update-yml-file-for-search-engine" title="Permanent link">¶</a></h4>
|
||||
<h4 id="step-22-download-yml-file-for-search-engine-pro-edition">Step 2.2) Download <code>.yml</code> file for search engine (Pro edition)<a class="headerlink" href="#step-22-download-yml-file-for-search-engine-pro-edition" title="Permanent link">¶</a></h4>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="2:2"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">ElasticSearch</label><label for="__tabbed_2_2">SeaSearch</label></div>
|
||||
<div class="tabbed-content">
|
||||
<div class="tabbed-block">
|
||||
|
|
@ -5075,11 +5093,17 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="modify-env-update-image-version-and-add-cache-configurations">Modify <code>.env</code>, update image version and add cache configurations:<a class="headerlink" href="#modify-env-update-image-version-and-add-cache-configurations" title="Permanent link">¶</a></h3>
|
||||
<h4 id="update-image-version-to-seafile-13">Update image version to Seafile 13<a class="headerlink" href="#update-image-version-to-seafile-13" title="Permanent link">¶</a></h4>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="3:2"><input checked="checked" id="__tabbed_3_1" name="__tabbed_3" type="radio" /><input id="__tabbed_3_2" name="__tabbed_3" type="radio" /><div class="tabbed-labels"><label for="__tabbed_3_1">Seafile Pro</label><label for="__tabbed_3_2">Seafile CE</label></div>
|
||||
<h3 id="step-3-modify-env-update-image-version-and-add-cache-configurations">Step 3) Modify <code>.env</code>, update image version and add cache configurations<a class="headerlink" href="#step-3-modify-env-update-image-version-and-add-cache-configurations" title="Permanent link">¶</a></h3>
|
||||
<h4 id="step-31-update-image-version-to-seafile-13">Step 3.1) Update image version to Seafile 13<a class="headerlink" href="#step-31-update-image-version-to-seafile-13" title="Permanent link">¶</a></h4>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="3:2"><input checked="checked" id="__tabbed_3_1" name="__tabbed_3" type="radio" /><input id="__tabbed_3_2" name="__tabbed_3" type="radio" /><div class="tabbed-labels"><label for="__tabbed_3_1">Seafile CE</label><label for="__tabbed_3_2">Seafile Pro</label></div>
|
||||
<div class="tabbed-content">
|
||||
<div class="tabbed-block">
|
||||
<div class="highlight"><pre><span></span><code><span class="nv">SEAFILE_IMAGE</span><span class="o">=</span>seafileltd/seafile-mc:13.0-latest
|
||||
<span class="nv">SEADOC_IMAGE</span><span class="o">=</span>seafileltd/sdoc-server:1.0-latest
|
||||
<span class="nv">NOTIFICATION_SERVER_IMAGE</span><span class="o">=</span>seafileltd/notification-server:13.0-latest
|
||||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<div class="highlight"><pre><span></span><code><span class="c1"># -- add `elasticsearch.yml` if you are still using ElasticSearch</span>
|
||||
<span class="c1"># COMPOSE_FILE='...,elasticsearch.yml'</span>
|
||||
|
||||
|
|
@ -5091,16 +5115,10 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
<span class="nv">NOTIFICATION_SERVER_IMAGE</span><span class="o">=</span>seafileltd/notification-server:13.0-latest
|
||||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<div class="highlight"><pre><span></span><code><span class="nv">SEAFILE_IMAGE</span><span class="o">=</span>seafileltd/seafile-mc:13.0-latest
|
||||
<span class="nv">SEADOC_IMAGE</span><span class="o">=</span>seafileltd/sdoc-server:1.0-latest
|
||||
<span class="nv">NOTIFICATION_SERVER_IMAGE</span><span class="o">=</span>seafileltd/notification-server:13.0-latest
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="add-configurations-for-cache">Add configurations for cache<a class="headerlink" href="#add-configurations-for-cache" title="Permanent link">¶</a></h4>
|
||||
<p>From Seafile 13, the configurations of database and cache can get from environment variables directly (you can define it in the <code>.env</code>). What's more, the Redis will be recommended as the primary cache server for supporting some new features (please refer the <strong><em>upgradte notes</em></strong>, you can also refer to more details about Redis in Seafile Docker <a href="../../setup/setup_pro_by_docker/#about-redis">here</a>).</p>
|
||||
<h4 id="step-32-add-configurations-for-cache">Step 3.2) Add configurations for cache<a class="headerlink" href="#step-32-add-configurations-for-cache" title="Permanent link">¶</a></h4>
|
||||
<p>From Seafile 13, the configurations of database and cache can be set via environment variables directly (you can define it in the <code>.env</code>). What's more, the Redis will be recommended as the primary cache server for supporting some new features (please refer the <strong><em>upgradte notes</em></strong>, you can also refer to more details about Redis in Seafile Docker <a href="../../setup/setup_pro_by_docker/#about-redis">here</a>).</p>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="4:2"><input checked="checked" id="__tabbed_4_1" name="__tabbed_4" type="radio" /><input id="__tabbed_4_2" name="__tabbed_4" type="radio" /><div class="tabbed-labels"><label for="__tabbed_4_1">Redis</label><label for="__tabbed_4_2">Memcached</label></div>
|
||||
<div class="tabbed-content">
|
||||
<div class="tabbed-block">
|
||||
|
|
@ -5124,7 +5142,7 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="add-configuration-for-notification-server">Add configuration for notification server<a class="headerlink" href="#add-configuration-for-notification-server" title="Permanent link">¶</a></h4>
|
||||
<h4 id="step-33-add-configuration-for-notification-server">Step 3.3) Add configuration for notification server<a class="headerlink" href="#step-33-add-configuration-for-notification-server" title="Permanent link">¶</a></h4>
|
||||
<p>If you are using notification server in Seafile 12, please specify the notification server url in <code>.env</code>:</p>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="5:2"><input checked="checked" id="__tabbed_5_1" name="__tabbed_5" type="radio" /><input id="__tabbed_5_2" name="__tabbed_5" type="radio" /><div class="tabbed-labels"><label for="__tabbed_5_1">Deploy in the same host with Seafile</label><label for="__tabbed_5_2">Standalone deployment</label></div>
|
||||
<div class="tabbed-content">
|
||||
|
|
@ -5138,9 +5156,9 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="add-configurations-for-file-storages-pro">Add configurations for file storages (Pro)<a class="headerlink" href="#add-configurations-for-file-storages-pro" title="Permanent link">¶</a></h4>
|
||||
<p>Please specify the storage type used by Seafile in <code>.env</code> according to the usage environment. It will affect <strong><em>Seafile</em></strong>, <strong><em>SeaSearch</em></strong> and <strong><em>Metadata server</em></strong> at the same time</p>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="6:4"><input checked="checked" id="__tabbed_6_1" name="__tabbed_6" type="radio" /><input id="__tabbed_6_2" name="__tabbed_6" type="radio" /><input id="__tabbed_6_3" name="__tabbed_6" type="radio" /><input id="__tabbed_6_4" name="__tabbed_6" type="radio" /><div class="tabbed-labels"><label for="__tabbed_6_1">Local disk (default)</label><label for="__tabbed_6_2">Policies in <code>seafile.conf</code></label><label for="__tabbed_6_3">Single S3 backend</label><label for="__tabbed_6_4">Multiple storage backends</label></div>
|
||||
<h4 id="step-34-add-configurations-for-storage-backend-optional">Step 3.4) Add configurations for storage backend (Optional)<a class="headerlink" href="#step-34-add-configurations-for-storage-backend-optional" title="Permanent link">¶</a></h4>
|
||||
<p>Seafile 13.0 add a new environment <code>SEAF_SERVER_STORAGE_TYPE</code> to determine the storage backend of seaf-server component. You can delete the variable or set it to empty (<code>SEAF_SERVER_STORAGE_TYPE=</code>) to use the old way, i.e., determining the storage backend from seafile.conf.</p>
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="6:4"><input checked="checked" id="__tabbed_6_1" name="__tabbed_6" type="radio" /><input id="__tabbed_6_2" name="__tabbed_6" type="radio" /><input id="__tabbed_6_3" name="__tabbed_6" type="radio" /><input id="__tabbed_6_4" name="__tabbed_6" type="radio" /><div class="tabbed-labels"><label for="__tabbed_6_1">Local disk (default)</label><label for="__tabbed_6_2">Use the configuration in <code>seafile.conf</code></label><label for="__tabbed_6_3">S3 backend</label><label for="__tabbed_6_4">Multiple storage backends</label></div>
|
||||
<div class="tabbed-content">
|
||||
<div class="tabbed-block">
|
||||
<p>Set <code>SEAF_SERVER_STORAGE_TYPE</code> to <code>disk</code> (default value):</p>
|
||||
|
|
@ -5148,7 +5166,7 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<p>If you would like to use the storage policies in <code>seafile.conf</code> (used before Seafile 12 by default), please remove default value of <code>SEAF_SERVER_STORAGE_TYPE</code> in <code>.env</code>:</p>
|
||||
<p>If you would like to use the storage configuration in <code>seafile.conf</code>, please remove default value of <code>SEAF_SERVER_STORAGE_TYPE</code> in <code>.env</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nv">SEAF_SERVER_STORAGE_TYPE</span><span class="o">=</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
|
@ -5172,43 +5190,21 @@ wget<span class="w"> </span>https://manual.seafile.com/13.0/repo/docker/pro/seas
|
|||
</code></pre></div>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<p>Set <code>SEAF_SERVER_STORAGE_TYPE</code> to <code>multiple</code>. If you are using SeaSearch in Seafile 12, please also modify <code>SS_STORAGE_TYPE</code> according to your configurations. In this case, you don't need to change the content in <code>seafile.conf</code></p>
|
||||
<p>Set <code>SEAF_SERVER_STORAGE_TYPE</code> to <code>multiple</code>. In this case, you don't need to change the storage configuration in <code>seafile.conf</code>.</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nv">SEAF_SERVER_STORAGE_TYPE</span><span class="o">=</span>multiple
|
||||
|
||||
<span class="nv">SS_STORAGE_TYPE</span><span class="o">=</span>disk<span class="w"> </span><span class="c1"># or s3</span>
|
||||
</code></pre></div>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Note</p>
|
||||
<p>If you are using multiple storage backends, and SeaSearch also use S3, please specify the S3 configurations in <code>.env</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nv">S3_SS_BUCKET</span><span class="o">=</span><your<span class="w"> </span>seasearch<span class="w"> </span>bucket<span class="w"> </span>name>
|
||||
<span class="nv">S3_KEY_ID</span><span class="o">=</span><your-key-id>
|
||||
<span class="nv">S3_SECRET_KEY</span><span class="o">=</span><your-secret-key>
|
||||
<span class="nv">S3_USE_V4_SIGNATURE</span><span class="o">=</span><span class="nb">true</span>
|
||||
<span class="nv">S3_PATH_STYLE_REQUEST</span><span class="o">=</span><span class="nb">false</span>
|
||||
<span class="nv">S3_AWS_REGION</span><span class="o">=</span>us-east-1
|
||||
<span class="nv">S3_HOST</span><span class="o">=</span>
|
||||
<span class="nv">S3_USE_HTTPS</span><span class="o">=</span><span class="nb">true</span>
|
||||
<span class="nv">S3_SSE_C_KEY</span><span class="o">=</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="start-seafile">Start Seafile<a class="headerlink" href="#start-seafile" title="Permanent link">¶</a></h3>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d
|
||||
</code></pre></div>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title">Optional but recommended modifications for further configuration files</p>
|
||||
<h3 id="step-4-remove-obsolote-configurations">Step 4) Remove obsolote configurations<a class="headerlink" href="#step-4-remove-obsolote-configurations" title="Permanent link">¶</a></h3>
|
||||
<p>Although the configurations in environment (i.e., <code>.env</code>) have higher priority than the configurations in config files, we recommend that you remove or modify the cache configuration in the following files to avoid ambiguity::</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><code>seafile.conf</code>: remove the <code>[memcached]</code> section. If you are using single S3 backend and have specified <code>SEAF_SERVER_STORAGE_TYPE=s3</code> in <code>.env</code>, the <code>[commit_object_backend]</code>, <code>[fs_object_backend]</code> and <code>[block_backend]</code> also can be removed.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>seahub_settings.py</code>: remove the key <code>default</code> in variable <code>CACHES</code></p>
|
||||
</li>
|
||||
<li><code>seafile.conf</code>: remove the <code>[memcached]</code> section. If you are using single S3 backend and have specified <code>SEAF_SERVER_STORAGE_TYPE=s3</code> in <code>.env</code>, the <code>[commit_object_backend]</code>, <code>[fs_object_backend]</code> and <code>[block_backend]</code> also can be removed.</li>
|
||||
<li><code>seahub_settings.py</code>: remove the key <code>default</code> in variable <code>CACHES</code></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3 id="step-5-start-seafile">Step 5) Start Seafile<a class="headerlink" href="#step-5-start-seafile" title="Permanent link">¶</a></h3>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d
|
||||
</code></pre></div>
|
||||
<h2 id="upgrade-from-110-to-120">Upgrade from 11.0 to 12.0<a class="headerlink" href="#upgrade-from-110-to-120" title="Permanent link">¶</a></h2>
|
||||
<p>Note: If you have a large number of <code>Activity</code> in MySQL, clear this table first <a href="../../administration/clean_database">Clean Database</a>. Otherwise, the database upgrade will take a long time.</p>
|
||||
<p>From Seafile Docker 12.0, we recommend that you use <code>.env</code> and <code>seafile-server.yml</code> files for configuration.</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue