Wiki source code of Application installation into a wiki farm
Last modified by Vincent Massol on 2020/01/28
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
12.2 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
![]() |
1.1 | 2 | {{toc/}} |
3 | {{/box}} | ||
4 | |||
![]() |
12.2 | 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. |
![]() |
1.1 | 6 | |
![]() |
12.2 | 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"). |
![]() |
1.1 | 8 | |
![]() |
12.2 | 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. |
![]() |
1.1 | 10 | |
![]() |
12.2 | 11 | To make the application running it's necessary to grant programming permission to several pages manually. |
![]() |
1.1 | 12 | |
13 | There are two ways to do it: | ||
![]() |
13.1 | 14 | |
![]() |
12.2 | 15 | * manually open-save manipulation per page with programming code |
![]() |
12.3 | 16 | * semi-manually with the help of the [[Admin Tools Application>>extensions:Extension.Admin Tools Application]] |
![]() |
1.1 | 17 | |
18 | {{info}} | ||
![]() |
12.2 | 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 | ||
![]() |
12.5 | 21 | * grant this user programming rights |
![]() |
12.2 | 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 | ||
![]() |
1.1 | 25 | {{/info}} |
26 | |||
![]() |
2.1 | 27 | = Manual way of granting programming rights permission = |
![]() |
1.1 | 28 | |
![]() |
12.2 | 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 | ||
![]() |
1.1 | 31 | |
![]() |
12.3 | 32 | For example, for the [[Annotation Application>>extensions:Extension.Annotations Application]] (bundled with platform by default), the following pages should be re-saved: |
![]() |
1.1 | 33 | |
![]() |
7.2 | 34 | 1. AnnotationCode.Style |
35 | 1. AnnotationCode.Script | ||
36 | 1. AnnotationCode.Settings | ||
![]() |
1.1 | 37 | |
38 | = Semi-manual way with Admin Tools = | ||
39 | |||
![]() |
12.3 | 40 | 1. Import the [[Admin Tools Application>>extensions:Extension.Admin Tools Application]] in the **main** wiki under a user with programming rights |
![]() |
12.2 | 41 | 1. Open the page ##Admin.CheckProgrammingRights## |
![]() |
1.1 | 42 | 1. Confirm programming rights by pressing the link ##Confirm give programming rights## |
![]() |
12.2 | 43 | 1. If everything is successful, you'd see something like this: |
![]() |
1.1 | 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 | ||
![]() |
12.2 | 49 | 1. Checking the application on wiki farms gives positive result - it works |