Changes for page Updating XWiki
Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/14 18:58
From version 1.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/14 10:16
on 2026/11/14 10:16
Change comment:
There is no comment for this version
To version 2.2
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/14 18:56
on 2026/11/14 18:56
Change comment:
Added comment
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,107 @@ 1 +{{plantuml server="http://www.plantuml.com/plantuml"}} 2 +@startuml 3 +title XWiki Upgrade Procedure (WAR Deployment Model) 4 + 5 +start 6 + 7 +:Check current XWiki version; 8 +:Verify Tomcat is healthy; 9 +:Check disk and memory; 10 + 11 +:Create MariaDB backup; 12 +:Verify SQL dump exists; 13 + 14 +:Create configuration backup; 15 +note right 16 +Backup: 17 +- /etc/xwiki 18 +- /usr/lib/xwiki/WEB-INF 19 +end note 20 + 21 +:Download new XWiki WAR; 22 + 23 +:Explode WAR into\n/usr/lib/xwiki-<NEW_VERSION>; 24 + 25 +:Save vendor templates; 26 +note right 27 +Copy: 28 +- hibernate.cfg.xml 29 +- xwiki.cfg 30 +- xwiki.properties 31 +to a review directory 32 +end note 33 + 34 +:Compare vendor templates\nwith /etc/xwiki; 35 + 36 +if (New settings introduced?) then (yes) 37 + 38 + :Review changes; 39 + :Merge useful settings\ninto /etc/xwiki; 40 + 41 +else (no) 42 + 43 +endif 44 + 45 +:Recreate symlink architecture; 46 + 47 +note right 48 +WEB-INF -> 49 +/etc/xwiki 50 + 51 +hibernate.cfg.xml 52 +xwiki.cfg 53 +xwiki.properties 54 + 55 +cache 56 +fonts 57 +observation 58 +end note 59 + 60 +:Verify symlinks; 61 + 62 +if (All symlinks valid?) then (yes) 63 + 64 +else (no) 65 + 66 + :Fix symlinks; 67 + stop 68 + 69 +endif 70 + 71 +:Stop Tomcat; 72 + 73 +:Archive previous release; 74 + 75 +:Activate new release; 76 + 77 +:Start Tomcat; 78 + 79 +:Monitor catalina.out; 80 + 81 +if (Startup completed?) then (yes) 82 + 83 + :Open portal.igfae.usc.es; 84 + :Perform functional tests; 85 + 86 +else (no) 87 + 88 + :Rollback to previous release; 89 + stop 90 + 91 +endif 92 + 93 +if (Functional tests OK?) then (yes) 94 + 95 + :Keep previous release\nfor one cycle; 96 + :Document merged config changes; 97 + 98 +else (no) 99 + 100 + :Rollback to previous release; 101 + 102 +endif 103 + 104 +stop 105 + 106 +@enduml 107 +{{/plantuml}}
- XWiki.XWikiComments[0]
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.RicardoJulioRodriguezFernandez - Comment
-
... ... @@ -1,0 +1,12 @@ 1 +/etc/xwiki/xwiki.cfg 2 +xwiki.home=https://portal.igfae.usc.es 3 +xwiki.stats=0 4 +xwiki.url.protocol=https 5 + 6 +/etc/xwiki/xwiki.properties 7 +environment.permanentDirectory=/var/lib/xwiki/data 8 +extension.security.scan.enabled=true 9 +url.trustedDomainsEnabled=true 10 +url.trustedDomains=www.plantuml.com 11 +whatsnew.sources= 12 + - Date
-
... ... @@ -1,0 +1,1 @@ 1 +2026-11-14 18:56:24.519