mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.58k stars 1.15k forks source link

set password for rpamd fail #2831

Closed unclesamwk closed 4 years ago

unclesamwk commented 5 years ago

Hey,

set rspamd password in mailcow UI fails with error message

'An unknown error occured'

In logs i dont see any entry.

youve an idea?

greetings Sam

christianbur commented 5 years ago

I just successfully changed the password for Rspamd in the Mailcow UI. I've even tried it on two independent Mailcow instances, I can't find a bug with the current version of Mailcow.

andryyy commented 5 years ago

I cannot reproduce, too. :(

Logs would be very helpful.

unclesamwk commented 5 years ago

i dont see anything more, but this i see ...

==> /var/lib/docker/containers/1a35fb11ba7c5c5eb0e994b555111875186e02814d0dd6b75254a5a1c3eed5a4/1a35fb11ba7c5c5eb0e994b555111875186e02814d0dd6b75254a5a1c3eed5a4-json.log <==
{"log":"olefy INFO eof_received \u003c\u003e 0 bytes (stream size)\n","stream":"stdout","time":"2019-08-03T12:51:20.658560201Z"}
{"log":"olefy ERROR eof_received Protocol ERROR: no OLEFY/1.0 found)\n","stream":"stdout","time":"2019-08-03T12:51:20.65869316Z"}
{"log":"olefy INFO eof_received ('172.22.1.2', 45344) response send: b'[ { \"error\": \"Protocol error\" } ]'\n","stream":"stdout","time":"2019-08-03T12:51:20.658704108Z"}
unclesamwk commented 5 years ago

can i set the password on other way?

christianbur commented 5 years ago

OLEFY (the logs shown above) has nothing to do with the dockerapi. This method is used to change the rspamd password.

unclesamwk commented 5 years ago

is there a supported uncomplicated way to print debug output for flask api?

christianbur commented 5 years ago

delete the file (...../mailcow-dockerized/data/conf/rspamd/override.d/worker-controller-password.inc ) and try again, maybe the Docker container is not allowed to create the file. However, it must have something to do with your local Docker host machine, because it's not the Docker image.

unclesamwk commented 5 years ago

i delete the file and restart the container and then the file was create again. # Autogenerated by mailcow

andryyy commented 5 years ago

That's fine.

unclesamwk commented 5 years ago

but it doesn't works ... is there a supported uncomplicated way to print debug output for flask api?

andryyy commented 5 years ago

You should post full logs, but cherry pick them.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.