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 |
Manually removing file locks |
|
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 |
|
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 |
See docs for more details and |