Is there a way to make a talk bot with command support in nextcloud AIO?
Can i use this bot GitHub - sowoi/nextcloud-talk-bot: Nextcloud Talk Bot framework with NLP processor and Python3 Nextcloud API wrapper. with it?
The setup says something about executing a script as www-data and i’m not sure how to do it properly in a docker container.
When i try to run something like:
sudo docker exec --user www-data -i nextcloud-aio-nextcloud bash < setup_nextcloud_talk_bot.sh
I’m getting
...
Allow access for www-data to the script ncbot.py
/var/www/html/ncbot.sh {ARGUMENTS}
Running sudo -u www-data php /occ talk:command:add ncb nct "/var/www/html/ncbot.sh {ARGUMENTS}"
www-data is not in the sudoers file.
This incident has been reported to the administrator.
Command executed successfully.
Starting first run setup
www-data is not in the sudoers file.
This incident has been reported to the administrator.
Setup executed successfully.
Monitoring not enabled.