Try to fix 500 error on test-helpcenter.onlyoffice.com/installation/desktop-install-flatpak.aspx. Remove redirected /desktop/documents/linux/installation-flatpak.aspx.

This commit is contained in:
Irina Tiulneva 2022-02-25 18:26:51 +03:00
parent a138c11949
commit 42dada0be0
3 changed files with 18 additions and 36 deletions

View File

@ -1,5 +1,6 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<%@ Register TagPrefix="DeskEdCur" TagName="DeskEdCur" Src="~/Controls/Help/VariousControls/Versions/DesktopEditors/DesktopEditors_Current.ascx" %>
<script runat="server">
protected override void Init()
@ -7,14 +8,14 @@
PageTitle = PageCaption = "How to install ONLYOFFICE Desktop Editors for Linux to your computer using Flatpak?";
MetaKeyWords = "";
MetaDescription = "How to install ONLYOFFICE Desktop Editors for Linux to your computer using Flatpak?";
}
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">How to install ONLYOFFICE Desktop Editors for Linux to your computer using Flatpak?</h1>
<cc:localizecontent runat="Server" controlname="~/Controls/Help/VariousControls/Versions/DesktopEditors/DesktopEditors_Current.ascx" />
<DeskEdCur:DeskEdCur ID="DeskEdCur1" runat="server" />
<p><a href="https://flatpak.org/">Flatpak</a> is a distribution agnostic software utility for building and distributing desktop applications on Linux. It allows to install third-party Linux applications without having to add repositories or deal with dependencies.</p>
<h2 id="InstallFlatpak">Installing Flatpak </h2>
<div class="block_of_step">
@ -23,31 +24,31 @@
<p>For example, to install Flatpak on Ubuntu 18.10 (Cosmic Cuttlefish) or Ubuntu 19.04 (Disco Dingo), simply run:</p>
<pre><code>$ sudo apt install flatpak</code></pre>
<p>With older Ubuntu versions, the official Flatpak PPA is the recommended way to install Flatpak. To install it, run the following in the terminal:</p>
<pre><code>$ sudo add-apt-repository ppa:alexlarsson/flatpak
<pre><code>$ sudo add-apt-repository ppa:alexlarsson/flatpak
$ sudo apt update
$ sudo apt install flatpak</code></pre>
</div>
</div>
<h2 id="FlatpakPlugin">Installing the Software Flatpak plugin</h2>
<div class="block_of_step">
<div class="block_of_step">
<div class="screen_text">
<p>Flatpak plugin for the Software app makes it possible to install apps without the command line. To install it, run:</p>
<pre><code> $ sudo apt install gnome-software-plugin-flatpak</code></pre>
<pre><code> $ sudo apt install gnome-software-plugin-flatpak</code></pre>
</div>
</div>
<h2 id="AddRepo">Adding the Flathub repository</h2>
<div class="block_of_step">
<div class="block_of_step">
<div class="screen_text">
<p>Flathub is the best place to get Flatpak apps. To enable it, run:</p>
<pre><code>$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo </code></pre>
<pre><code>$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo </code></pre>
<p><b>Once you have installed Flatpak, restart your system.</b></p>
</div>
</div>
</div>
<h2 id="VisitFlathub">Visiting Flathub and installing ONLYOFFICE Desktop Editors</h2>
<div class="block_of_step">
<div class="block_of_step">
<div class="screen_text">
<p>After the restart follow the command to install ONLYOFFICE Desktop Editors:</p>
<pre><code>flatpak install flathub org.onlyoffice.desktopeditors</code></pre>
<pre><code>flatpak install flathub org.onlyoffice.desktopeditors</code></pre>
<p>Alternatively:</p>
<ol>
<li>Go to Flathub at <a href="https://flathub.org/apps/details/org.onlyoffice.desktopeditors">https://flathub.org/apps/details/org.onlyoffice.desktopeditors</a></code></pre>
@ -59,10 +60,10 @@ $ sudo apt install flatpak</code></pre>
</div>
</div>
<h2 id="Uninstall">Uninstalling Desktop Editors</h2>
<div class="block_of_step">
<div class="block_of_step">
<div class="screen_text">
<p>To remove ONLYOFFICE Desktop Editors from your machine use the following command:</p>
<pre><code>flatpak remove org.onlyoffice.desktopeditors</code></pre>
<pre><code>flatpak remove org.onlyoffice.desktopeditors</code></pre>
<p>Say y to Is this ok [y/n]:</p>
</div>
</div>
</div>
</div>

View File

@ -1,20 +0,0 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Desktop/DesktopArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content4" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<body class="desktop_linux_version desktop_editors">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DesktopDocumentsTop/DesktopDocumentsTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Desktop/Documents/Linux/DesktopLinuxInstallFlatpak/DesktopLinuxInstallFlatpak.ascx" />
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="guidespage document">
<div id="SeeAlsoBlockLinks">
<div class="caption guides">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100003_linux_system_requirements/100003_linux_system_requirements.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/Desktop/100006_troubleshooting/100006_troubleshooting.ascx" />
</div>
</div>
</asp:Content>

View File

@ -1,5 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/InstallationGuides/InstallationDesktopArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<%@ Register TagPrefix="DeskLinInstFp" TagName="DeskLinInstFp" Src="~/Controls/Help/Desktop/Documents/Linux/DeskLinInstFp/DeskLinInstFp.ascx" %>
<asp:Content ID="Content4" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<body class="desktop_linux_version desktop_editors installation_desktop">
</asp:Content>
@ -7,7 +8,7 @@
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DesktopDocumentsTop/DesktopDocumentsTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Desktop/Documents/Linux/DesktopLinuxInstallFlatpak/DesktopLinuxInstallFlatpak.ascx" />
<DeskLinInstFp:DeskLinInstFp ID="DeskLinInstFp1" runat="server" />
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="guidespage document">