Wiki source code of Application installation into a wiki farm
Last modified by Vincent Massol on 2020/01/28 12:46
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | As a rule, all application installations shold be done under a user with programming rights. This is true for wiki-farms also. But even though an installation on a wiki-farm will require more additional steps to make applications running. | ||
| 6 | |||
| 7 | By default, XE Manager is not granting programming rights to pages while farm deployment, as the result, you will find that some applications fail to run on a wiki-farm (e.g. "Annotation application"). | ||
| 8 | |||
| 9 | Another situation: you import an application correctly, but import itself is not granting programming rights (even if the user has them). The result is the same: the application fails to run. | ||
| 10 | |||
| 11 | To make the application running it's necessary to grant programming permission to several pages manually. | ||
| 12 | |||
| 13 | There are two ways to do it: | ||
| 14 | |||
| 15 | * manually open-save manipulation per page with programming code | ||
| 16 | * semi-manually with the help of the [[Admin Tools Application>>extensions:Extension.Admin Tools Application]] | ||
| 17 | |||
| 18 | {{info}} | ||
| 19 | Programming rights can be granted to an any user only in a main wiki. To access a wiki farm with programming rights, you should follow these steps: | ||
| 20 | * create an user in the main wiki with an user name that does **NOT** exist in the wiki farm | ||
| 21 | * grant this user programming rights | ||
| 22 | * log in the wiki farm as any user with admin rights | ||
| 23 | * add a global user with programming rights to the wiki farm and grant him admin rights for the wiki farm | ||
| 24 | * log in to the wiki farm as a global user with programming rights | ||
| 25 | {{/info}} | ||
| 26 | |||
| 27 | = Manual way of granting programming rights permission = | ||
| 28 | |||
| 29 | * Log in into the wiki farm with a user with programming rights | ||
| 30 | * For each application page that requires programming rights do the following: open and save with no changes | ||
| 31 | |||
| 32 | For example, for the [[Annotation Application>>extensions:Extension.Annotations Application]] (bundled with platform by default), the following pages should be re-saved: | ||
| 33 | |||
| 34 | 1. AnnotationCode.Style | ||
| 35 | 1. AnnotationCode.Script | ||
| 36 | 1. AnnotationCode.Settings | ||
| 37 | |||
| 38 | = Semi-manual way with Admin Tools = | ||
| 39 | |||
| 40 | 1. Import the [[Admin Tools Application>>extensions:Extension.Admin Tools Application]] in the **main** wiki under a user with programming rights | ||
| 41 | 1. Open the page ##Admin.CheckProgrammingRights## | ||
| 42 | 1. Confirm programming rights by pressing the link ##Confirm give programming rights## | ||
| 43 | 1. If everything is successful, you'd see something like this: | ||
| 44 | 1*. fixing Main.Spaces | ||
| 45 | 1*. fixing Main.Activity | ||
| 46 | 1*. fixing AnnotationCode.Style | ||
| 47 | 1*. fixing AnnotationCode.Script | ||
| 48 | 1*. fixing AnnotationCode.Settings | ||
| 49 | 1. Checking the application on wiki farms gives positive result - it works |