Stop using Bugsoft Portal

  • For IT
  • Bugsoft Portal 4.12.14

What to take with you, what to switch off, and how to remove Bugsoft Portal cleanly from the server when you stop.

Are you stopping with Bugsoft Portal? Go through these steps in this order. This way you take along what belongs to you, and nothing is left behind that still gives access.

1. Take along your data

  • The settings (tiles, work areas, branding, audiences): Admin › Settings › System › Import & export, or sudo bugsoft config:export bugsoft-export.json. An export contains no passwords.
  • Personal passwords: each employee exports their own passwords at /wachtwoorden/exporteren (a CSV file, after signing in again). Ask everyone to do this before you stop; afterwards it is no longer possible.
  • Calendar: people who added the calendar to their own calendar app (the iCal link in My details) should export or copy there what they want to keep.
  • A last database dump: sudo bugsoft backup. Keep the backup, with the keys from the password vault, as long as your retention policy requires. Without the keys, the saved passwords in it cannot be read.

2. Switch things off

  • Bugsoft Connect: remove the policy in Intune or Group Policy (ExtensionInstallForcelist and ExtensionInstallSources), so the extension disappears from the PCs.
  • Microsoft Entra ID: delete the client secret of the app registration (Certificates & secrets), and then the app registration itself if nobody uses it any more.
  • DNS and certificate: remove the DNS record of the portal. A Let's Encrypt certificate expires by itself.

3. Remove it from the server

sudo bugsoft uninstall --purge

Type VERWIJDEREN ("remove") to confirm. The script first makes a last backup. Then it removes what install.sh set up:

  • the site, the PHP-FPM pool and the scheduled tasks;
  • the SELinux settings and the firewall rules it opened;
  • the command bugsoft;
  • the data (/var/lib/bugsoft), the settings (/etc/bugsoft) and the code (/opt/bugsoft);
  • the MariaDB database it created.

The operating system packages (PHP, nginx or Apache, MariaDB) stay, because other programs may use them.

Without --purge, sudo bugsoft uninstall only removes the site, the pool, the scheduled tasks and the command. Data, settings, code and backups then stay, so you can install again later.

4. Delete the backups

The backups in /var/backups/bugsoft (and in the second place, if you had one) stay, even after --purge. So does /root/bugsoft-sleutels-<date>.env, with the keys that belong to the last backup. They do not disappear by themselves. Delete them as soon as you no longer need them:

sudo rm -rf /var/backups/bugsoft
sudo shred -u /root/bugsoft-sleutels-*.env

Backups you copied to another system: delete them there, according to the retention policy of that system. What is allowed after the end of the licence is in the licence terms on bugsoft.eu.

Stuck? See Questions and problems or contact Bugsoft at ugurs156@gmail.com.