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.

Kacper

Members
  • Joined

  • Last visited

Everything posted by Kacper

  1. And I fully agree with this guy. And I fully disagree, I am even disgusted :D:D:D
  2. You right, maybe it is only my that find things 10 times harder to make them work in docker than in regular linux machine Zoneminder is not the only application. Any complicated application with heavy dependence on libraries particular version or data version will fail on docker or will be not worth the effort of porting to docker. One hint I can give is - use ubuntu 18.04 as base. Cuda version 10.2 supports cuda compatibility 3.0, which is important for users to use older, but still efficient gpus. Nvidia dropped compatibility in cuda 11.2 - it is cc 5.0 or 6.0 now, so useless for many people. We don't want to buy 1000 dollars gpu just to run ffmpeg on it and maybe tensorflow Running ffmpeg on my quadro K2000M takes 1% for one camera, on cpu 15% (intel i7) for decoding, so it is worth to struggle.
  3. I agree it would be great to have system containers avaliable. I find docker extremely complicated and taking a lot of effort to do really simple things. I don't understand the idea of dockers and when I see how zoneminder integration with ES is painfull in dockers I am supprised people force other people to use dockers. Openvz was really cool, now lxc does the same as openvz. Would be greate to have it in unraid. It is much easier to install everything from source code in system container than find or create docker.
  4. Hi guys, how to configure shinobi in such a way, that when I download video date and time will be overlayed on the video? I wan't it to behave like regular DVR. Video is quite useless for the police if there is no timestamp on it
  5. Hi, I would like to ask maybe off topic question. Unfortunatelly I can't register to zoneminder forum, I am marked as spamer regardles It was my first visit there in my life My question is: When I download video via: export or export video option, the mp4 image has no date and time on it. How to make zoneminder add date and time on the video? Thanks, Kacper
  6. Hi, after upgradfe from 6.8.3 to 6.9.0 shfs cpu usage is very high, at level of 70-80%. Server is doing very little. How to fix shfs problem, cpu is very hot for these reason? nas-diagnostics-20210307-1020.zip
  7. There is also second timeout setting - global timeout that schould be greater than VM shutdown timeout.
  8. According to reply from a forum /sbin/poweroff will wait Settings -> VM Manager -> VM shutdown time-out: number of seconds before forcing shutdown.
  9. Hi, I have created mini howto with script that actually does the job for me. Look here: I am sure it can be done better way, e.g. as a plugin. I have read that in kernel there are is other battery module (sbs), that will work with other, maybe newer laptops. My solution uses ac and battery modules and works with thinkpads and probably many more laptops. Making universal plugin might require community testing on different machines or reading docs for sbs kernel power module. Anyway, I have accomplished what I wanted and shared my results Thanks for help. I have added kernel modules for unraid 6.9.0. In this post I will attach sbs module, if anyone has pc that is using sbs then maybe can share some knowledge. Best regards, Kacper myCustomModules6_9_0.zip
  10. Hi, I am using Thinkpad W530 Laptop for unraid server. Today, after fruitful discussion on this forum I made a user.script that will shutdown unraid when laptop battery is bellow 30% and ac is off. Plugin user.script is required to use my solution. All You need to do is to extract attached archive to folder: /boot/config/plugins/user.scripts/scripts/shutdownWhenBatteryDepleted root@nas:/boot/config/plugins/user.scripts/scripts/shutdownWhenBatteryDepleted# ls -l total 64 -rw------- 1 root root 2716 Mar 6 09:41 ac.ko.xz -rw------- 1 root root 6700 Mar 6 09:41 battery.ko.xz -rw------- 1 root root 177 Mar 6 11:20 description -rw------- 1 root root 1018 Mar 6 12:54 script root@nas:/boot/config/plugins/user.scripts/scripts/shutdownWhenBatteryDepleted# It is important not to change script name, as path to *.ko.xz module is hardcoded in the script file. When this is done, You must test script, by running it manually. Then after You make sure it works in Your system You can enable the scheduler. Script will write log using logger command when shutdown is issued. On first run script will load ac and battery kernel modules. In the attached figure I am running script every one minute, but maybe every 2 minutes would be sufficient. You can enter */2 * * * * to run script every 2 minutes. Use this website https://crontab.guru to find Your preferred schedule. Use at Your own risk! For testing purpose I suggest commenting out (sign #) command /sbin/poweroff in my script. I am still unsure if /sbin/poweroff is proper way to shutdown VMs and docker gracefully. Waitng for support to answere my question, as I was unable to find it on the Internet. Best Regards, Kacper shutdownWhenBatteryDepleted_unraid6_8_3.zip shutdownWhenBatteryDepleted_unraid6_9_0.zip
  11. This is for people running unraid on LAPTOP! Thanks to this kernel plugin I have managed to compile ac.ko.xz and battery.ko.xz modules. As soon as I have done this, I have noticed that new version of unraid was released funny thing. Later I am planning to compile this two modules for new unraid. For now I am uploading version 6.8.3, as I will wait for a while with updating my server. Advantage of this procedure is that oryginal unraid kernel stays untouched. To install it is required to copy module files somewhere on hard drive, for example /boot/myCustomModules. Then enter following command: insmod ac.ko.xz ismod battery.ko.xz Battery information and ac adapter info will be avaliable under folder: /sys/class/power_supply/ Now it is required to write some user script that will shutdown unraid when battery is bellow 30% and ac_power = 0 myCustomModules6_8_3.zip
  12. I get Your point also. I am also developing some things for fun, but never have time to publish all recently I am at least trying to do some photo/screenshot story if I get something cool done. I can see that Your kernel-build docker works or partially works for unraid 6.8.3. EDIT: Ok to be precise script downloads source codes, part of kernel has compiled, however at some point gcc has crashed. I had to login to root at unraid and killall gcc, killall cc1 killall as. Probably some extra effort can be done to make compilation fully sucessfull. I think this error is about some extra patches being applied. For me it is important to compile battery and ac_supply modules, so I will not investigate any further. I am planning to add these two modules manually by using modprobe, without touching original kernel. My unraid's uptime is 224 day, so I won't mess with such a stable kernel. I set variable UNRAID_V = 6.8.3 in docker configuration and CUSTOM_MODE=true. Then in docker console: apt-get update apt-get install mc then I can use: mc So I have full comfort of editing Your build script, which is cool I must admit. Some good work done here Thanks and don't get dicouraged. p.s. I do not mount any folders as it is shown on dockerhub. I preffer to copy new kernel manually. It is simple and safe to be done
  13. I set custom_mode = true. How can i make script download kernel and let me configure make menuconfig? My goal is to add power/battery drivers to unraid kernel as I am running unraid on Thinkpad W530 laptop, which has battery plugged in (UPS). Unfortunatelly I am unable to read battery status and shutdown unraid in case of power failure, because kernel is lacking battery drivers. Ok later I have found the answere that I need to modify build script and replace make oldconfig with make menuconfig. Unfortunatelly in the same post I can see that 6.8.3 is not supported anymore? Then I wen't to discussion from page 22. I get the point of these guy, who is upset with removing support of 6.8.2. This is how software is developed now. I agree that it sucks, as old versions schould be avaliable for community, you have not enough disk space or what? Stop supporting it, but leave old codes where they where. Comparision to Apple and Microsoft is because the also do what they want and don't care about users opinion. Well that how it is. I used to be a linux desktop user, but linux community started the same behaviour as MS and AP. They introduce updates, change things that break my working system. So I went back to windows. I have the same behaviour, but less often something breaks. I am always super pissed off when i am forced to upgrade something and then it fails to start and I have to spent working day fixing shit some programmer messed up instead of spending time with my family. Some thing schould work out of the box. Recently I had such a story with owncloud update and zoneminder update. Solutions were simple, but developers didn't care to write instruction what has changed, so two days went to the trash looking for a fix Thats why people prefer minor security risk, than doing update that might f... up their system completely. I know it is effort to support old versions, so dont support it, but leave it undeleted - simple.
  14. Kacper replied to Kacper's topic in General Support
    It is my home server for nas, dlna (streaming movies to TV), owncloud (sync data between stationary computer and my work laptop), dude (mikrotik CHR server). Laptop is power efficient, has built in huge ups (battery), takes 1,5 U in my rack. It is perfect for server. W is workstation series with i7, two graphic cards, 32GB ram, 2 USB3.0 slots and two internal 2,5 inch hard drives and msata 512 GB drive for VMs and cache. And also it is few years old computer, so I can sell it for little money or have great server at no cost. I will attach photo (2 usb drives attached under the shelf and fan). I think for home media server second hand, profesional series laptop is perfect and cost effective solution. Therefore power module would be neet solution for ups. I think unRaid could provide package with modules compiled for their kernel, so one can copy only that specific module. I understand keeping system as light as possible, but at users own risk there schould be a way
  15. Kacper posted a topic in General Support
    Hi, I am using my unRaid on Lenovo W530 laptop. In linux there is module called power module, which allows me to check if my computer is running on AC or battery. So the battery works like a very good ups. How can I add/enable power module in unRaid to check if I have AC adapter connected ? Second question is, where to put mu custom script to be started at unRaid boot. I would like to write a bash script that will check AC adapter connected and will shutdown unraid server after 5 minutes of no AC plugged in. I think this is very simple task, but I am not familiar with unraid strategy, so i don't know where to put it. In regular linux I would insert launch of my script in /etc/rc.local and script itselfe in /root/script/battery.sh. But what is the unraid way to do this?

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.