Wiki source code of Application installation into wiki-farm
Version 3.2 by Dmitry Bakbardin on 2011/09/02
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="Table of contents"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | As a rule, all application installations shold be done under user with programming rights. This is true also for wiki-farms. But even though 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 fails to run on a wiki-farm (e.g. Annotation application). | ||
8 | |||
9 | Another situation: you Import application correctly, but Import itself is not granting programming rights (even if user has it). The result is the same: application fails to run. | ||
10 | |||
11 | To make application running it's necessary to grant programming permission to several pages manually. | ||
12 | |||
13 | There are two ways to do it: | ||
14 | |||
15 | * manual open-save manipulation per page with programming code | ||
16 | * semi-manual with the help of Admin Tools application | ||
17 | |||
18 | {{info}} | ||
19 | Programming rights to an any user can be granted only in a main wiki. To access wiki farm with programming rights, you should: | ||
20 | - create user in the main wiki with user name, that does NOT exist in wiki farm, grant this user programmnig rights | ||
21 | - log in wiki-farm by any user with Admin rights | ||
22 | - add Global user with programming rights to wiki- farm and grant him with admin rights in wiki-farm | ||
23 | - log in to wiki-farm as a Global user with programming rights | ||
24 | {{/info}} | ||
25 | |||
26 | = Manual way of granting programming rights permission = | ||
27 | |||
28 | |||
29 | * Log in into wiki-farm with a user with programming rights. | ||
30 | * For each application page that require programming rights: open and save with no changes. | ||
31 | |||
32 | For example, for Annotation application (bundled with platform by default), following pages should be 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 in **main** wiki Admin Tools [[http://extensions.xwiki.org/xwiki/bin/view/Extension/AdminTools||multilinks-noscroll="true"]] with the user with programming rights. | ||
41 | 1. Run the page ##Admin.CheckProgrammingRights## | ||
42 | 1. Confirm programming rights by pressing the link ##Confirm give programming rights## | ||
43 | 1. If everything successful, you'd see something like that: | ||
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 Annotation application on wiki-farms gives positive result - it works. |