Sign in
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

Bitnami you had one job - work out of the box #fail

  • By Craig Frustrated In Austin
  • on 02/17/2024

Seriously I have to pay money for this? I cannot access the Magento app because the config table has base_url set to an AWS public IP address URL, presumably from when the image was prepared, embedded in the Magento config table. This means I get redirected to http://23.22.54.201 when I try to access Magento. This is ridiculous.

To fix it I did this:

mysql -u root -p
USE bitnami_magento;
select * from core_config_data where path like '%base_url%';
UPDATE core_config_data SET value = 'http://[localIP]/' WHERE config_id = 19;

but now there is some Magento cache that needs to be cleared because I am still being 302 redirected to the public IP. So I am off spelunking in Magento forums to find out the magic commands to clear the cache. I thought I was paying for Bitnami so I would not have to do these sorts of gymnastics!


  • By Bitnami
  • on 04/01/2024

Sorry to hear your experience did not go well. Our initialization scripts take care of configuring this information in the database once the server is running. In this case, it seems something failed and the IP address was not updated. It's not necessary to run those commands manually, there is a script for you to do so. Please check this guide for more information: https://docs.bitnami.com/aws/apps/magento/administration/update-ip-hostname/. If you need additional support, we provide support from our engineers in our VMs repo (https://github.com/bitnami/vms/issues). Don't hesitate to ask there. Regards