Wiki source code of Upgrading from the Debian package
Version 3.1 by Thomas Mortagne on 2024/04/30
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | * Update packages index:((( |
![]() |
1.1 | 2 | {{code language="bash"}} |
![]() |
3.1 | 3 | sudo apt update |
![]() |
1.1 | 4 | {{/code}} |
5 | ))) | ||
![]() |
2.1 | 6 | * Package upgrade:((( |
![]() |
1.1 | 7 | {{code language="bash"}} |
![]() |
3.1 | 8 | sudo apt upgrade |
![]() |
1.1 | 9 | {{/code}} |
10 | |||
![]() |
3.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-tomcat9-mariadb{{/code}} (change ##xwiki-tomcat9-mariadb## for the top level package you installed if you installed something else). |
![]() |
1.1 | 12 | |
13 | {{warning}} | ||
![]() |
3.1 | 14 | When upgrading from pre 9.5 version {{code}}apt 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!]]). |
![]() |
1.1 | 15 | |
![]() |
3.1 | 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 install xwiki-tomcat8-mysql{{/code}}. |
![]() |
1.1 | 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 |