helpcenter/Web/Controls/Help/Server/Linux/Document/Troubleshooting/Troubleshooting.ru.ascx
2017-10-13 10:41:40 +03:00

127 lines
8.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Устранение возможных неполадок. Сервер документов";
MetaKeyWords = "";
MetaDescription = "";
var guides = new GuidesModel();
guides.CaptionRelatedTips = "Связанные советы и приемы";
guides.Title = "Шаблоны отчетов";
guides.RelatedTips = "Надоело генерировать отчеты вручную? Теперь Вы можете один раз задать нужные параметры и регулярно получать автоматические отчеты по электронной почте в определенный день и время.";
guides.LearnMore = "Подробнее...";
(Page as BasePage).Guides = guides;
}
</script>
<div class="MainHelpCenter GettingStarted">
<ul class="TableOfContents">
<li><span class="gs_link gs_active" id="all">Всё</span></li>
<%--<li><span class="gs_link" id="GeneralIssues">General issues</span></li>--%>
<li><span class="gs_link" id="CompilationIssues">Проблемы при компиляции</span></li>
<%--<li><span class="gs_link" id="ConfigurationIssues">Configuration issues</span></li>--%>
<li><span class="gs_link" id="UsageIssues">Проблемы при использовании</span></li>
</ul>
<div class="keyword_block">
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/server-version/server-version.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/linux-version/linux-version.ascx" /></li>
</ul>
</div>
<%--<div class="gs_content" id="GeneralIssues_block">
<h2>General issues</h2>
<div class="question_answer">
<p><span>Q:</span>I need to backup my portal data. How can I do that?</p>
<p><span class="answer">A:</span>First create a data backup manually by copying your data from the following directory:</p>
<ul>
<li>/var/www/onlyoffice/Data</li>
</ul>
<p>Then backup your SQL database using the following command:</p>
<pre><code>mysqldump -h localhost -u [uname] -p[pass] [db_to_backup] > [backupfile.sql]
</code></pre>
<p>This SQL backup can be restored later using the command:</p>
<pre><code>mysql -u [uname] -p[pass] [db_to_restore] < [backupfile.sql]
</code></pre>
</div>
</div>--%>
<div class="gs_content" id="CompilationIssues_block">
<h2>Проблемы при компиляции</h2>
<div class="question_answer">
<p><span>Вопрос:</span>Я клонировал код, но нахожу только пустые папки, исходного кода нет.</p>
<p><span class="answer">Ответ:</span>Репозиторий включает в себя подмодули. Рекомендуется клонировать репозиторий, выполнив следующую команду:</p>
<pre><code>git clone --recursive https://github.com/ONLYOFFICE/DocumentServer.git
</code></pre>
<p>В том случае, если вы клонировали репозиторий с помощью команды:</p>
<pre><code>git clone https://github.com/ONLYOFFICE/DocumentServer.git
</code></pre>
<p>обновить подмодули можно следующим образом:</p>
<ol>
<li>
<p>Перейдите в каталог <code>DocumentServer</code>:</p>
<pre><code>cd DocumentServer
</code></pre>
</li>
<li>
<p>Выполните следующую команду:</p>
<pre><code>git submodule update --init --recursive
</code></pre>
</li>
</ol>
</div>
</div>
<%--<div class="gs_content" id="ConfigurationIssues_block">
<h2>Configuration issues</h2>
<div class="question_answer">
<p><span>Q:</span>I cannot use full text search with <b>Community Server</b> under CentOS. How can set it up?</p>
<p><span class="answer">A:</span>The full text search will be installed automatically when you run the <code>configure.sh</code> script.</p>
</div>
<div class="question_answer">
<p><span>Q:</span>After installing <b>Community Server</b> on <b>CentOS 7 minimal</b> I try to open it in a browser and get the following error: 502 Bad Gateway. How can I resolve this issue?</p>
<p><span class="answer">A:</span><b>SELinux</b> is enabled on <b>Centos 7 minimal</b> by default. That can be verified using the <code>sestatus</code> command. <b>SELinux</b> blocks <b>NGINX</b> access to the <b>onlyoffice</b> socket.</p>
<p>You can solve this issue in one of the following ways:</p>
<ol>
<li>Add exceptions for <b>NGINX</b> to <b>SELinux</b>.
<pre><code>yum install -y policycoreutils-{python,devel}
</code></pre>
<pre><code>grep nginx /var/log/audit/audit.log | audit2allow -M nginx
</code></pre>
<pre><code>semodule -i nginx.pp
</code></pre>
</li>
<li>Disable <b>SELinux</b>.
<ol>
<li>Open the <code>/etc/sysconfig/selinux</code> file using any text editor.</li>
<li>Set the <code>SELINUX</code> value to <code>SELINUX=disabled</code> and save the changes.</li>
<li>Reboot your server for the changes to take effect.</li>
</ol>
</li>
</ol>
</div>
</div>--%>
<div class="gs_content" id="UsageIssues_block">
<h2>Проблемы при использовании</h2>
<div class="question_answer">
<p><span>Вопрос:</span>При остановке <b>Сервера документов</b> произошла потеря данных. Как избежать потери данных?</p>
<p><span class="answer">Ответ:</span>Из-за особености работы <b>Сервер документов</b> сохраняет документ только после того, как все пользователи, редактирующие его, закрыли документ. Чтобы избежать потери данных, при необходимости остановить <b>Сервер документов</b> в случаях обновления приложения, перезагрузки сервера и т.п. необходимо принудительно отключить пользователей <b>Сервера документов</b>. Для этого на сервере, где запущен <b>Сервер документов</b>, выполните следующий скрипт:
<pre><code>documentserver-prepare4shutdown.sh
</code></pre>
</p>
<div class="notehelp">Выполнение скрипта может занять продолжительное время (до 5 минут).</div>
<div class="notehelp">Отключение пользователей может занять продолжительное время (до 5 минут).</div>
</div>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/TroubleshootingQA1/TroubleshootingQA1.ascx" />
</div>
</div>