I hereby claim:
- I am ldvc on github.
- I am ldvc (https://keybase.io/ldvc) on keybase.
- I have a public key whose fingerprint is C3EE 7350 F8DF 3480 A0C9 05E0 2192 936B 0FFC E757
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Largely inspired from https://www.karolak.fr/blog/2017/05/05/monter-un-serveur-de-sauvegardes-avec-borgbackup/
$ sudo su -
$ apt install python3 python3-dev libssl-dev openssl libacl1-dev libacl1 liblz4-dev liblz4-1 build-essential
-- Prosody XMPP Server Configuration | |
---------- Server-wide settings ---------- | |
-- Settings in this section apply to the whole server and are the default settings | |
-- for any virtual hosts | |
admins = { "admin@example.com" } | |
-- This is the list of modules Prosody will load on startup. | |
-- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. |
First redacted on early March 2018.
After some time with Prosody 0.10 on Debian 9, I wanted to test Ejabberd. You'll find below steps for doing such migration.
The most recent version can be found in Stretch's backports repository:
cat <<EOF | sudo tee /etc/apt/sources.list.d/backports.list
deb http://ftp.debian.org/debian stretch-backports main
05-02 16:28:03.203 D/conversations(28025): app switched into foreground | |
05-02 16:28:43.989 D/conversations(28025): ConversationsOverviewFragment.onPause() | |
05-02 16:28:43.991 D/conversations(28025): ConversationFragment.onAttach() | |
05-02 16:28:44.025 D/conversations(28025): reInit(hasExtras=true) | |
05-02 16:28:44.025 D/conversations(28025): trimming conversation | |
05-02 16:28:44.074 D/conversations(28025): scrolledToBottomAndNoPending=true | |
05-02 16:28:44.074 D/conversations(28025): jump to first unread message | |
05-02 16:28:49.896 D/conversations(28025): AxolotlService (usert@myserver.com): Finding devices without session for userq@example.com | |
05-02 16:28:49.897 D/conversations(28025): AxolotlService (usert@myserver.com): Finding devices without session for userl@myserver.com | |
05-02 16:28:49.898 D/conversations(28025): AxolotlService (usert@myserver.com): Found device userl@myserver.com:9396475 |
As admin
user:
sudo scutil --set ComputerName "myHostname"
sudo scutil --set LocalHostName "myHostname"
sudo scutil --set HostName "myHostname"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install tig
brew cask install iterm2
brew cask install alfred
Got he following after changing log_level
from 4 => 3 and ejabberdctl reload_config
:
2019-01-04 10:32:15.561 [error] <0.3680.0>@ejabberd_hooks:safe_apply:384 Hook config_reloaded crashed when running ejabberd_rdbms:config_reloaded/0:
** Reason = {error,badarg,[{ets,select_count,[],[sql_pool,[{{sql_pool,'$1','_'},[{'==','$1',{const,<<"example.com">>}}],[true]}]]},{ejabberd_sql_sup,reload,[{file,"src/ejabberd_sql_sup.erl"},{line,76}],1},{lists,foreach,[{file,"lists.erl"},{line,1338}],2},{ejabb
erd_hooks,safe_apply,[{file,"src/ejabberd_hooks.erl"},{line,380}],4},{ejabberd_hooks,run1,[{file,"src/ejabberd_hooks.erl"},{line,329}],3},{ejabberd_ctl,call_command,[{file,"src/ejabberd_ctl.erl"},{line,351}],4},{ejabberd_ctl,try_call_command,[{file,"src/ejabb
erd_ctl.erl"},{line,320}],4},{ejabberd_ctl,process2,[{file,"src/ejabberd_ctl.erl"},{line,270}],4}]}