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.

alexdo
Site Moderator
Site Moderator badge
January 23, 2020
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

alexdo
Site Moderator
Site Moderator badge
January 22, 2020

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel