Maintenance and Configuration

General

Task Command
Update DDNS record curl “https://dynamicdns.park-your-domain.com/update?host=@&domain=ert.space&password=<REDACTED>”
Renew SSL certificate sudo certbot renew && sudo systemctrl restart nginx
Update UFW firewall rules
sudo ufw allow 22000/tcp # add TCP port 22000
sudo ufw reload # enable new rules
sudo ufw status # check active rules
sudo ufw delete allow 22000/tcp # remove TCP port 22000

TTRSS

Modification Location
Database configuration (SELF_URL_PATH, etc.) /var/www/ttrss/config.php

Gitea

Modification Location
Configuration settings $GITEA/conf/app.ini (see here for configurable values)
Git clone SSH port SSH_PORT = port in app.ini (sets clone url to ssh://git@ert.space:port/user/repo.git)
Home page $GITEA/gitea/templates/home.templ
Localized strings $GITEA/gitea/options/locale/local_en-US.ini
CSS styling $GITEA/gitea/public/css/index.css
Other Copy files as necessary from the Gitea repository under custom/conf, options, public, and templates

Nextcloud

Modification Location
HTTPS protocol for reverse proxies Add ‘overwriteprotocol’ => ‘https’ in config/config.php to $CONFIG array in config/config.php
Running an occ command docker exec -u www-data nextcloud php occ $command

Ghost

Modification Location
URL url in $GHOST/config.production.json
Theme Unzip into $GHOST/content/themes/themename
Custom JS Settings -> Code injection

MediaWiki

Task Commands
Changing the logo
  1. Upload logo to $MEDIAWIKI/html/resources/assets/logo.png
  2. Modify $wgLogo = “$wgResourceBasePath/resources/assets/logo.png”; in $MEDIAWIKI/html/LocalSettings.php
  3. docker exec mediawiki php /var/www/html/maintenance/rebuildImages.php
Making pages show up in categories docker exec mediawiki php /var/www/html/maintenance/refreshLinks.php
Adding extensions TODO, add wfLoadExtension( ‘ExtensionName’ ); in $MEDIAWIKI/html/LocalSettings.php

Funkwhale

Task Commands
Importing music
  1. Copy music to $FUNKWHALE/music
  2. docker exec -it funkwhale manage import_files e4ddd50e-ae64-4390-861b-28a4338b5de7 “/music/*.mp3” --in-place --recursive --broadcast

See docs for more details and docker exec -it funkwhale manage import_files --help for more commands.

Standard Notes

Modification Location
Disabling registration Comment out post “auth” => “api/auth#register” in $STDNOTES/config/routes.rb
Other See docs