Skip to content

Instantly share code, notes, and snippets.

2024-04-03 10:42:44,841 INFO 2e25126258a14b99 - indico.rh GET /register/?next=/event/936/contributions/8849/ [IP=nnn.nnn.nnn.nnn] [PID=1470607]
2024-04-03 10:42:44,852 ERROR 2e25126258a14b99 - indico.flask (psycopg2.OperationalError) could not translate host name "indico-db.internal.ourdomain.tld" to address: Name or service not known
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python3.9/site-packages/indico/core/settings/util.py", line 54, in get_setting
value = cache[cache_key]
KeyError: (<class 'indico.core.settings.proxy.SettingsProxy'>, 'announcement', 'enabled', frozenset())
During handling of the above exception, another exception occurred:
@ahmgithubahm
ahmgithubahm / README.md
Created September 8, 2021 17:15 — forked from yorickdowne/README.md
Ubuntu Desktop 20.04 with mirrored ZFS boot drive

Overview

Ubuntu Desktop 20.04 supports a single ZFS boot drive out of the box. I wanted a ZFS mirror, without going through an entirely manual setup of Ubuntu as described by OpenZFS

This adds a mirror to an existing Ubuntu ZFS boot drive after the fact.

ZFS requires native encryption to be added at pool / dataset creation. Ubuntu 21.04 supports this during installation. Whether these instructions are suitable for mirroring such a setup has not been tested. For Ubuntu 20.04, these instructions are not suitable for creating an encrypted ZFS boot disk, please use the full instructions linked above for that. You can, however, add an encrypted dataset after the fact: You could encrypt just the portion of your file system that holds secrets.

Note: If your use case is running docker instances, and not a full-fledged Ubuntu install, then take a look at TrueNAS SCALE