Keywords: Magento - AWS - Technical issue - Other
bnsupport ID: b9d22036-d31d-05b7-4de3-a1be46ab9e45
I launched an AWS EC2 instance using the Bitnami Magento 2.3.2-2 stack. I can log in to the admin panel just fine. However, when I copy across another Magento 2.3.2 site from another server, I can't log in to the admin panel for that one. I get the following error in var/report:
"Notice: Undefined offset: 2 in \/opt\/bitnami\/apps\/magento\/mystore\/vendor\/magento\/framework\/Encryption\/Encryptor.php on line 588"
I've researched the error and it seems that it's trying to use an Argon hash for encryption, something which relies on libsodium, which it seems is not present in the stack.
I have tried to install libsodium but as this is a Bitnami stack you can't just apt-get it, and I've been unable to find bitnami-specific instructions, so I've hit a dead end there.
But I think the main question is - how is it that the default installation of Magento is working fine without it? If I could replicate that in my second instance of Magento it should solve my problem without the need to install any extra software.