cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to receive the password reset link via mail from Magento

Re: Unable to receive the password reset link via mail from Magento

@Pranera 

 

Run command like this:

 

`sudo php bin/magento-cli setup:upgrade`

 

reference link

 

Thanks

Re: Unable to receive the password reset link via mail from Magento

@PankajS_Magento 

 

Getting the same error 

 

ba@magento-laya-vm:~/apps/magento/htdocs$ sudo php bin/magento-cli setup:upgrade
# Check the user before running the command
if [ `id | sed -e s/uid=//g -e s/\(.*//g` -ne 0 ]; then
echo "Please run this script using admin privileges (as root user or using sudo). This way, it will use the pro
per user to run the Magento's command" >> /dev/stderr
exit 1
fi
# Run the Magento's commands using the web servers' user and group
su daemon -s /bin/bash -c "/opt/bitnami/php/bin/php /opt/bitnami/apps/magento/htdocs/bin/magento $*"

 

please help me to solve this issue.

 

Thanks.

Re: Unable to receive the password reset link via mail from Magento

@Pranera 

 

Can you please check with your IT(Server) team, if they can help you to provide the access to run command?

 

Thanks

Re: Unable to receive the password reset link via mail from Magento

@PankajS_Magento 

 

We are the IT team and new to Magento, that's why asking help from you for how to solve this.

Thanks.

Re: Unable to receive the password reset link via mail from Magento

@Pranera 

 

Can you please tell me which server you are using right now?

 

Thanks

Re: Unable to receive the password reset link via mail from Magento

@PankajS_Magento 

 

Google Cloud server. Thanks.

Re: Unable to receive the password reset link via mail from Magento

@Pranera 

 

So you can contact the hosting provider (ie: Google Cloud server). They will provide you the ssh access for server. You can access Magento root directory on this server by ssh or putty.

 

If you already have ssh access user details. Share the username with them and ask them to give you permission to run commands for magento.

 

Let me know, if you have any confusion in this.

 

Thanks