bobbintb

Members
  • Posts

    1394
  • Joined

  • Last visited

Converted

Recent Profile Visitors

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

bobbintb's Achievements

Community Regular

Community Regular (8/14)

31

Reputation

  1. No but here's what the documentation says: -e EMAIL_SMTP=True \ -e EMAIL_SMTP_HOST=TODO \ -e EMAIL_SMTP_PORT=TODO \ -e EMAIL_SMTP_USER=TODO \ -e EMAIL_SMTP_PASSWORD=TODO \ -e EMAIL_SMTP_USE_TLS= \
  2. For anyone unable to access the webui, you need to change the URL/BASEROW_PUBLIC_URL variable to your server ip/name and port.
  3. I did use a guide, or a least part of one. It will be included in version 6.13, as mentioned. I do have a compiled version on github: https://github.com/bobbintb/unRAID-audit But fair warning, I haven't looked at it in a while so I am not sure how out of date it is.
  4. Pretty much what the title says. ngix now gives 404 if I try to access the webui locally. Is there a way to change it back, hopefully without rebooting?
  5. I am working on a plugin and while I am testing I need to recompile the kernel. I had automation all set up for this but something has changed and now I cannot download the latest UnRAID automatically. Previously I would get the latest version from a link like this: https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/unRAIDServer-6.12.6-x86_64.zip I would just programmatically change the name of the zip file. Older versions still download but I can't get newer version. Any idea how I can resolve this? The download links on the website have some sort of long hash string in the URL so that won't work either.
  6. I think there are still some things that need to be cleaned up from the old wiki. Try the Wayback Machine: https://web.archive.org/web/20190805074914/https://wiki.unraid.net/index.php/UnRAID_6/VM_Management#Using_a_physical_disk_in_a_VM.2C_including_one_with_an_OS_already_installed
  7. I know this is an old topic but I think it's still relevant. I was recently looking at improving my process. I was looking at pre-commit (https://pre-commit.com/) but it's a little more complex than I want at the moment. Currently, I use github and have a master branch and a release branch. I set up a github action so that when I make a commit to the master branch, it will automatically package the txz, get the hash, and update it in the plg file, along with the version number and appending the commit message as the change log. It then pushes to the release branch. I had to make another branch to avoid an infinite loop scenario. The other issue is that if I need to make changes to the plg file, I need to make them on the release branch. But it saves a lot of time. Using pre-commit would solve that minor issue but it's just not the time setting it up at the moment.
  8. I managed to enable the Linux Audit Framework for unRAID but unfortunately it requires rebuilding the kernel. It's a simple flag in the .config file when building and I don't think there is really any downside or performance hit to having it available since the package would still need to be installed to use it. I think it would be beneficial to enable this for unRAID as it open the door for a more community development. I'm working on one right now that would benefit greatly from being able to track file system changes.
  9. You'd probably have to write a script that uses itnotify for that.
  10. I'm hoping for auditd support as well. There are things I have in mind that just aren't doable without it.
  11. I reordered some and it still says the autostart is out of order.
  12. I've got this function in my page file that runs a python script using the built-in `StartCommand.php` from the webui: function scan(cmd,title,plg,func,start=0,button=0) { // start = 0 : run command only when not already running (default) // start = 1 : run command unconditionally // button = 0 : show CLOSE button (default) // button = 1 : hide CLOSE button $('#scan-button').prop('disabled', true); $('#scanDir').prop('disabled', true); $('#dbDir').prop('disabled', true); nchan_plugins.start(); $.post('/webGui/include/StartCommand.php',{cmd:cmd+' nchan',start:start},function(pid) { if (pid==0) { nchan_plugins.stop(); $('div.spinner.fixed').hide(); $(".sweet-alert").addClass('alert'); return; } swal({title:title,text:"<pre id='swaltext'></pre><hr>",html:true,animation:'none',showConfirmButton:button==0,confirmButtonText:"<?=_('Close')?>"},function(close){ nchan_plugins.stop(); $('div.spinner.fixed').hide(); $('.sweet-alert').hide('fast'); setTimeout(function(){bannerAlert("<?=_('Attention - scanning continues in background')?> ["+pid.toString().padStart(8,'0')+"]<i class='fa fa-bomb fa-fw abortOps' title=\"<?=_('Abort background process')?>\" onclick='abortScan("+pid+")'></i>",cmd,plg,func,start);}); }); $('button.confirm').prop('disabled',button!=0); }); } When I run the python script in the terminal during development, everything looks great. https://github.com/bobbintb/UnRAID-DeDuper/blob/release/src/scripts/main.py But when I test it in UnRAID in the webui, there are all kinds of character encoding issues. I don't really know how to deal with that in the webui side of things as I'm still kind of new at web development. Instead of the neatly displayed progress bars (2), I get something like this: 0%|�[34m �[0m| (30.4G 0%|�[34m �[0m| 0.00/11.9G�[ 1%|�[34m▍ �[0m| 122M/11.9G�[A 0%|�[34m▏ �[0m|, 0/116 (30.4G 2%|�[34m▉ �[0m| 244M/11.9G�[A 1%|�[34m▍ �[0m|, 0/116 (30.4G 3%|�[34m█▍ �[0m| 366M/11.9G�[A 1%|�[34m▋ �[0m|, 0/116 (30.4G 4%|�[34m█▉ �[0m| 488M/11.9G�[A 2%|�[34m▊ �[0m|, 0/116 (30.4G 5%|�[34m██▍ �[0m| 609M/11.9G�[A 2%|�[34m█ �[0m|, 0/116 (30.4G 6%|�[34m██▉ �[0m| 731M/11.9G�[A 3%|�[34m█▎ �[0m|, 0/116 (30.4G 7%|�[34m███▍ �[0m| 853M/11.9G�[A 3%|�[34m█▍ �[0m|, 0/116 (30.4G 8%|�[34m███▉ �[0m| 975M/11.9G�[A 3%|�[34m█▋ �[0m|, 0/116 (30.4G 9%|�[34m████▍ �[0m| 1.07G/11.9G�[A 4%|�[34m█▉ �[0m|, 0/116 (30.4G 10%|�[34m████▉ �[0m| 1.19G/11.9G�[A 4%|�[34m██ �[0m|, 0/116 (30.4G 11%|�[34m█████▍ �[0m| 1.31G/11.9G�[A 5%|�[34m██▎ �[0m|, 0/116 (30.4G 12%|�[34m█████▉ �[0m| 1.43G/11.9G�[A 5%|�[34m██▌ �[0m|, 0/116 (30.4G 13%|�[34m██████▍ �[0m| 1.55G/11.9G�[A 5%|�[34m██▋ �[0m|, 0/116 (30.4G 14%|�[34m██████▉ �[0m| 1.67G/11.9G�[A 6%|�[34m██▉ �[0m|, 0/116 (30.4G 15%|�[34m███████▍ �[0m| 1.79G/11.9G�[A 6%|�[34m███▏ �[0m|, 0/116 (30.4G 16%|�[34m███████▉ �[0m| 1.90G/11.9G�[A 7%|�[34m███▎ �[0m|, 0/116 (30.4G 17%|�[34m████████▍ �[0m| 2.02G/11.9G�[A 7%|�[34m███▌ �[0m|, 0/116 (30.4G 18%|�[34m████████▉ �[0m| 2.14G/11.9G�[A 8%|�[34m███▊ �[0m|, 0/116 (30.4G 19%|�[34m█████████▍ �[0m| 2.26G/11.9G�[A 8%|�[34m███▉ �[0m|, 0/116 (30.4G 20%|�[34m█████████▉ �[0m| 2.38G/11.9G�[A 8%|�[34m████▏ �[0m|, 0/116 (30.4G 21%|�[34m██████████▍ �[0m| 2.50G/11.9G�[A 9%|�[34m████▍ �[0m|, 0/116 (30.4G 22%|�[34m██████████▉ �[0m| 2.62G/11.9G�[A 9%|�[34m████▋ �[0m|, 0/116 (30.4G 23%|�[34m███████████▍ �[0m| 2.74G/11.9G�[A 10%|�[34m████▊ �[0m|, 0/116 (30.4G 24%|�[34m███████████▉ �[0m| 2.86G/11.9G�[A 10%|�[34m█████ �[0m|, 0/116 (30.4G 25%|�[34m████████████▍ �[0m| 2.98G/11.9G�[A 11%|�[34m█████▎ �[0m|, 0/116 (30.4G 26%|�[34m████████████▉ �[0m| 3.09G/11.9G�[A 11%|�[34m█████▍ �[0m|, 0/116 (30.4G It looks like this normally: 5%|██▌ |, 0/116 (30.4G) 12%|█████▉ | 1.43G/11.9G I'm sure it has to do with the ANSI characters or something and I know it's probably just a simple thing for someone who knows what they are doing to just specify the correct encoding. Even after spending a few hours on it, I just don't know where to begin looking. Any Ideas?
  13. Ich sehe es aus irgendeinem Grund immer noch: Vielleicht ist es immer noch in meinem Cache oder so. Aber ich denke, es spielt eigentlich keine Rolle, solange es niemanden mehr beeinflusst.
  14. Ich habe es aus dem Community-Anwendungen-Store heruntergeladen, daher haben sie es möglicherweise entfernt. Das würde die mangelnden Informationen darüber erklären. Ich war überrascht, dass es dort war, nachdem ich festgestellt hatte, wie fehlerhaft es ist.