added info on upgrading
This commit is contained in:
parent
b5b3e7bd94
commit
561c5f4d93
@ -68,7 +68,7 @@ Install the newest version of Prosody and its dependencies from the official pro
|
||||
|
||||
wget https://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add -
|
||||
|
||||
sudo apt-get update && sudo apt-get install prosody-0.11
|
||||
sudo apt-get update && sudo apt-get install prosody
|
||||
|
||||
Install the newest prosody plugins:
|
||||
|
||||
@ -103,7 +103,7 @@ The homebrewserver.club prosody config
|
||||
"disco"; -- Service discovery
|
||||
"private"; -- Private XML storage (for room bookmarks, etc.)
|
||||
"vcard4"; -- User Profiles (stored in PEP)
|
||||
"vcard_legacy" -- Conversion between legacy vCard and PEP Avatar, vcard
|
||||
"vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
|
||||
"version"; -- Replies to server version requests
|
||||
"uptime"; -- Report how long server has been running
|
||||
"time"; -- Let others know the time here on this server
|
||||
@ -126,7 +126,7 @@ The homebrewserver.club prosody config
|
||||
allow_registration = false; -- Enable to allow people to register accounts on your server from their clients, for more information see http://prosody.im/doc/creating_accounts
|
||||
|
||||
certificates = "/etc/prosody/certs"
|
||||
https_certificate = "certs/myserver.org"
|
||||
https_certificate = "certs/myserver.org.crt"
|
||||
|
||||
c2s_require_encryption = true -- Force clients to use encrypted connections
|
||||
|
||||
@ -235,5 +235,23 @@ When upgrading to prosody 0.11 on a server using sql make sure to run database u
|
||||
:::console
|
||||
prosodyctl mod_storage_sql upgrade
|
||||
|
||||
In the event you get an error about DBI not being found that is because Debian's Lua version doesn't support DBI. If that is the case you can do the following:
|
||||
|
||||
Download LuaRocks source from <http://luarocks.github.io/luarocks/releases>
|
||||
|
||||
Unpack it and compile with Lua5.2 support:
|
||||
|
||||
:::console
|
||||
./configure --lua-version=5.2
|
||||
make
|
||||
sudo make install
|
||||
|
||||
Then proceed to install `luadbi` and `luadbi-` for the mysql backend you use (see [here](https://prosody.im/doc/depends) for more info):
|
||||
|
||||
:::console
|
||||
luarocks install luadbi
|
||||
luarocks install luadbi-mysql
|
||||
|
||||
Then you should be able to run the storage_sql upgrade as described above.
|
||||
|
||||
[^1]: Previous articles descibed how to set up [Prosody 0.9](https://homebrewserver.club/drafts/configuring-a-modern-xmpp-server-0.9.html) and [Prosody 0.10](https://homebrewserver.club/drafts/configuring-a-modern-xmpp-server-0.10.html)
|
Loading…
Reference in New Issue
Block a user