Wiki source code of Upgrading from the Debian package
Version 3.1 by Thomas Mortagne on 2024/04/30
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | * Update packages index:((( | ||
2 | {{code language="bash"}} | ||
3 | sudo apt update | ||
4 | {{/code}} | ||
5 | ))) | ||
6 | * Package upgrade:((( | ||
7 | {{code language="bash"}} | ||
8 | sudo apt upgrade | ||
9 | {{/code}} | ||
10 | |||
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). | ||
12 | |||
13 | {{warning}} | ||
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!]]). | ||
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 install xwiki-tomcat8-mysql{{/code}}. | ||
17 | {{/warning}} | ||
18 | ))) | ||
19 | * Pages upgrade:((( | ||
20 | However after upgrading you still need to install the new UI; see next step [[Upgrading the flavor>>.||anchor="HPart2Upgradingtheflavor"]] below. | ||
21 | ))) |