Reset password on self server does not work on 25.x and 26.x versions
-
micdj
- Posts: 31
- Joined: Wed Jan 06, 2021 2:23 am
My server was on 25.x version before upgrade, and reset password didn t work, but I see you change mail configuration with new mail DNS mode, so i thinked the issue was there, but now I upgrade server tò 26.03.02, I config corretly mail sender and It works, because I try to add new user, but reset password still not.work I think there Is a bug. I attach screenshot of issue
You do not have the required permissions to view the files attached to this post.
-
micdj
- Posts: 31
- Joined: Wed Jan 06, 2021 2:23 am
I see from console command:
root@cloud-server-0:~/supla-docker# docker exec supla-cloud php bin/console supla:debug:mailer
SUPLA Mailer debugger
=====================
Recipient e-mail address: :
>
Aborted.
root@cloud-server-0:~/supla-docker# docker exec supla-cloud php bin/console supla:debug:mailer
SUPLA Mailer debugger
=====================
Recipient e-mail address: :
>
Aborted.
-
fracz
- Posts: 2342
- Joined: Fri Oct 28, 2016 10:56 pm
- Location: Kraków
- Has thanked: 4 times
- Been thanked: 6 times
You must run this command in an interactive mode.
Then put an email address you can check and send a test e-mail with this command.
Code: Select all
docker exec -it supla-cloud php bin/console supla:debug:mailer
-
micdj
- Posts: 31
- Joined: Wed Jan 06, 2021 2:23 am
result: message sent, is not an issue on setting mail sender account, as I told you.
You do not have the required permissions to view the files attached to this post.
-
micdj
- Posts: 31
- Joined: Wed Jan 06, 2021 2:23 am
Hello i find the issue, host doesn't solve ip address during reset password routine, so I patch docker with this:
Can you patch correctly in next release?
Thank you
Code: Select all
docker exec supla-cloud sed -i \
's|curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);|curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);\n curl_setopt($ch, CURLOPT_RESOLVE, ["switchdomo.eu:443:82.223.15.248", "switchdomo.eu:80:82.223.15.248"]);|' \
/var/www/cloud/src/SuplaBundle/Supla/SuplaHttpClient.phpThank you
