Question

I have created a website twice now and both times it has been overwritten as soon as I login via SSH.

I have created a website twice now and both times it has been overwritten as soon as I login via SSH.

If I create the image and do the install config via SSH for wordpress, the worpress installation breaks and does not recognise the url’s such as 178.62.54.128/wp-admin and none of the links work or the CSS.

If I create the wordpress instance by accessing SSH and control C out of the wordpress setup questions to the command prompt, and then go to the URL 178.62.54.128 and create the wordpress instance via the GUI in the web browser, the next time I login via SSH the site is overwritten.

Please help, I have wasted days on two creations of the same site.


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.

Accepted Answer

Hello, @Systemwork

If you’re already experiencing this issue you can apply the following temporary fix. Once you’re logged in you can execute these commands:

mv /var/www/html.old/html /var/www/wordpress
mv /var/www/html.old /var/www/html

Also you can comment out the lines in the instal script after that.

# mv /var/www/html.old/html /var/www/wordpress
# mv /var/www/html.old /var/www/html

Regards, Alex

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, @Systemwork

This is a known issue and it’s already been reported to the team. This is expected to be fixed shortly, but I will let you know once I have more details. I’ll keep you posted.

Regards, Alex