Everything posted by TexasUnraid
-
Dynamix - V6 Plugins
I can confirm that the bash script line above ran at array start works good for getting autofan running with my existing settings and all fans are controlled as I have them setup in the GUI.
-
Dynamix - V6 Plugins
I don't know even know how to find the github page and have never really used github outside of downloading stuff from it. No idea how to properly open an issue. Still very new to linux. If the start script above works, that should be good enough for now.
-
Dynamix - V6 Plugins
I already did that early on when I was trying to figure out why it was not controlling the fans before I figured out making a mundane change would get it working. It didn't change anything. Pretty sure it only checks the first cfg file to see if it should start the service, since I don't want that one enabled, it doesn't start it.
-
Dynamix - V6 Plugins
Tried that but it just moved the settings up 2 slots, so my PWM 6 settings became PWM 4 settings. etc.
-
Dynamix - V6 Plugins
Yeah, I figured that was the case but if I do that then autofan will try to control PWM1 which I do not want. Same as if I set it to enable in the GUI I am guessing. I have PWM1 set to disabled in the GUI for this reason but have PWM 3-6 set to enabled. This works fine if I manually start the service by making a mundane change but it does not auto-start. I am guessing that it is only checking PWM1 to see if it should be enabled instead of checking all the cfg files.
-
Dynamix - V6 Plugins
Odd, I have 6 files, one for each fan controller in my system. Some of them I have disabled as I want the bios to control them (CPU fans) which includes channel 1. The others are enabled and show in the cfg files but it does not autostart. Does it only check the first channel to see if it should autostart the whole service?
-
Dynamix - V6 Plugins
It is set to enabled in the GUI but does not actually take control of the fans until I make a change. I checked the config/plugin folder but just see files listing out the settings for each fan and a .txz file. Where is the config file you are talking about?
-
Dynamix - V6 Plugins
Perfect, I have a script that runs at array start already, I will toss this in there.
-
Dynamix - V6 Plugins
Got a link to said script?
-
Dynamix - V6 Plugins
Agreed, this and for auto fan to automatically start when the unraid boots / the array is started. I have to manually go into it and make a mundane change to get it to start.
-
[Support] binhex - qBittorrentVPN
Another one with issues with privoxy since the latest update. All the Arr's can not connect to anything when set to use the proxy on either qbittorrent or the privoxy docker itself. If I set it to use an NZBgetVPN docker that is based on an older version of your template, everything works just fine (same if I disable the proxy). Setting my browser to use privoxy is VERY slow to the point of basically not working, it will load speedtest.net but actually starting the test never seems to happen even after several minutes. After some testing if I revert the privoxy docker to :3.0.30-1-01 And the Qbittorrent docker to :4.3.3-1-02 Both work perfectly again. It seems to be this latest round of updates that is causing the issue.
-
[Plugin] CA User Scripts
I was working on the rsync script now and was curious, where are the background logs for user scripts stored? Would it be possible to send the output from the script directly into the log file to make viewing it later easy? The syntax for this would be apprishiated as well, I always get confused by the > vs >> and it seems a half dozen other methods of sending the output to another place.
-
[Plugin] CA User Scripts
Just in case someone finds this on google later, figured I would toss up my script for changing the CPU governer using the above settings. I store the script.page files in a sub-folder of the user-script to keep things tidy. /boot/config/plugins/user.scripts/scripts/Power\ Governer\ switcher/cpu-power-switch then I have a script that runs at array start that copies the files to the right location cp -r /boot/config/plugins/user.scripts/scripts/Power\ Governer\ switcher/cpu-power-switch /usr/local/emhttp/plugins/ The script itself is really simple, you need Tips & tweaks plugin installed for it to work #!/bin/bash #description=This script switches the CPU Governer between Powersave and Performance (schedutil) #backgroundOnly= #arrayStarted= #noParity= #argumentDescription= #argumentDefault= #set -x GOVERNER=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) if [ "$GOVERNER" = powersave ] then /usr/local/sbin/rc.tweaks set_governor schedutil echo "CPU is being changed to Performance Mode" else /usr/local/sbin/rc.tweaks set_governor powersave echo "CPU is being Changed to PowerSave Mode" fi echo "The CPU Governer is now set to $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)" /usr/local/emhttp/webGui/scripts/notify -i normal -e "New CPU Governer" -s "The new CPU governer is set to" -d "$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)" It is working perfect, I can now change the governer with a single button. It saves 20-40w of power easily, much more under higher loads but also allows for full performance if I need it. Also gives me ideas for other uses of this method. Thanks for the help Squid!
-
[Plugin] CA User Scripts
Ok, was not sure if there was an easier way. Is it possible to put a sleep command into the .page file? I would like for it to pause for ~2 seconds after running so I can see what state the CPU was switched to. I tried putting the sleep a few places but it caused an error. Otherwise it seems to be working great!
-
[Plugin] CA User Scripts
Ok, finally got the server back up and running so setting this up. I am FAR from an expert but doesn't /usr/local/emhttp/plugins/ get wiped on reboot? I thought the only persistent folder was /boot? could I put the files in /boot/config/plugins instead? Partly asking about this situation but also for future information.
-
[support] Bungy's docker repository
Yeah, thankfully I had a power backup on it that saved it long enough for me to shut it down properly. We were then without power for 2 days with temps down at 0 degrees. I was really lucky I bought a generator almost 15 years ago when we had a really bad summer storm and were out of power for a week in the heat of summer. VERY different in the peak of winter lol. I was able to rig it up to the house with a DIY backfeed cable to get the gas central heat working. That helped a ton, we were almost below freezing in the house before I got that running. Things are pretty much back to normal now though at the house, stores are restocking daily now that trucks can get in and today was a 75 degree day, yesterday was 65. This is why we just hibernate through winter storms in Texas, they never last very long.
-
[support] Bungy's docker repository
Just wanted to report I got my server running again and updated the docker. I copied over the config from qbittorrent and wireguard is working great, 3x the speed I was getting on openvpn!
-
[support] Bungy's docker repository
Cool, I will update later once I turn the server back on, power is still inconsistent here so I have it turned off for the moment.
-
[support] Bungy's docker repository
Great! Looking forward to it!
-
[Plugin] CA User Scripts
Perfect! That sounds like just what I was looking for. I do have an rsync script I was wanting to run like this, I will add the command you listed to see if that works without interfering with the GUI. Is it possible to run it the same way user scripts works with the "run in background" option? Aka, it will keep the log in user scripts for later reference? Or possibly open the script in a new window with the output visible like running from user scripts? I can make it work without logging, just reduces the uses a bit. Having power outages right now due to weather so the server is shut down but will give it a try when I turn it back on.
-
[Plugin] Parity Check Tuning
I had not, I just did though, will see if that fixes it.
-
[Plugin] Parity Check Tuning
I am getting my log flooded with these messages every 12 mins on beta 30 and the latest version of parity check. Feb 14 02:08:01 NAS crond[2118]: failed parsing crontab for user root: /usr/local/emhttp/plugins/parity.check.tuning/parity.check.tuning.php "resume" &> /dev/null Feb 14 02:08:01 NAS crond[2118]: failed parsing crontab for user root: /usr/local/emhttp/plugins/parity.check.tuning/parity.check.tuning.php "pause" &> /dev/null
-
[Plugin] CA User Scripts
Thanks, I was looking for something more integrated into unraid. Customtabs would work great if it had the option to run a script / command. Don't really want to do anything custom to the OS unless I have to. I was hoping there was a plug-in that could do this that I had not heard of. Kinda surprised that nothing exsists to be honest, seems like something someone would of wanted in all these years.
-
[Plugin] CA User Scripts
Does anyone know of a way to setup a button in the GUI to 1-click run a script? Custom Tabs does not seem to support this but something along those lines is what I am looking for. Looking for a way to easily switch between power saving mode (which the server stays in 95% of the time) and performance (only when having it render or do something intensive). Also be nice for some other uses as well such as a sync script I have, or snapshots etc
-
[Support] Linuxserver.io - Kodi-Headless
I don't see what is so complicated really, I just want a dockertized version of kodi that can be accessed over the network by either the webui or vnc. I am thinking I will use one of the ubuntu VNC desktop dockers and simply install kodi on it, that will get what I want but if the docker is updated it will wipe the kodi install, so was trying to see if there was a pre-made docker that would work. I don't want another media player, people already know how to use kodi and those other options tend to be resources heavy. Plex in particular was causing terabytes of writes daily to the cache drive unnecessarily. I do use industry standard naming, using Tinymediamanager to name things. The issue is that if just one episode of a show has an issue, kodi will not import anything that comes after that episode. So I have to find it manually and re-scrape that episode. Happens a lot if the IMDB and ThetvDB have different opinions. No worries, I can make something work, was just hoping to use a pre-made option. This webui docker would work fine if there was a way to add media to it. People keep saying that they use it to update an SQL library. How are they doing this? The same update process should work for a local library I would think.