Everything posted by corgan
-
Kernel Panic RIP: 0010:nf_nat_setup_info [nf_nat]
actually no, i cant fix this. It happend sometime once a week and sometimes once a mounth. I wrote a little bash script which reads the ipmi error log from the ASRock board and if the kernel error appears then send a reboot signal and clear the logs. Additional it sends a slack notice. Thats the same way, i would handle the error by hand. This runs as cron job on my home assistant raspi. You need the install ipmi tools. you have to change USER and PASSWORD in the script with the actuall username and password ipmi_check.sh count=$(/usr/bin/ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD sel info | grep Entries | cut -d: -f2 ) datetime=$(date) seconds=$(date +%s) function sl_send(){ log=$(/usr/bin/ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD sel list) if [[ $1 -gt 0 ]]; then img="https://knaak.org/assets/img/icons/backup200x200.png" ti="OS Critical Stop" ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD power cycle fi if [[ $2 -gt 0 ]]; then img="https://knaak.org/assets/img/icons/backup200x200.png" va="Kernel Panic" fi slack chat send \ --actions '{"type": "button", "style": "primary", "text": "Check on HA", "url": "https://ha.knaak.work"}' \ --author 'Homeassistant' \ --author-icon 'https://knaak.org/assets/img/icons/warning.png' \ --author-link 'https://192.168.2.241' \ --channel '#officeknaak' \ --color '#8B0000' \ --fields '{"title": "", "value": "", "short": true}' \ --footer 'footer' \ --footer-icon 'https://knaak.org/assets/img/icons/info_red.png' \ --image "$img" \ --pretext "$datetime" \ --text "$log" \ --time $seconds \ --title 'New IPMI Log' \ --title-link 'https://github.com/rockymadden/slack-cli' } if [[ $count -eq 0 ]]; then echo "String is empty" elif [[ $count -gt 0 ]]; then /usr/bin/ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD sel list >sel.log os_crit_count=$(cat sel.log | grep "OS Critical Stop" | wc -l) kernel_panic_count=$(cat sel.log | grep "kernel panic" | wc -l) sl_send $os_crit_count $kernel_panic_count slack file upload sel.log '#officeknaak' rm sel.log /usr/bin/ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD sel list >>sel_all.txt /usr/bin/ipmitool -I lanplus -H 192.168.2.241 -U USER -P PASSWORD sel clear # echo $log
-
Ultimate UNRAID Dashboard (UUD)
Hello, thanks for this awesome dashboard! One thing I always add to my dashboard are the running Docker/VM Icons and some switches to control the container/VMS from by overall IT Dashboard. Maybe you would implement this as an optional row? For this i'm using the unraid-api as direct json datasource and the dynamic image plugin in grafana.
-
[SUPPORT] blakeblackshear - Frigate
thanks a lot! runs fine with google coral
-
[Plugin] [Beta-Testers wanted] Zabbix-agent
sounds great! Is this only version 5? im running still on 4.2.8 and didnt had the time to update.
-
[Support] Electric Brain Unraid API
may it possible to add parityCheck and mover progress to the export, like in the unraid GUI? That would be nice!
-
[Support] spaceinvaderone - Shinobi Pro
ok, i fixed the broken face plugin by myself. If someone have trouble with it, remove the /plugins/face/npm_module Folder (rm -R ) and make shure, your package.json is like the original one https://github.com/rico360z28/Shinobi/blob/3f536cc1c6c616029f4a8a83c48356cb934979e9/plugins/face/package.json First edit /plugins/face/INSTALL.SH and replace all "@1.7.3" with "@1.7.4". Second, comment out line 145 #sudo npm audit fix --force this breaks the dependencies my INSTALL.sh looks like this #!/bin/bash DIR=`dirname $0` if [ -x "$(command -v apt)" ]; then sudo apt update -y fi # Check if Cent OS if [ -x "$(command -v yum)" ]; then sudo yum update -y fi INSTALL_WITH_GPU="0" INSTALL_FOR_ARM64="0" INSTALL_FOR_ARM="0" TFJS_SUFFIX="" echo "----------------------------------------" echo "-- Installing Face Plugin for Shinobi --" echo "----------------------------------------" echo "Are you Installing on an ARM CPU?" echo "like Jetson Nano or Raspberry Pi Model 3 B+. Default is No." echo "(y)es or (N)o" read useArm if [ "$useArm" = "y" ] || [ "$useArm" = "Y" ] || [ "$useArm" = "YES" ] || [ "$useArm" = "yes" ] || [ "$useArm" = "Yes" ]; then INSTALL_FOR_ARM="1" echo "Are you Installing on an ARM64 CPU?" echo "like Jetson Nano. Default is No (64/32-bit)" echo "(y)es or (N)o" read useArm64 if [ "$useArm64" = "y" ] || [ "$useArm64" = "Y" ] || [ "$useArm64" = "YES" ] || [ "$useArm64" = "yes" ] || [ "$useArm64" = "Yes" ]; then INSTALL_FOR_ARM64="1" fi fi if [ -d "/usr/local/cuda" ]; then echo "Do you want to install the plugin with CUDA support?" echo "Do this if you installed NVIDIA Drivers, CUDA Toolkit, and CuDNN" echo "(y)es or (N)o" read usecuda if [ "$usecuda" = "y" ] || [ "$usecuda" = "Y" ] || [ "$usecuda" = "YES" ] || [ "$usecuda" = "yes" ] || [ "$usecuda" = "Yes" ]; then INSTALL_WITH_GPU="1" TFJS_SUFFIX="-gpu" fi fi echo "-----------------------------------" if [ ! -d "./faces" ]; then mkdir faces fi if [ ! -d "./weights" ]; then mkdir weights if [ ! -x "$(command -v wget)" ]; then # Check if Ubuntu if [ -x "$(command -v apt)" ]; then sudo apt install wget -y fi # Check if Cent OS if [ -x "$(command -v yum)" ]; then sudo yum install wget -y fi fi cdnUrl="https://cdn.shinobi.video/weights/plugin-face-weights" wget -O weights/face_landmark_68_model-shard1 $cdnUrl/face_landmark_68_model-shard1 wget -O weights/face_landmark_68_model-weights_manifest.json $cdnUrl/face_landmark_68_model-weights_manifest.json wget -O weights/face_landmark_68_tiny_model-shard1 $cdnUrl/face_landmark_68_tiny_model-shard1 wget -O weights/face_landmark_68_tiny_model-weights_manifest.json $cdnUrl/face_landmark_68_tiny_model-weights_manifest.json wget -O weights/face_recognition_model-shard1 $cdnUrl/face_recognition_model-shard1 wget -O weights/face_recognition_model-shard2 $cdnUrl/face_recognition_model-shard2 wget -O weights/face_recognition_model-weights_manifest.json $cdnUrl/face_recognition_model-weights_manifest.json wget -O weights/mtcnn_model-shard1 $cdnUrl/mtcnn_model-shard1 wget -O weights/mtcnn_model-weights_manifest.json $cdnUrl/mtcnn_model-weights_manifest.json wget -O weights/ssd_mobilenetv1_model-shard1 $cdnUrl/ssd_mobilenetv1_model-shard1 wget -O weights/ssd_mobilenetv1_model-shard2 $cdnUrl/ssd_mobilenetv1_model-shard2 wget -O weights/ssd_mobilenetv1_model-weights_manifest.json $cdnUrl/ssd_mobilenetv1_model-weights_manifest.json wget -O weights/tiny_face_detector_model-shard1 $cdnUrl/tiny_face_detector_model-shard1 wget -O weights/tiny_face_detector_model-weights_manifest.json $cdnUrl/tiny_face_detector_model-weights_manifest.json else echo "weights found..." fi echo "-----------------------------------" if [ ! -e "./conf.json" ]; then echo "Creating conf.json" sudo cp conf.sample.json conf.json else echo "conf.json already exists..." fi if [ ! -e "$DIR/../../libs/customAutoLoad/faceManagerCustomAutoLoadLibrary" ]; then echo "Installing Face Manager customAutoLoad Module..." sudo cp -r $DIR/faceManagerCustomAutoLoadLibrary $DIR/../../libs/customAutoLoad/faceManagerCustomAutoLoadLibrary else echo "Face Manager customAutoLoad Module already installed..." fi tfjsBuildVal="cpu" if [ "$INSTALL_WITH_GPU" = "1" ]; then tfjsBuildVal="gpu" fi echo "-----------------------------------" echo "Adding Random Plugin Key to Main Configuration" node $DIR/../../tools/modifyConfigurationForPlugin.js face key=$(head -c 64 < /dev/urandom | sha256sum | awk '{print substr($1,1,60)}') tfjsBuild=$tfjsBuildVal echo "-----------------------------------" echo "Updating Node Package Manager" sudo npm install npm -g --unsafe-perm echo "-----------------------------------" echo "Getting node-gyp to build C++ modules" if [ ! -x "$(command -v node-gyp)" ]; then # Check if Ubuntu if [ -x "$(command -v apt)" ]; then sudo apt install node-gyp -y sudo apt-get install gcc g++ build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev -y fi # Check if Cent OS if [ -x "$(command -v yum)" ]; then sudo yum install node-gyp -y sudo yum install gcc-c++ cairo-devel libjpeg-turbo-devel pango-devel giflib-devel -y fi fi sudo npm install node-gyp -g --unsafe-perm --force echo "-----------------------------------" npm uninstall @tensorflow/tfjs-node-gpu --unsafe-perm npm uninstall @tensorflow/tfjs-node --unsafe-perm echo "Getting C++ module : @tensorflow/[email protected]" echo "https://github.com/tensorflow/tfjs-node" npm install @tensorflow/[email protected] --unsafe-perm --force npm install @tensorflow/[email protected] --unsafe-perm --force npm install @tensorflow/[email protected] --unsafe-perm --force echo "Getting C++ module : face-api.js" echo "https://github.com/justadudewhohacks/face-api.js" sudo npm install --unsafe-perm --force if [ "$INSTALL_WITH_GPU" = "1" ]; then echo "GPU version of tjfs : https://github.com/tensorflow/tfjs-node-gpu" else echo "CPU version of tjfs : https://github.com/tensorflow/tfjs-node" fi sudo npm install @tensorflow/[email protected] --unsafe-perm --force if [ "$INSTALL_FOR_ARM" = "1" ]; then cd node_modules/@tensorflow/tfjs-node$TFJS_SUFFIX if [ "$INSTALL_FOR_ARM64" = "1" ]; then echo "{ \"tf-lib\": \"https://cdn.shinobi.video/binaries/libtensorflow-gpu-linux-arm64-1.15.0.tar.gz\" }" > scripts/custom-binary.json else echo "{ \"tf-lib\": \"https://cdn.shinobi.video/binaries/libtensorflow-cpu-linux-arm-1.15.0.tar.gz\" }" > scripts/custom-binary.json fi cd ../../.. fi #sudo npm audit fix --force echo "-----------------------------------" echo "Start the plugin with pm2 like so :" echo "pm2 start shinobi-face.js" echo "-----------------------------------" echo "Start the plugin without pm2 :" echo "node shinobi-face.js" pm2 stop shinobi-face pm2 delete shinobi-face cd /opt/shinobi/plugins/face rm -R node_modules/ sh INSTALL.sh node shinobi-face.js pm2 start shinobi-face.js
-
[Support] spaceinvaderone - Shinobi Pro
thanks for the instruction. I have done this and now have a persistent folder to edit the pm2Shinobi.yml. Everything looks fine, Yolo is working and running on the gpu but i still get theses errors from the face plugin in that moment if the plugin would detect a face. any ideas? 2|Face-Plu | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3459:27 2|Face-Plu | at Engine.scopedRun (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3296:23) 2|Face-Plu | at Engine.runKernelFunc (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3457:14) 2|Face-Plu | at batchNorm_ (/opt/shinobi/plugins/face/node_modules/face-api.js/node_modules/@tensorflow/tfjs-core/dist/ops/batchnorm.js:279:31) 2|Face-Plu | TypeError: backend.batchNormalization is not a function 2|Face-Plu | at engine_1.ENGINE.runKernelFunc.x (/opt/shinobi/plugins/face/node_modules/face-api.js/node_modules/@tensorflow/tfjs-core/dist/ops/batchnorm.js:280:27) 2|Face-Plu | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3447:55 2|Face-Plu | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3286:22 2|Face-Plu | at Engine.scopedRun (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3296:23) 2|Face-Plu | at Engine.tidy (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3285:21) 2|Face-Plu | at kernelFunc (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3447:29) 2|Face-Plu | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3459:27 2|Face-Plu | at Engine.scopedRun (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3296:23) 2|Face-Plu | at Engine.runKernelFunc (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3457:14) 2|Face-Plu | at batchNorm_ (/opt/shinobi/plugins/face/node_modules/face-api.js/node_modules/@tensorflow/tfjs-core/dist/ops/batchnorm.js:279:31)
-
[Support] spaceinvaderone - Shinobi Pro
Thanks for this tip, the face-plugin is now loading after restarting the container. Yolo is running fine on the gpu. But how did you the face-plugin running? every time, i upload an image in via super user/facemanager i get this errors 4|shinobi-face | TypeError: backend.batchNormalization is not a function 4|shinobi-face | at engine_1.ENGINE.runKernelFunc.x (/opt/shinobi/plugins/face/node_modules/face-api.js/node_modules/@tensorflow/tfjs-core/dist/ops/batchnorm.js:280:27) 4|shinobi-face | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3446:55 4|shinobi-face | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3285:22 4|shinobi-face | at Engine.scopedRun (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3295:23) 4|shinobi-face | at Engine.tidy (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3284:21) 4|shinobi-face | at kernelFunc (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3446:29) 4|shinobi-face | at /opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3458:27 4|shinobi-face | at Engine.scopedRun (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3295:23) 4|shinobi-face | at Engine.runKernelFunc (/opt/shinobi/plugins/face/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:3456:14) 4|shinobi-face | at batchNorm_ (/opt/shinobi/plugins/face/node_modules/face-api.js/node_modules/@tensorflow/tfjs-core/dist/ops/batchnorm.js:279:31) I found some threads online, but nothing really helped me to get the face plugin running. https://stackoverflow.com/questions/51675830/tensorflow-js-typeerror-backend-select-is-not-a-function https://github.com/tensorflow/tfjs/issues/500
-
[Plugin] [Beta-Testers wanted] Zabbix-agent
whats the different to the existing zabbix agent docker plugin?
-
Kernel Panic RIP: 0010:nf_nat_setup_info [nf_nat]
Hello my Unraid Server still [1] [2] randomly crashed with a RIP: 0010:nf_nat_setup_info+0x365/0x666 [nf_nat] message, i dont really understand. The error happend around every 3-5 days, or like today, 2 times a day. I cant really reproduce it. So please help me to understand where the error is comming from and what i could do about it. Thanks! Running Unraid 6.8.3 Network: The server is connected with 2x 10gb on a Mikrotik CRS312-4C+8XG-RM. Bond Mode 4 (802.3ad) Router: pfSense @ Dell RS210 II WiFi: Asus RT-AX88U + Lyra I have some VMs configured, but not running. Running Dockers: Gitlab-CE hddtemp2influx JD mariaDB NginxProxy phpmyadmin telegraf zabbix-agent zerotier Hardware MB: ASRock X470D4U2-2T CPU: AMD Ryzen 7 3700X GPU1: Nvidia GeForce RTX 2060 @ NVMe Slot2 on AST1150 PCI-to-PCI Bridge GPU2: Radeon RX 570 @ PCIe x8 Onboard 2x 10gb NIC Array HBA: LSI SAS2308 PCI-Express Fusion-MPT SAS-2 @ PCIe x8 8x16TB HDD Cache: Onboard 400 Series Chipset SATA Controller ASMedia Technology 5x 500gb Sandisk SSD UD: 1tb nvme0n1 - SSD 970 EVO PCIe ACS override active Thinks i allready tryed: - I added rcu_nocbs=0-15 to the boot option. and I allready did all things what mentioned in this thread. added rcu_nocbs=0-15 to the boot option. Bios: set Power Supply Idle Control to Typical Bios: C6 Enabled (there was some missleading comments at first, but i think turning off was not correct?) Latest Bios So any other tips what i can do?