Server move

From Creative Crowds wiki
Revision as of 13:46, 23 January 2026 by Manetta (talk | contribs) (Server move)
Jump to navigation Jump to search

Server move

Notes here: Services on CC

  • ✅ migrate etherpad
    • ✅ install etherpad (/opt/etherpad/)
    • ✅ configure nginx
    • ✅ set etherpad up as a systemd background process
    • ✅ test migration of database
    • ✅ migrate the database
  • ✅ install mediawiki (/var/www/wiki/, version 1.45)
    • ✅ configure nginx
    • ✅ install php + php-fpm + mariadb
    • ✅ migrate the extensions
    • re-download all extensions not needed, only EtherpadLite
    • ✅ applied the hack again to EtherpadLite to hide ip-adresses
    • ✅ migrate the images folder
    • ✅ make new database
    • ✅ test migration of database
    • ✅ migrate the database
    • ✅ check extensions
    • update URL in Localsettings
      • ✅ check if etherpadlite extension works
    • ✅ check if wiki works again!
    • ✅ check CreatePage extension, disabled now as it threw an error
  • ✅ enable home folders
  • ✅ migrate home folders
  • ✅ migrate /var/www/html/
  • ✅ install octomode (/opt/octomode/, running on port 3333)
    • ✅ update pad URL in .env file
    • test if octomode works
  • ✅ install wiki-to-print (/opt/wiki-to-print/, running on port 4444)
    • test if wiki-to-print works
    • ✅ update wiki URL in config.json
    • ✅ update wiki URL in MediaWiki:Common.js
  • change DNS of cc.practices.tools (point to our servus ip-address)
  • enable HTTPS
    • install certbot
    • ✅ activate cronjob
  • decide on http/https redirect in nginx
  • ✅ redirect / to /wiki/
  • check if https://cc.vvvvvvaria.org still works
  • let ServPub people know that the new URL is https://cc.practices.tools

SSH

Old server:

Host cc
Hostname 51.195.117.20
User USERNAME
localcommand xtermcontrol --bg "#ffffe0"

New server:

Host cc
Hostname 193.170.194.207
User USERNAME
localcommand xtermcontrol --bg "#ffff00"