Jump to content

shwa87

Members
  • Posts

    42
  • Joined

  • Last visited

Posts posted by shwa87

  1. 6 hours ago, Kilrah said:

    That's already the case, samba only starts once the array is started. But Dockers/VM also start after the array is started, so...

    If this is the case, why does Samba/winbind lag/hang even when the array is NOT slated to start on boot if there's an unclean shutdown or if I set it not to start on boot for whatever reason?

  2. 10 hours ago, MAM59 said:

    A VM on UNRAID will not start without the array beeing started and samba is up and running (the shares are available).

     

    Why does samba need to be up and running in order for vms to start?  There are no shares being passed to the VMs nor are shares mapped.  The VMs live on an SSD pool and the domains and system 'shares' are not SMB shares...

  3. I think I have a possible solution... add this to a user script that runs when the array is shutdown:

     

    sed -i 's/shareSMBEnabled="ads"/shareSMBEnabled=“no”/g’ /boot/config/share.cfg

     

    But I don't think I can do it in reverse because the config file would only be read at startup.  So essentially, I'd need a set of commands that would enable SMB AD as the array is started. This seems like it could be possible, since I can join AD via CLI without stopping the array even though if its done in the GUI it forces services to stop and start (and thus fails since the domain controller runs in a VM)

     

    Are there commands that can achieve this?

  4. I want to stop getting bootup delays due to winbindd hanging because it keeps trying to connect because my domain controller runs in an unRAID VM.  So I'd like to effectively keep Samba out of the picture until the array is started so any delays aren't as a big deal.  Alternatively, even being able to have winbindd stop trying after X number of failures (i.e. say 2 failures) during bootup.

     

    Thanks!

  5. Hello - is there a way to delay the startup of samba until the array is fully started and/or start it manually or via a script after the array is fully started via user scripts?

     

    Could I theoretically use a user script to disable smb on array shutdown and then a user script to enable it at startup or sometime after startup?

     

    Thanks!

  6. On 3/28/2023 at 1:12 AM, camprman said:

    There has been a fork with the NZBGet: https://github.com/nzbget-ng/nzbget Details:  

     

    Note: this repo is a fork of the original github project nzbget/nzbget originally written by @hugbug. He deserves all the credit for this software.

    Since he has now archived the project, I've combined my changes (surgical fixes to accomodate the intentially-malformed 'wtf' NZB headers, which result in the infamous 'abc.xyz' file names) and merged several pull requests from the original repo.

    Paul, 2022.11.28

     

    I'm hoping that LinuxServer will point to the fork.  I'm guessing no, but I can hope.  

    I agree, I posted a request in the lsio forum (https://discourse.linuxserver.io/t/un-deprecate-nzbget-or-start-a-new-one) but it doesn't look good, at least until Paul can get ramped up on development.

  7. Greetings,

     

    I'm trying to run the drive benchmark and I'm getting the following errors:

    Message	variable [ISSSD] doesn't exist
    Stacktrace	The Error Occurred in
    /var/www/Benchmark.cfm: line 482 
    480: </CFIF>
    481: </CFIF>
    482: <CFIF IsSSD>
    483: <CFIF HW[Key].Ports[PortNo].Attrib.Size.Bytes GT SSDMaxBytes>
    484: <CFSET SSDMaxBytes=HW[Key].Ports[PortNo].Attrib.Size.Bytes>
    
    Java Stacktrace	lucee.runtime.exp.ExpressionException: variable [ISSSD] doesn't exist
      at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:242)
      at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:184)
      at benchmark_cfm$cf.call(/Benchmark.cfm:482)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1056)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:948)
      at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:65)
      at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:45)
      at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2493)
      at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2478)
      at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2449)
      at lucee.runtime.engine.Request.exe(Request.java:45)
      at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1216)
      at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1162)
      at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
      at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
      at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:829)
     
    Timestamp	12/12/22 12:40:32 PM CST

     

    Any and all assistance is appreciated.

  8. 13 minutes ago, JorgeB said:

    Nothing obvious that I can see, CPU is not very fast and parity sync is single threaded, but still I think it should be faster than that, did you also have dual parity with the same number of disks before?

     

    Try running the diskspeed docker to rule out any disk speed issues, also run the controller bottleneck test.

    My parity operations have always been on the lower end, but from what I remember were at least double what I'm getting now, if not more.  Yes I had dual parity before, and MORE total disks than I have now.

     

    The disk speed docker spits out code errors when I try to benchmark my drives:

    Message	variable [ISSSD] doesn't exist
    Stacktrace	The Error Occurred in
    /var/www/Benchmark.cfm: line 482 
    480: </CFIF>
    481: </CFIF>
    482: <CFIF IsSSD>
    483: <CFIF HW[Key].Ports[PortNo].Attrib.Size.Bytes GT SSDMaxBytes>
    484: <CFSET SSDMaxBytes=HW[Key].Ports[PortNo].Attrib.Size.Bytes>
    
    Java Stacktrace	lucee.runtime.exp.ExpressionException: variable [ISSSD] doesn't exist
      at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:242)
      at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:184)
      at benchmark_cfm$cf.call(/Benchmark.cfm:482)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1056)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:948)
      at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:65)
      at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:45)
      at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2493)
      at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2478)
      at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2449)
      at lucee.runtime.engine.Request.exe(Request.java:45)
      at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1216)
      at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1162)
      at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
      at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
      at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:829)
     
    Timestamp	12/12/22 12:40:32 PM CST
    

     

  9. 49 minutes ago, trurl said:

    Your system share has files on disk1 and you have it set to be moved to the array. Ideally, appdata, domains, system would have no files on the array. Docker/VM performance will be impacted by parity, and array drives can't spin down since these files are always open. Your appdata and domains are setup correctly, but not system. The system share is the one share that really should not be on the array. It isn't large, and its files are really always open whenever Docker or VM Manager is enabled in Settings regardless if any Dockers or VMs are running.

    Thanks for pointing that out - I'm not sure how that happened.  system is now ONLY cache, appdata is ONLY cache, and domains is prefer cache.  All data matches that now (after moving the system share to only be on cache)

     

    27 minutes ago, JorgeB said:

    Yes, enable read/write speeds top right, counter is mostly useless.

     

    Speeds are also the same, averaging around 18-20.  No disk is more or less than the other, and when I stop the sync (to restart it after fixing my shares per trurl's post) it drops to 0 on all disks, upon starting the sync again, the speeds average the same.

  10. On 12/21/2018 at 8:27 AM, tomllic said:

    I did not, but I did not run it in privileged before either and it worked just fine. But I saw your post and decided to try anyway. So I'm running privileged now but I still get the same result. Any help would be appreciated, thank you.

     

     

    2018-12-21 14:13:24,180 DEBG 'watchdog-script' stdout output:                                                                                            
    Script started, file is /home/nobody/typescript                                                                                                          
                                                                                                                                                             
    2018-12-21 14:13:24,192 DEBG 'watchdog-script' stdout output:                                                                                            
    error creating /tmp/tmux-99 (Permission denied)                                                                                                          
                                                                                                                                                             
    2018-12-21 14:13:24,204 DEBG 'watchdog-script' stdout output:                                                                                            
    Script done, file is /home/nobody/typescript 
    
    [warn] Wait for rTorrent process to start aborted                                                                                                        
    [info] Waiting for rTorrent process to start listening on port 5000...                                                                                                                                                                                                                                 
    ^C2018-12-21 14:16:34,198 WARN received SIGINT indicating exit request                                                                                   
    2018-12-21 14:16:34,199 INFO waiting for rutorrent-script, watchdog-script to die                                                                        
    
    2018-12-21 14:16:35,200 DEBG killing watchdog-script (pid 68) with signal SIGTERM                                                                        
    2018-12-21 14:16:35,201 DEBG fd 27 closed, stopped monitoring <POutputDispatcher at 139818717582184 for <Subprocess at 139818717554088 with name watchdog
    -script in state STOPPING> (stdout)>                                                                                                                     
    2018-12-21 14:16:35,202 DEBG fd 31 closed, stopped monitoring <POutputDispatcher at 139818717582616 for <Subprocess at 139818717554088 with name watchdog
    -script in state STOPPING> (stderr)> 
    
    2018-12-21 14:16:35,202 INFO stopped: watchdog-script (terminated by SIGTERM)                                                                            
    2018-12-21 14:16:35,203 DEBG received SIGCLD indicating a child quit                                                                                     
    2018-12-21 14:16:36,205 DEBG killing rutorrent-script (pid 65) with signal SIGTERM                                                                       
    2018-12-21 14:16:36,206 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 139818717555384 for <Subprocess at 139818717553800 with name rutorren
    t-script in state STOPPING> (stderr)>                                                                                                                    
    2018-12-21 14:16:36,206 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 139818717554952 for <Subprocess at 139818717553800 with name rutorren
    t-script in state STOPPING> (stdout)>                                                                                                                    
    2018-12-21 14:16:36,206 INFO stopped: rutorrent-script (terminated by SIGTERM)                                                                           
    2018-12-21 14:16:36,206 DEBG received SIGCLD indicating a child quit 

     

    did you ever figure this out? I'm running into this now 4 years later.

  11. 25 minutes ago, JonathanM said:

    Not downplaying the value of the request, but you should be able to script a work around fairly easily.

    User scripts, something like this, scheduled to run at array start.

    #!/bin/bash
    printf "%s" "waiting for domain controller ..."
    # Change IP to the DC
    while ! ping -c 1 -n -w 1 192.168.10.10 &> /dev/null
    do
        printf "%c" "."
    done
    printf "\n%s\n"  "domain controller is back online"
    # Change number of seconds to a sane number that will ensure the target service is ready
    sleep 30
    net join -U Administrator

     

    I thought the same and did try this -- but a password is required after entering the net join... command and I haven't been able to script a way to pass that securely.

  12. As the title says, make it easy in the GUI to join an AD domain w/o having to restart services.  This is particularly useful if the domain controller is running within a VM on the unRAID host.  Easy CLI method uses net join -U Administrator, where Administrator is the admin user, but having to launch into a terminal session every time gets to be a bit of a drag.

     

    As an extension to this, it would be great if unRAID automatically "rejoined" the domain after a restart after detection that the domain controller VM was up and ready.

     

    Alternatively if none of this is easily possible, add an option to "refresh" the join status in the GUI after manually joining via CLI.

  13. So DelugeVPN had been working fine until sometime in the last week.  Now the UI won't load because the VPN isn't coming up... but the VPN isn't coming but because the wg0 interface won't create:

     

    2021-10-07 19:44:32,093 DEBG 'start-script' stdout output:
    [info] Attempting to bring WireGuard interface 'up'...
    
    2021-10-07 19:44:32,102 DEBG 'start-script' stderr output:
    Warning: `/config/wireguard/wg0.conf' is world accessible
    
    
    2021-10-07 19:44:32,109 DEBG 'start-script' stderr output:
    [#] ip link add wg0 type wireguard
    
    2021-10-07 19:44:32,121 DEBG 'start-script' stderr output:
    Error: Unknown device type.
    
    
    2021-10-07 19:44:32,134 DEBG 'start-script' stderr output:
    Unable to access interface: Protocol not supported
    
    2021-10-07 19:44:32,135 DEBG 'start-script' stderr output:
    [#] ip link delete dev wg0
    
    2021-10-07 19:44:32,138 DEBG 'start-script' stderr output:
    Cannot find device "wg0"
    
    2021-10-07 19:44:32,139 DEBG 'start-script' stdout output:
    [warn] WireGuard interface failed to come 'up', exit code is '1'

     

    Specifically looks like its having an issue with: ip link add wg0 type wireguard as it errors out with Unknown device type.

     

    Any assistance here would be appreciated.  I've searched several times on these forums, general googlefu, read the FAQ on github, and some reddit posts as well but nothing seems to be quite what I'm experiencing.

     

    Thank You!

  14. 47 minutes ago, falconexe said:

     

    @shwa87 So I looked at the code, and everything looks perfect. Everything acts correctly. Can you try putting in a different value in to the UPS variables (MaxWatts and kWh)? Save the dashboard, and then refresh? If it works, put the values back and save again.

     

    The only time I have ever seen this is if those 2 variables are not set.

     

    If I empty those 2 variables, this is what I see.

     

    image.thumb.png.33d6f390128c1f00a16186600167b587.png

     

    image.thumb.png.861192e9b518185e9366e20687bdd480.png

     

    If I put them back I get. 

     

    image.thumb.png.106a09ae76b9ae600aa64a064eef4b54.png

     

    image.thumb.png.49fbc0ca7e434f64db012ce1ea59c65f.png

     

     

    If the issue persists, can you post a screenshot of your UPS section?

    That did it. Changed values and it populated before I even saved.  I saved, then changed them back, and we're good.  THANK YOU!  Excellent product/design and amazing support.

  15. Hey @falconexe.  First off - thanks for the lesson on doing the cpu information the "old" way.  I explored doing that, but then I took the time to dive into the regex and it was ridiculously simple.

     

    I also finally got back to the UPS portion and I did figure some things out with the UPS stats.  It seems that any panel that utilizes a variable is not getting parsed.  The variable doesn't seem to get included in the query.. for example in this query:

     

    SELECT last("load_percent") * .01 * $upsmaxwatt/1000 FROM "apcupsd" WHERE $timeFilter GROUP BY time($__interval)

    the "$upsmaxwatt" isn't getting passed, the query inspector shows "error parsing query: found /, expected identifier, string, number, bool at line 1, char 37".  This error is happening with each variable and I cannot for the life of me figure out why the variable isn't getting passed - they are all filled out.

     

    For giggles I installed a different panel that includes UPS stats (Unraid System Dashboard v2 from @GilbN) and the UPS data on his works out of the box, and other than the variable names they appear identical in query structure.

     

    Thoughts?  Anything else I can supply or look at to help figure this out?

     

    Thanks!

  16. 20 hours ago, falconexe said:

     

    For Regex help, see Post #3. I put some great resources in there. Or you can beg GilbN to help you out. If I had the time, I'd do it for you, but EVERYONE should really start trying to learn REGEX. The online lab that I linked is a GREAT way to learn!

     

     

    Those UPS query errors, and everyone who has encountered them so far, ALL seems to be people missing the dependencies. Please verify that you have the Telgraf Config set correctly for [[inputs.apcupsd]]. See Post# 1

     

    image.png.c62630b30f45f952cf949f566ee72ac7.png

     

    Thanks @falconexe - I'll check out that regex stuff and hopefully figure it out.

     

    As for the telegraph setup - how I am setup matches post #1/your screenshot - I verified in the config, I am using the GUS config from @testdasi.  I did delete both telegraph and influx configs and got default ones before checking everything lined up with the above as well.  Any other thoughts or information I can provide to help diagnose?

     

    Thanks!

×
×
  • Create New...