matrix-docker-ansible-deploy icon indicating copy to clipboard operation
matrix-docker-ansible-deploy copied to clipboard

Cactus Comments not responsive in room after setup

Open ReggieMarr opened this issue 1 year ago • 0 comments

Describe the bug After setting up cactus comments I am able to create a room but it the bot does not respond.

Note the attached image. image

journalctl and systemctl don't seem to be showing anything of note either.

reggiemarr@vps-b8ce3055:~$ sudo systemctl status matrix-cactus-comments.service 
● matrix-cactus-comments.service - Cactus Comments
     Loaded: loaded (/etc/systemd/system/matrix-cactus-comments.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2023-08-13 21:02:28 UTC; 4min 28s ago
    Process: 4004908 ExecStartPre=/usr/bin/env sh -c /usr/bin/env docker kill matrix-cactus-comments 2>/dev/null || >    Process: 4004915 ExecStartPre=/usr/bin/env sh -c /usr/bin/env docker rm matrix-cactus-comments 2>/dev/null || tr>   Main PID: 4004922 (docker)
      Tasks: 8 (limit: 9264)
     Memory: 7.6M
        CPU: 82ms
     CGroup: /system.slice/matrix-cactus-comments.service
             └─4004922 docker run --rm --name matrix-cactus-comments --log-driver=none --cap-drop=ALL --user=998:100>
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,145] INFO in app: Registration co>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,146] INFO in app: Accepting invit>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,335] INFO in app: Registering use>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,353] INFO in app: Setting display>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,547] INFO in app: Setting profile>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,626] INFO in app: Registration co>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,905] INFO in app: Registering use>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,933] INFO in app: Setting display>Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,974] INFO in app: Setting profile>Aug 13 21:04:45 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:45,037] INFO in app: Registration co>
reggiemarr@vps-b8ce3055:~$ sudo journalctl -fu matrix-cactus-comments.service
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,145] INFO in app: Registration complete
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,146] INFO in app: Accepting invite    room_id='!2s4DUtQy7WgoAmLU:bridge.monster' sender='@reggiemarr:bridge.monster'
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,335] INFO in app: Registering user    user_id='@bot.cactusbot:bridge.monster'
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,353] INFO in app: Setting display name
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,547] INFO in app: Setting profile image
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,626] INFO in app: Registration complete
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,905] INFO in app: Registering user    user_id='@bot.cactusbot:bridge.monster'
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,933] INFO in app: Setting display name
Aug 13 21:04:44 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:44,974] INFO in app: Setting profile image
Aug 13 21:04:45 vps-b8ce3055 matrix-cactus-comments[4004922]: [2023-08-13 21:04:45,037] INFO in app: Registration complete

To Reproduce My vars.yml file looks like this:

#################
## Cactus Chat ##
#################

matrix_cactus_comments_enabled: true

# To allow guest comments without users needing to log in, you need to have guest registration enabled.
# To do this you need to uncomment one of the following lines (depending if you are using synapse or dentrite as a homeserver)
# If you don't know which one you use: The default is synapse ;)
matrix_dentrite_allow_guest_access: true

Let me know what else I can look into to debug this.

ReggieMarr avatar Aug 13 '23 21:08 ReggieMarr