Jump to content

ljm42

Community Developer
  • Content Count

    1411
  • Joined

  • Last visited

  • Days Won

    7

ljm42 last won the day on January 19 2018

ljm42 had the most liked content!

Community Reputation

115 Very Good

2 Followers

About ljm42

  • Rank
    Advanced Member

Converted

  • Gender
    Undisclosed
  • Personal Text
    the answer to life, the universe, and everything

Recent Profile Visitors

1727 profile views
  1. Looking at top.txt file in your diags, Plex was indeed using 100% of your CPU at the time you generated your diagnostics: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5958 nobody 20 0 1314160 75948 36220 S 100.0 0.9 13:52.16 Plex Medi+ see this I didn't recognize that, but a Google search for "unraid ACPI BIOS Error" says it is harmless, although you might try checking for a bios update: https://forums.unraid.net/topic/75337-acpi-bios-errors-in-syslog/
  2. ljm42

    Is there a compatibility list?

    It is a valid question, the Linux drivers for those cards may not be included in Unraid. If nobody can give you a direct yes or no, I would do a Google search for "unraid x470" and "unraid 10gbe" to see what you can find
  3. ljm42

    Internet Outage: No UI

    I have had mixed results with https://ipaddress . At a minimum you will need to bypass the browser warnings telling you that the certificate doesn't match the url. http://ipaddress will automatically redirect to https://hash.unraid.net . If your computer hasn't cached that address already and your Internet is down, it won't be able to do a DNS lookup, which causes the issue you are seeing. One solution is to add an entry to your local hosts file that points hash.unraid.net to the correct IP address. The downside is that this overrides DNS, so you need to remember to update the hosts file if the IP address ever changes. Another solution is to disable SSL by editing the /boot/config/ident.cfg file and changing USE_SSL to "no", then typing "powerdown -r" from the console to reboot. When it comes back up you will be able to use http://ipaddress to access the gui.
  4. I guess this is a good time to mention that you need to be careful when editing this file Also, be sure to use a good text editor that understands Linux line endings (such as Notepad++), definitely not the standard Windows Notepad.
  5. That starts the webgui. It is in your go script already, I was just showing that you want to copy the file before that line so the array will be able to auto-start.
  6. Copy the keyfile to /root . Easiest way is to add the copy command to /boot/config/go, before you start emhttp #!/bin/bash # let encrypted array auto-start (obviously, not secure) cp /boot/config/custom/keyfile /root # Start the Management Utility /usr/local/sbin/emhttp &
  7. ljm42

    Issues with malicious traffic on port 123

    Any response would just be speculation at this point. If you upload your diagnostics someone might have some ideas (Tools -> Diagnostics, then attach entire zip file to your next post)
  8. ljm42

    [6.7.0-rc4] Web Console Stops Working

    Sorry... I was looking in rc.nginx for other places to use this, and I realized the function name should be more like wait_nginx_down instead of wait_nginx_status It can easily replace the "sleep 3" in nginx_term and nginx_stop. But what about nginx_reload, is that actually waiting for nginx to be up instead of down?
  9. ljm42

    [6.7.0-rc4] Web Console Stops Working

    Looks like this is the right syntax for the if statement, the double brackets didn't work: wait_nginx_status() { for i in {1..10} ;do if ! nginx_status ;then break ;fi sleep 1 done }
  10. ljm42

    [6.7.0-rc4] Web Console Stops Working

    even better
  11. ljm42

    [6.7.0-rc4] Web Console Stops Working

    Hey @limetech I hit this today in 6.7.0-rc5. But when I ran: /etc/rc.d/rc.nginx restart nginx shutdown and did not start backup: Checking configuration for correct syntax and then trying to open files referenced in configuration... nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Shutdown Nginx gracefully... Nginx is already running It looks like it tried to start back up before it finished shutting down, so it exited. I had to manually start it to get it running again: /etc/rc.d/rc.nginx start I was looking at rc.nginx, what do you think of creating a wait_nginx_status function: wait_nginx_status() { while nginx_status; do echo "Waiting..." sleep 1 done } And then replacing all of the "sleep 3"s with that: nginx_stop() { if nginx_running ; then echo "Shutdown Nginx gracefully..." killall -q ttyd &>/dev/null kill -QUIT $(cat $PID) # sleep 3 wait_nginx_status fi } Doesn't solve the original problem but it should help make the rc.nginx more bulletproof.
  12. ljm42

    Add option for remote syslog in WebGUI

    I keep thinking about this. I can't think of a reason why anybody would want a bunch of log files at the root of any share, unless they create the share specifically for this purpose. Would it make sense to automatically create and use a "logs" directory under whatever share the user chooses? That feels more organized out of the box.
  13. ljm42

    Add option for remote syslog in WebGUI

    I put together a little script that copies your custom *.conf files from the flash drive to /etc/rsyslog.d and then restarts rsyslogd. You can run it interactively to test new filters and add it to your go script to install them after rebooting. Thought I'd share if anyone is interested: https://gist.github.com/ljm42/f6d7d8f22d2965909f69c03df53529f6
  14. ljm42

    Unraid 6.7.0 - syslog rotation

    I was seeing the log rotation as a separate process from the log writing, but I see your point that the file won't grow while the array is off. Sounds good
  15. ljm42

    Unraid 6.7.0 - syslog rotation

    This is great! I do wonder about waiting until disks_mounted to copy the file though, with the potential delay due to waiting for an encryption password the file may not be in place when logrotate runs. How are files like rsyslog.conf copied, is that something emhttp takes care rather than the gui? Is it worth doing there or not really?