T
T
Tez X42016-05-22 20:24:45
linux
Tez X4, 2016-05-22 20:24:45

Updated on 16.04 and the scripts for ejabberd stopped working, they worked on 15.04. What needs to be changed in the scripts to make it work?

updated to 16.04
ejabberd v.16.01-2 xenail
and scripts for ejabberd stopped working, they worked on 15.04
ejabberd package:
ejabberd v.2.1.11-1ubuntu2 trusty
like this:

ejabberdctl set_vcard user01 jabber.someserver.ru FN "Петров Пётр петрович"
ejabberdctl set_vcard user01 jabber.someserver.ru NICKNAME "Петров Пётр петрович"
ejabberdctl set_vcard2 user01 jabber.someserver.ru EMAIL USERID "[email protected]"
ejabberdctl set_vcard2 user01 jabber.someserver.ru TEL NUMBER "22-23-322,доб. 2-32"
ejabberdctl set_vcard2 user01 jabber.someserver.ru ADR LOCALITY "Default city"
ejabberdctl set_vcard2 user01 jabber.someserver.ru ADR STREET "ул. странная д.1"
ejabberdctl set_vcard2 user01 jabber.someserver.ru ORG ORGNAME "Рога и копыта"
ejabberdctl set_vcard2 user01 jabber.someserver.ru ORG ORGUNIT "бухгалтерия"
ejabberdctl set_vcard2 user01 jabber.someserver.ru TITLE ROLE "бухгалтер"

the answer is detailed as always, but meaningless to me as a user.
Problem 'error {case_clause,
                   {'EXIT',
                       {{badmatch,{error,{fread,character}}},
                        [{ejabberd_ctl,format_arg2,2,
                             [{file,"src/ejabberd_ctl.erl"},{line,336}]},
                         {ejabberd_ctl,format_arg,2,
                             [{file,"src/ejabberd_ctl.erl"},{line,327}]},
                         {ejabberd_ctl,'-format_args/2-fun-0-',2,
                             [{file,"src/ejabberd_ctl.erl"},{line,318}]},
                         {lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
                         {ejabberd_ctl,call_command,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,293}]},
                         {ejabberd_ctl,try_call_command,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,271}]},
                         {ejabberd_ctl,process2,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,220}]},
                         {ejabberd_ctl,process,1,
                             [{file,"src/ejabberd_ctl.erl"},{line,205}]}]}}}' occurred executing the command.
Stacktrace: [{ejabberd_ctl,call_command,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,293}]},
             {ejabberd_ctl,try_call_command,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,271}]},
             {ejabberd_ctl,process2,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,220}]},
             {ejabberd_ctl,process,1,
                           [{file,"src/ejabberd_ctl.erl"},{line,205}]},
             {rpc,'-handle_call_call/6-fun-0-',5,
                  [{file,"rpc.erl"},{line,206}]}]
Problem 'error {case_clause,
                   {'EXIT',
                       {{badmatch,{error,{fread,character}}},
                        [{ejabberd_ctl,format_arg2,2,
                             [{file,"src/ejabberd_ctl.erl"},{line,336}]},
                         {ejabberd_ctl,format_arg,2,
                             [{file,"src/ejabberd_ctl.erl"},{line,327}]},
                         {ejabberd_ctl,'-format_args/2-fun-0-',2,
                             [{file,"src/ejabberd_ctl.erl"},{line,318}]},
                         {lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
                         {ejabberd_ctl,call_command,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,293}]},
                         {ejabberd_ctl,try_call_command,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,271}]},
                         {ejabberd_ctl,process2,3,
                             [{file,"src/ejabberd_ctl.erl"},{line,220}]},
                         {ejabberd_ctl,process,1,
                             [{file,"src/ejabberd_ctl.erl"},{line,205}]}]}}}' occurred executing the command.
Stacktrace: [{ejabberd_ctl,call_command,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,293}]},
             {ejabberd_ctl,try_call_command,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,271}]},
             {ejabberd_ctl,process2,3,
                           [{file,"src/ejabberd_ctl.erl"},{line,220}]},
             {ejabberd_ctl,process,1,
                           [{file,"src/ejabberd_ctl.erl"},{line,205}]},
             {rpc,'-handle_call_call/6-fun-0-',5,
                  [{file,"rpc.erl"},{line,206}]}]

No, just to poke what's wrong :)
has anyone come across?
PS. why doesn't ejabberdctl digest Cyrillic in fields, and fields with values ​​of more than one word?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-05-22
@begemot_sun

He can't read anything.
Obviously, hire a specialist who will do everything for you.
Yes, and jabberd can be collected from the source.

V
Vladimir, 2016-05-23
@rostel

there were changes in erlang related to support for multibyte characters,
most likely in the hedgehog this is not taken into account
show the exhaust
dpkg -l | grep erlang

T
Tez X4, 2016-05-23
@TeZx4

[email protected]:~/etc/ejabberd/register# dpkg -l | grep erlang
ii  erlang-asn1                        1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP modules for ASN.1 support
ii  erlang-base                        1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP virtual machine and base applications
ii  erlang-crypto                      1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP cryptographic modules
ii  erlang-edoc                        1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP module for generating documentation
ii  erlang-goldrush                    0.1.8-1                         amd64        small Erlang app that provides fast event stream processing
ii  erlang-inets                       1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP Internet clients and servers
ii  erlang-lager                       3.1.0-1                         amd64        logging framework for Erlang
ii  erlang-mnesia                      1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP distributed relational/object hybrid database
ii  erlang-odbc                        1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP interface to SQL databases
ii  erlang-os-mon                      1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP operating system monitor
ii  erlang-p1-cache-tab                1.0.2-2                         amd64        in-memory cache application for Erlang / Elixir apps
ii  erlang-p1-iconv                    0.2016.01.05-1                  amd64        erlang interface to libiconv
ii  erlang-p1-stringprep               1.0.2-2                         amd64        erlang interface to stringprep
ii  erlang-p1-tls                      1.0.0-1                         amd64        Erlang interface to OpenSSL
ii  erlang-p1-utils                    1.0.3-2                         amd64        set of small Erlang libraries
ii  erlang-p1-xml                      1.1.2-1                         amd64        XML utilities for Erlang
ii  erlang-p1-yaml                     1.0.1-1                         amd64        erlang wrapper for libyaml C library
ii  erlang-p1-zlib                     1.0.0-1                         amd64        erlang interface to zlib
ii  erlang-public-key                  1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP public key infrastructure
ii  erlang-runtime-tools               1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP runtime tracing/debugging tools
ii  erlang-snmp                        1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP SNMP applications
ii  erlang-ssl                         1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP implementation of SSL
ii  erlang-syntax-tools                1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP modules for handling abstract Erlang syntax trees
ii  erlang-xmerl                       1:18.3-dfsg-1ubuntu3            amd64        Erlang/OTP XML tools

U.P.
maybe there is someone who fumbles in the syntax of ejabberdctl commands and tells you how to properly format lines with "" or ' ' maybe even [] with values ​​on the great mighty one?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question