Wiki source code of Upgrading from the Debian package
Version 2.1 by Vincent Massol on 2024/04/02
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | * Update packages index:((( |
![]() |
1.1 | 2 | {{code language="bash"}} |
3 | sudo apt-get update | ||
4 | {{/code}} | ||
5 | ))) | ||
![]() |
2.1 | 6 | * Package upgrade:((( |
![]() |
1.1 | 7 | {{code language="bash"}} |
8 | sudo apt-get upgrade | ||
9 | {{/code}} | ||
10 | |||
![]() |
2.1 | 11 | This will upgrade all packages, not just XWiki. If you want to avoid all the other packages and only update XWiki, you can use {{code}}sudo apt-get install xwiki-tomcat8-mysql{{/code}} (change ##xwiki-tomcat8-mysql## for the top level package you installed if you installed something else). |
![]() |
1.1 | 12 | |
13 | {{warning}} | ||
14 | When upgrading from pre 9.5 version {{code}}apt-get upgrade{{/code}} won't find anything because the package name changed ([[XWiki Enterprise does not exist anymore>>xwiki:Blog.XWiki Enterprise is dead, long live XWiki!]]). | ||
15 | |||
16 | All you have to do in this case is install the ##xwiki-tomcat*## package corresponding to the top level ##xwiki-enterprise-tomcat*## one you installed previously. For example if you had ##xwiki-enterprise-tomcat8-mysql## 9.4 you should do {{code}}sudo apt-get install xwiki-tomcat8-mysql{{/code}}. | ||
17 | {{/warning}} | ||
18 | ))) | ||
![]() |
2.1 | 19 | * Pages upgrade:((( |
![]() |
1.1 | 20 | However after upgrading you still need to install the new UI; see next step [[Upgrading the flavor>>.||anchor="HPart2Upgradingtheflavor"]] below. |
21 | ))) | ||
22 |