Server keeps asking for magento domain after reboot

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?

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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/

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