Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AESAdmin

Members
  • Joined

  • Last visited

  1. Hallo zusammen, ich benötige Unterstützung bei der Einrichtung von Koha. Egal welches Template ich verwende, ich erhalte immer die Fehlermeldung, dass keine Verbindung zur Datenbank hergestellt werden kann. Ich nutze MariaDB als Datenbank, die offizielle Version von Unraid. Da diese fehlerfrei läuft , vermute ich, dass das Problem am Koha-Template liegt. Hat jemand von euch Koha unter Unraid mal zum Laufen gebracht? Falls nicht, kann meine Anfrage geschlossen werden. somit wäre es schön, wenn nur Mitglieder antworten, die tatsächlich diese Applikation betreiben. Bitte fragt mich nicht nach irgendwelchen Screenshots und Logs(was im Log steht hab ich ja bereits erwähnt). Bitte entschuldigt, falls diese Anfrage nicht an der richtigen Stelle von mir gepostet worden ist. Vielen Dank im Voraus!
  2. Hi everyone, I’m running my drives in a ZFS RAID on my Unraid server, and I’ve noticed that the number of snapshots keeps growing. To manage this, I want to periodically clean up old snapshots while keeping a specified number of recent ones. I found the following script, which seems to address the problem by pruning snapshots and limiting their quantity to a defined number (24 in this case). Could you let me know if this is a good approach or if there’s a better alternative for managing ZFS snapshots on Unraid? Here’s the full script: #!/bin/bash #v0.10.2 ########################unraid-snapshot-zfs####################### ###################### User Defined Options ###################### # List your ZFS datasets. You can add/remove sets # readarray -t DATASETS < <(zfs list -o name -H) # when replacing DATASETS below, should return all pools/Datasets, not thoroughly tested yet. If you test this let me know! DATASET=("zfsbackup/cachebackup") mapfile -t DATASETS < <(zfs list -r -o name -H "${DATASET}") # Set Number of Snapshots to Keep SHANPSHOT_QTY=24 # Snapshot Name Format SNAPSHOTNAME=$(date "+simplesnap_%Y-%m-%d-%H:%M:%S") ###### Don't change below unless you know what you're doing ###### ################################################################## echo "Starting Snapshot ${SNAPSHOTNAME}" echo "_____________________________________________________________" ## Validation Steps # Validate SHANPSHOT_QTY if ! [[ $SHANPSHOT_QTY =~ ^[0-9]+$ ]]; then echo "Error: SHANPSHOT_QTY must be a positive integer." exit 1 fi # Validate DATASETS for dataset in "${DATASETS[@]}"; do if ! zfs list "$dataset" &>/dev/null; then echo "Error: Dataset '$dataset' does not exist." exit 1 fi done # Function to handle errors handle_error() { local error_message="$1" echo "Error: $error_message" exit 1 } # Function to create snapshot if there is changed data create_snapshot_if_changed() { local DATASET="$1" local WRITTEN WRITTEN=$(zfs get -H -o value written "${DATASET}") if [[ "${WRITTEN}" != "0" ]]; then if ! zfs snapshot "${DATASET}@${SNAPSHOTNAME}"; then handle_error "Failed to create snapshot for ${DATASET}" fi echo "Snapshot created: ${DATASET}@${SNAPSHOTNAME}" else echo "No changes detected in ${DATASET}. No snapshot created." fi } # Function to prune snapshots prune_snapshots() { local DATASET="$1" local KEEP="${SHANPSHOT_QTY}" # Declare the SNAPSHOTS array declare -a SNAPSHOTS # Use mapfile to split the output into the SNAPSHOTS array if ! mapfile -t SNAPSHOTS < <(zfs list -t snapshot -o name -s creation -r "${DATASET}" | grep "^${DATASET}@"); then echo "Error: Failed to list snapshots for ${DATASET}" return 1 fi local SNAPSHOTS_COUNT=${#SNAPSHOTS[@]} echo "Total snapshots for ${DATASET}: ${SNAPSHOTS_COUNT}" local SNAPSHOTS_SPACE if ! SNAPSHOTS_SPACE=$(zfs get -H -o value usedbysnapshots "${DATASET}"); then echo "Error: Failed to get space used by snapshots for ${DATASET}" return 1 fi echo "Space used by snapshots for ${DATASET}: ${SNAPSHOTS_SPACE}" if [[ ${SNAPSHOTS_COUNT} -gt ${KEEP} ]]; then local TO_DELETE=$((SNAPSHOTS_COUNT - KEEP)) for i in "${SNAPSHOTS[@]:0:${TO_DELETE}}"; do if ! zfs destroy "${i}"; then echo "Error: Failed to delete snapshot: ${i}" return 1 fi echo "Deleted snapshot: ${i}" echo "_____________________________________________________________" done else echo "_____________________________________________________________" fi } # Iterate over each dataset and call the functions for dataset in "${DATASETS[@]}"; do # create_snapshot_if_changed "${dataset}" prune_snapshots "${dataset}" done echo "----------------------------Done!----------------------------" Do you think this script is safe and efficient? Can it potentially cause any issues? Or is there a more reliable/better way to automate snapshot management in a ZFS setup on Unraid? Thanks for your help!
  3. Hi, Danke, die Anwendung im Store habe ich wahrgenommen. Wie du dir vielleicht denken kannst, ist es mit der Installation der App nicht getan. Auch mein "PC/Netzwerk" ist für diese Anfrage nicht relevant. Mir geht es um die Vorgehensweise. Auf einer VM installiere ich den "Agent"und danach den "Bouncer". Aber wie verhält es sich bei einem Docker-Container? Bei deiner Lösung "NginxProxyManager-CrowdSec" ist dieses zwar vorinstalliert, aber wie verfahre ich weiter. Falls jemand praktische Erfahrungen mit Crowdsec und Docker-Continer auf Unraid hat, immer her mit euren Informationen. Danke
  4. Hallo zusammen, ich würde gerne meine Web-Applikationen (z. B. Nextcloud oder Wiki.js) vor Angriffen mit Crowdsec schützen wollen. Die Applikationen laufen als Docker-Container. Um die Applikationen aus dem WAN mit einem signierten SSL-Zertifikat betreiben zu können, habe ich den NPM eingerichtet. Um ehrlich zu sein, weiß ich nicht, wie ich starten soll. Hat einer von euch eine detaillierte Anleitung für mich? Danke

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.