By jjee
I created a droplet with the Magento 2 Open Source image (LAMP server with Magento in Ubuntu 18.04), follow the configuration directions until the end, and got the Magento droplet up and running. The problem comes when I reboot the server, when I log in, it asks me to fill in the domain and everything else in the Magento configuration. Is there a step I’m missing?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @jjee
When the droplet is rebooted and you login again the Magento script is executed again and will change the password.
If you’ve finished the Magento installation and don’t want to have the install script running on your next login you can edit the .bashrc file and remove the last two lines from it:
chmod +x /opt/digitalocean/magento_setup.sh
/opt/digitalocean/magento_setup.sh
then execute:
source ~/.bashrc
The next time you access the droplet, the install script will not be executed. However if you reboot the droplet the install script will be executed again and the two lines will be added back in the .bashrc file
This has been reported to the Eltrino team which is managing the Magento one-click droplet in the marketplace and they’re aware of this. They will release a new version in the near future and this will be sorted.
Hope this helps!
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.