Development

Canasta: Using Canasta > Best practices

This page covers security considerations and best practices for managing Canasta installations.

Table of contents

Security considerations

Password storage

Root access

The CLI requires root/sudo access for:

Network exposure


Best practices

Backups

Before upgrading

  1. Take a backup:
    sudo canasta restic take-snapshot -t "pre-upgrade-$(date +%Y%m%d)" -i mywiki
  2. Review the Canasta release notes for any breaking changes
  3. Run the upgrade:
    sudo canasta upgrade -i mywiki

Managing multiple installations


Post-installation notes

Email configuration

Email functionality is not enabled by default. To enable email for your wiki, you must configure the $wgSMTP setting in your LocalSettings.php. See the MediaWiki SMTP documentation for configuration options.

Wiki ID naming rules

Wiki IDs must follow these rules:

Valid examples: mywiki, my-wiki, wiki_1, MyWiki2024

Invalid examples: my wiki, -mywiki, wiki!, mywiki-