jj_uk

Members
  • Posts

    367
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jj_uk's Achievements

Contributor

Contributor (5/14)

18

Reputation

1

Community Answers

  1. When running a docker scrub, the progress is never updated. Refreshing the page updates the progress. ( cache scrub updates progress every 1 second )
  2. Doesn't seem to be doing anything? Should it rebuild on it's own? There's no button to press to force it as far as I can see?
  3. I just pulled the 1st cache disk and replaced it as per the instructions. How do I know when the rebuid has finished? There's no indication anywhere that I can see that says the cache disks are rebuilding?
  4. Thanks for the reply. I found this https://docs.unraid.net/unraid-os/manual/storage-management/#replace-a-disk-in-a-pool. What does "redundant" mean? It's the cache pool, so it's definitely in use!
  5. What's the process for replacing both cache drives in a btrfs pool? Unplug a drive, plug in the new one, wait for rebuild, then repeat for the other disk? I'm replacing both disks with 1T drives.
  6. Is the config file needed?
  7. Actually, it doesn't work.. backup.log and config.json are missing from the copied files. Any idea why? Are these files locked when the port-run script is executed?
  8. Thanks for the reply. I came up with this, seems to work. #!/bin/sh # Destination folder that will be cleared and will receive the copied data: dest="/mnt/user/backup/CommunityApplicationsAppdataBackup/appdata-latest" # The expected path of the source data (for sanity checking) src_must_contain="/mnt/user/backup/CommunityApplicationsAppdataBackup/appdata/ab_" # Sent arguments: post-run, destination path, true|false (true on backup success, false otherwise) today=$(date +'%Y-%m-%d_%H%M%S') logfile="/mnt/user/backup/CommunityApplicationsAppdataBackup/appdata/port-run-$today.log" { # required for logging, see EOF for closing brace. src="$2" backup_status="$3" echo "log: $logfile" echo echo "params:" echo "param 1 = $1" echo "param 2 = $2" echo "param 3 = $3" echo if [ $1 != "post-run" ]; then echo "ERROR: param 1 not \"post-run\", exiting." exit 0 fi # check param indicates the backup was successful: if [ $backup_status != "true" ]; then echo "ERROR: backup_status is not true, exiting." exit 0 fi # check source path contains the expected path: if [[ $src != *"$src_must_contain"* ]]; then echo "ERROR: src path appears to be at an unexpected location, exiting." exit 0 fi # check source is a directory: if [ -d $src ]; then echo "source: $src" else echo "ERROR: src is not a directory, exiting." exit 0 fi # check destination is a directory: if [ -d $dest ]; then echo "dest: $dest" else echo "ERROR: dest is not a directory, exiting." exit 0 fi # empty destination directory: rm -rf $dest/* echo "Copying src to dest..." # copy source to destination cp -r $src/ $dest/ echo echo echo "finished, exiting." exit 0 } 2>&1 | tee -a $logfile
  9. I'd like to create a script to run after the backup has successfully completed. The script needs to run only if the backup was successful, then: Empty the `/mnt/user/CommunityApplicationsAppdataBackup/appdata-latest/` folder. Copy the folder that was just created by the backup tool to the above path. I've not written any scripts before. Does anyone have any example scripts?
  10. I recently changed the fixed IP address that unraid is using to allow me to move it outside of the DCHP range. I've changed the proxy settings in radarr/sonarr to use the new unraid ip address:8118, and they can connect to the indexers again. But SAB can't connect to the downloader servers. Clicking the spanner in Sab, I see this: Local IPv4 address 10.27.4.254 Public IPv4 address Connection failed! IPv6 address None Nameserver / DNS Lookup OK Not sure what to do, I can't see a proxy setting in Sab to force the use of privoxy. Any idea?
  11. Is it possible to exclude folders everywhere that have a certain name? I use the recycle bin plugin and I don't want to include .Recycle.Bin folders in my backups. I'd like to globally exclude .DS_Store, *.tmp, .Recycle.Bin
  12. I've just turned on an unraid server that's been off for 3 years. when I go to the IP address of the server, it redirects to https://**removed**.unraid.net But there's an error page: This site can’t be reached Check if there is a typo in **removed**.unraid.net. If spelling is correct, try running windows network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN It was working ok when the server was shut off a few years ago. Any ideas? I don't have a monitor cable to connect to the server at the moment, so no console.
  13. Hi- I'm trying to fix nextcloud following the instructions here: https://info.linuxserver.io/issues/2023-06-25-nextcloud/ but i'm stuck. I changed the repository back to lscr.io/linuxserver/nextcloud:version-24.0.12 and restarted. I had some warnings about /nextcloud/nginx/nginx.conf and /nextcloud/nginx/site-confs/default.conf being out of date, so i deleted them and restarted the container. They were recreated. The log file now shows only this: When accessing the nextcloud webgui ip address, I get this: When trying to update, I get this: I read my notes from past updates and run the command that I always use: sudo -u abc php /config/www/nextcloud/updater/updater.phar but get the same write permission error as above. Here's my nextcloud appdata, the user/group seems to be nobody/nogroup. I can't remember if this was user/group abc/abc previously? I'm now stuck and don't know what to do to get nextcloud working again? I've tried as much as I can, but this is beyond me. EDIT: I ran chown -R abc:abc /config/www sudo -u abc php /config/www/nextcloud/updater/updater.phar The updater is now running. We'll see what happens. EDIT 2: This is working for me. Nextcloud updated once and I was able to access the GUI.
  14. It's copying from /mnt/disk2/MediaServer to /mnt/disk1/MediaServer So that's disk to disk, right? /mnt/user/MediaServer <-- is that a user share?