c0d3m0nk3y
Members
-
Joined
-
Last visited
-
Currently
Viewing Topic: [Plugin] FolderView2
-
[Plugin] Appdata.Backup
Are you aware of the auto update plugin?
-
[Plugin] Appdata.Backup
I have a container that has always failed to backup and I finally tracked down the root of the problem, it's with the tar command itself but I have a workaround that the plugin's cleanup logic is preventing when saving. The config for that container I have Save external volumes? set to yes because I want one of the external volumes backed up, but that means I need to exclude /mnt/user obviously. I figured out the problem with tar is the --exclude '/mnt/user' by taking the Generated tar command from the logs and by adding a trailing / it works. I have a feeling it's because of the /mnt/user0 folder, which I'm not sure why that exists but I'm still troubleshooting that. The problem is if I change the line in the UI to /mnt/user/ when I save it goes back to `/mnt/user` For now I've disabled Save external volumes? and have a separate script handling the one external volume, but I don't like that solution long term
-
Shut down taking a VERY long time
I will be trying a new flash drive in case that's the cause, but I'm out of spares so need to go get a pack and wanted to get this down while it was fresh
-
-
Shut down taking a VERY long time
I've been having this issue a lot lately but it got really bad recently, just had one take longer than the 15mins my UPS had and seems to be the cause of corruption on one of my cache disks. I've already looked at my array stop times, that's under a min so it's not any of those causes Today has been the worst case. While in safe mode to work on recovering my corrupted drive, my array shut down very quickly and 10 mins after that with nothing in the syslog I logout of the directly connected gui, ssh in and run 'shutdown now' from terminal. Nothing in the syslogs for a few mins other than from the shutdown command. Then after a few mins, all happening in less than half a second, the syslog is inundated with the same line repeatedly 'publish curl to diagnostic tool failed', the gui session ends, my ssh session ends, and the direct monitor connection goes to the console with minimal logs (attached photo). After all that I wait another 20mins of nothing written to console, short press power, nothing, repeat a couple times. Wait another 5mins, still nothing new on the console and just gave up and did a hard reset
-
[Plugin] rclone
Sorry if this has been asked and answered, I swear I've already searched the thread. How do you set the username and password for the WebUI?
-
Python 3.11 Unraid TXZ Package/Plugin
Thanks for this. Finally let me upgrade a project I use across multiple systems now that I'm not limited to 3.9 It did take a little more than just installing the packs to get everything properly wired up. So if anyone runs into any issues, take a look at my install script ``` for p in $(find ./*.txz) do installpkg $p done if [[ -f /usr/bin/pip ]] then rm /usr/bin/pip fi ln -s /usr/bin/pip3 /usr/bin/pip if [[ -f /usr/bin/python ]] then rm /usr/bin/python fi ln -s /usr/bin/python3.12 /usr/bin/python pip install --upgrade pip pip install --upgrade pipx ``` That loop installs the python 3.12 package I downloaded from here along with the glibc and openssl packages from
-
[Support] SpaceinvaderOne - Macinabox
For anyone coming across this issue, for me it was caused by the "Machine" setting, it worked when I set it back to Q35-4.2
-
[Plugin] Appdata.Backup
Keep getting many of these "Please consider ignoring this container" warnings even though I have set them to be skipped
-
c0d3m0nk3y started following [6.9.1] Docker Update Check not reliable for external container
-
c0d3m0nk3y changed their profile photo
-
-
Installing missing packages
Oh, damn. Thanks!
-
Installing missing packages
After upgrading to 6.11.5, I lost the nvme-cli package because it is no longer available in the Nerd Pack plugin. I needed it because I am managing my fan speeds with a custom script as Fan Auto Control does not fulfill my needs. I managed to manually install it and thought I'd document it, as the steps I took work for any other missing package you can't get through the Nerd Pack plugin Acquiring the package: https://packages.slackware.com/ or https://slackware.pkgs.org/ have repositories of official Slackware packages You need the Slackware version of your Unraid instance to find an appropriate repo. You can get that by running this in your shell. cat /etc/os-release Find and download the package you need, if multiple options are provided, you're going to need a file with extension txz In your shell run the following command upgradepkg --install-new package-file.txz This installation is not permanent, you will need to install any packages after reboots. I suggest you setup a script in User Scripts set to "At First Array Start Only"
-
[Support] Djoss - HandBrake
I've got my own auto transcoding script I use on my linux machine and would like move the process to my server, but I'm running into an issue when running HandBrakeCLI using an NVenc profile. When using the same video and profile in the GUI it works fine, but when I run HandBrakeCLI directly I get an error "[hevc_nvenc @ 0x14b6a589c6c0] Cannot load libcuda.so.1" I've run into this error before on my linux machine but in that case the profile didn't work with either the GUI nor HandBrakeCLI and it was a problem with my installation, but that's clearly not what's happening here. Has anyone else run into this and found a solution? Example script HandBrakeCLI --preset "H.265 NVENC 1080p" -q 28.0 -i "/storage/path/video.mp4" -o "/storage/path/video-nvenc-cq28.mp4" --start-at seconds:375 --stop-at seconds:2351 Edit: I also tried including "--preset-import-file /config/ghb/presets.json" used in the script found at "/run/s6/services/autovideoconverter/autovideoconverter"
-
Python script to manually install binaries
I needed ack and prename installed in the system bin, along with some of my own. So I cleaned up the code and decided to share. This only requires vanilla python v3+. What it does: For each item in the dictionary _scripts - If script is missing , or older than a week (can be changed on line 27), it will download it from the url defined in the dictionary item For each *.sh or *.pl file in the script's directory - Copies it to /usr/bin/ and enables execution permission Python Script import os import subprocess from datetime import datetime from datetime import timedelta def shell(cmd, check=False) -> str: res = subprocess.run(cmd, stdout=subprocess.PIPE, shell=True, check=check) return res.stdout.decode('utf-8').strip() def curl(url, scriptName): shell(f'curl {url} -o {scriptName}') _scripts = { #https://forums.unraid.net/topic/79490-rename-instead-of-rename-perl-instead-of-unix-util/ 'prename.pl': lambda k: curl('https://gist.githubusercontent.com/javiermon/3939556/raw/b9d0634f2c099b825a483d3d75cae1712fb9aa31/prename.pl', k), #https://beyondgrep.com/install/ 'ack.pl': lambda k: curl('https://beyondgrep.com/ack-v3.5.0', k) } _scriptExt = ['.sh', '.pl'] _bin = '/usr/bin/' def run(): oneWeekAgo = datetime.now() - timedelta(days=7) for k in _scripts.keys(): sp = './' + k if not os.path.exists(sp) or datetime.fromtimestamp(os.path.getmtime(sp)) < oneWeekAgo: print(f'Updating: {k}') _scripts[k](k) for f in os.listdir(os.fsencode('./')): fn = os.fsdecode(f) fns = os.path.splitext(fn) if fns[1] in _scriptExt: print(f'Copying: {fn} -> {_bin}{fns[0]}') shell(f'cp {fn} {_bin}{fns[0]}') shell(f'chmod +x {_bin}{fns[0]}') run() Bash Script I suggest adding to UserScripts with Schedule set to "At First Array Start Only" Change "/mnt/user/projects/scripts" to wherever you save the python script Change "installScripts.py" to whatever you name the python script #!/bin/bash cd /mnt/user/projects/scripts python3 installScripts.py
-
[Support] Djoss - MakeMKV
So it's suddenly working now. I believe it was a cable issue. To plug it in for my VM I just plug into the front ports. For Unraid host it's all the rear ports and I use an extension cable. I'm a dumb dumb and didn't think to rule that out til today when I reconnected it to grab that screenshot and it wouldn't mount at all. As soon as I plugged directly without the extension everything worked. Thanks for the help, and sorry for the bother
-
[Support] Djoss - MakeMKV
I have. I also tried adding the ":latest" tag to the repository field to make sure it was grabbing latest since I noticed after posting that although last updated on CA is 2/22, on DockerHub it shows the last update as 2/28, but that didn't resolve the issue either
-
[Support] Djoss - MakeMKV
Running into an issue and haven't found anyone running into it on this forum I've tried multiple blu-ray and DVDs but any disk I load, gives me a ton of errors that look like... 'Posix error - no such device' occurred while reading '[My bluray name and model #]' at offset '[some number]' From what I'm seeing on the MakeMKV forums it's an issue with AACS host certificate. It's a usb drive. LiteOn BD-RE Slimtype EB1, and I don't have this problem when plugging into a usb port passed through to a VM with the latest version of MakeMKV installed. The last release of MakeMKV was on 2/27, just 5 days after your last update. Is it possible that version has this fixed? Could you update it please?