Page MenuHomePhabricator

Set up server for
Closed, ResolvedPublic


Install Wordpress on one of our Bahnhof servers.

  • Setup server on Bahnhof
    • Schedule backups
  • Install clean Ubuntu 20.04
    • Enable automatic updating
  • Set up Certbot
    • Requires access to the URL
  • Install Wordpress

Event Timeline

In preparing a server for this it was discovered that it could not have it's RAM upgraded (see T267629). I'll grab another one that has 1 GB RAM already. It shouldn't take to long to get it in shape since I've done the first steps recently.

Lokal_Profil renamed this task from Set up server får to Set up server for 10 2020, 9:56 AM

Sever "wikimedia04" has been reused for this.

unattended-upgrades has been set up roughly according to this guide. Automatic reboots has been enabled at 02:00 and error messages are sent to drift@.

The server was down this morning and wouldn't boot, giving this error:

Error: (2, 'Invalid kernel', 'panic: xc_dom_core.c:638: xc_dom_find_loader: no loader found')

Fatal: Virtual machine has not been started on hypervisor

Rolling back to the backup from last night didn't fix it. I've managed to start the server in recovery mode, but I'm not sure what I'm supposed to do now. I may just rebuild the server since it doesn't have any information on it. That may be a quicker solution at this point.

Having reinstalled the server once more, it seems that upgrading to Ubuntu 20.04 is what's causing this. I'll keep it at 18.04 rather than flail at an error that I don't really know what it is. It's LTS so it should be fine.

Certbot is now setup and Apache installed.

Sebastian_Berlin-WMSE moved this task from This Week to Done on the User-Sebastian_Berlin-WMSE board.

The server should be ready for Wordpress installation now. @kalle, I'll assign you to this task now. If you prefer, you can create a separate task instead.

kalle moved this task from 🤕 Watching to 🤯 Done on the User-kalle board.
kalle updated the task description. (Show Details)

Firewall has been added in Bahnhof, allowing only HTTP(S) and SSH.

There is a file in ~root/ (or is it that contains a list of all things I did, including password for admin user.

Lokal_Profil added a subscriber: Lokal_Profil.

Last todo is to set up admin accounts for me and Sebastian (drift team)