контролы для траблшутинга

This commit is contained in:
alexandervnuchkov 2016-10-13 14:56:20 +03:00
parent 69ba028b0b
commit 65bb88ff82
5 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_linux sm_server sm_document" id="link_60023" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/document/troubleshooting.aspx")%>">Document Server Linux version troubleshooting</a>

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_linux sm_server sm_document" id="link_60023" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/document/troubleshooting.aspx")%>">Устранение возможных неполадок Сервера документов для Linux</a>

View File

@ -41,4 +41,8 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60011_install_fonts_linux/60011_install_fonts_linux.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60010_switch_to_https_document/60010_switch_to_https_document.ascx" /></li>
</ul>
<h2>Troubleshooting</h2>
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60023_document_troubleshooting/60023_document_troubleshooting.ascx" /></li>
</ul>
</div>

View File

@ -41,4 +41,8 @@
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60011_install_fonts_linux/60011_install_fonts_linux.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60010_switch_to_https_document/60010_switch_to_https_document.ascx" /></li>
</ul>
<h2>Устранение неполадок</h2>
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60023_document_troubleshooting/60023_document_troubleshooting.ascx" /></li>
</ul>
</div>

View File

@ -0,0 +1,144 @@
<%@ 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">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">Usage issues</span></li>--%>
</ul>
<div class="keyword_block">
<ul>
<li>
<cc:LocalizeContent ID="LocalizeContent3" runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent4" runat="Server" ControlName="~/Controls/Help/Tags/server-version/server-version.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent2" runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent9" 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 submodule update --init --recursive
</code></pre>
</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>Usage issues</h2>
<div class="question_answer">
<p><span>Q:</span>I cannot use full text search with <b>Community Server</b> under Ubuntu. How can set it up?</p>
<p>
<span class="answer">A:</span>To set up full text search in <b>Community Server</b> under Ubuntu you will need to do the following:
<ol>
<li>Install the latest version of <b>sphinx</b>. Read more details <a target="_blank" href="http://sphinxsearch.com/docs/current.html#installing-debian">here</a> on how to do that.</li>
<li>Stop the <b>sphinxsearch</b> service using the following command:
<pre><code>sudo service sphinxsearch stop
</code></pre>
</li>
<li>Restart the <b>onlyofficeIndex</b> service:
<pre><code>sudo service onlyofficeIndex restart
</code></pre>
</li>
</ol>
<br />
Automatic installation is not supported for Ubuntu due to the installator security restrictions.
</p>
</div>
<div class="question_answer">
<p><span>Q:</span>Talk does not work with 5222 port. How can I change it to another port?</p>
<p><span class="answer">A:</span>To change port for Talk in <b>Community Server</b> under Ubuntu you will need to do the following:
<ol>
<li>Locate the <code>/var/www/onlyoffice/Services/Jabber/TeamLabSvc.exe.Config</code> file and open it using a text editor.</li>
<li>Change the <code>bindPort</code> string value of <b>5222</b> to another one:
<br /><br /><em class="example">&lt;property name="bindPort" value="5223" /&gt;</em>
<br />
</li>
<li>Restart the <b>onlyofficeJabber</b> service:
<pre><code>sudo service onlyofficeJabber restart
</code></pre>
</li>
</ol>
</p>
</div>
</div>--%>
</div>