i have an error starting the bot
installation was successful but with a warning:
Installing https://luarocks.org/lua-cjson-2.1.0.6-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.2 -c lua_cjson.c -o lua_cjson.o
lua_cjson.c: In function ‘json_append_data’:
lua_cjson.c:743:19: warning: implicit declaration of function ‘lua_objlen’ [-Wimplicit-function-declaration]
len = lua_objlen(l, -1);
^
so after that and some output more it said
>> tdcliBot successfully installed!
>> Change values in config file and run ./tdcliBot
and when i try to start tdclibot with the start command my output is
root@mail:~/bot# ./tdcliBot start
change_user_group: can't find the user telegramd to switch to
Telegram-cli version 1.5.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show_license' for details.
Telegram-cli uses tdlib (commit f2e430a3d4e4fa61ea040950072dc65b79efa26f)
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
Telegram-cli uses libreadline
I: profile = 'tdcliBot'
I: config_directory = '/root/bot/tg/.telegram-cli'
I: data_directory = '/root/bot/tg/.telegram-cli/data'
I: logname = '(null)'
*** 1533597621.000000 lua: error loading module 'cjson' from file '.luarocks/lib/lua/5.2/cjson.so':
.luarocks/lib/lua/5.2/cjson.so: undefined symbol: lua_objlen
hello dev! thanks for his great project!
i have an error starting the bot installation was successful but with a warning:
so after that and some output more it said
and when i try to start tdclibot with the start command my output is
what should i do?