surfshack66
-
Posts
223 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by surfshack66
-
-
Thanks @johnnie.black. I will mount the old disk with UD and copy the data back to the array...hopefully.
Can you confirm which disk I formatted? I'm pretty sure I formatted the new disk because I received the unmountable warning. (I know now not to do that and instead run a filesystem check)
-
I had a disk that seemed to be failing. It was recommended to replace it. So I followed the disk replacement process.
I let the parity/data rebuild finish, however it seems all of the contents on that drive is no longer available. I still have the original disk, but am wondering what to do from here.
Is it possible to reinstall the original drive with all of the data?
-
On 11/28/2018 at 2:18 PM, saarg said:
That is not going to happen I'm afraid. We only do templates for our own containers.
Curious...Is it in your roadmap to make an elasticsearch container?
-
5 minutes ago, Hoopster said:
Mostly my family just likes to look at the photos and if they want some downloaded, I upload them to Google Drive.
Since my family all have a phone, tablet, TV, PC, etc, on which they can download a Plex app, I guess that works for us but may not for those who have not been "Plexified" or don't want to be. 😀
That's a good idea. Also, you're right. It's easy enough to download the Plex app. I suppose the holidays would be a good time to show relatives how to download and use it.
7 minutes ago, trurl said:I have a subset of our photos in their own cache-only user share, where they can be used by other devices on my network as wallpapers or screensavers without spinning any of my disks.
I have a wallpaper changer on our desktop that randomly changes to a new picture every hour. It can be fun to see those old photos and try to remember where they were taken.
Most of those photos are landscapes from our many travel adventures.
That's a nice idea too.
I looked into Nix, mentioned earlier in this thread, and stumbled across DAKboard, which essentially is a monitor with a custom dashboard to display photos, etc. There's a monthly fee though. From there, I found MagicMirror - an open source smart mirror platform. I created a docker on unraid to test it out. Here's an example of one that displays pictures.
-
1 minute ago, Hoopster said:
Plex makes it easy to access them from anywhere. Since I have shared my Plex libraries with family members, they can access them under their own credentials.
I share my Plex library too, however, not all of my relatives have Plex. Also, Plex doesn't allow "friends" to download the photos.
-
On 11/28/2018 at 12:04 PM, whipdancer said:
Other than just making sure we have multiple copies backed up - we use a Nix to display them. You could do it yourself with an RPi or something, but I didn't want to work that hard.
https://www.nixplay.com/nix-frames/These looks nice. I like this idea as well, although I went down the rabbit hole of creating this myself...
On 11/28/2018 at 12:10 PM, Hoopster said:We have them organized in a Plex Photo library. They can be easily accessed and displayed on the many devices on which we have Plex clients installed.
I should do this at a minimum too. I did have Lychee up and running for a while but I didn't like the idea of using 2-3x space for each picture for thumbnails, etc. Also, Lychee doesn't (or didn't) have multiple users, so I had to share the credentials out.
-
16 minutes ago, trurl said:
For future reference, diagnostics already includes SMART for all attached disks (as well as your syslog), so no need to post them separately.
I encourage you to take a look at diagnostics sometime. It is just folders of text files and you can probably understand some of it.
I figured it was included. Just added the screenshots for convenience.
I took a look at the diagnostics. I do understand some of it, but glad to receive input from more experienced users too.
-
I'm curious what people are doing with photos they store on unraid.
Many years ago, prior to unraid, I lost a number of photos from an international trip. Since then, I've made sure to follow the 3-2-1 backup strategy.
Now that they are properly backed up, I'm wondering what to do with them. It seems like they just sit in their share and go about untouched.
So - if you use unraid to store family/trip photos, what do you do with them, if anything?
-
Disk 1 and a Cache drive have some errors. I've attached the Smart attributes of each drive as well as diagnostics.
I'm not sure if I should replace these ASAP or just wait until they fail. Perhaps there's a way to repair the errors?
Any advice would be appreciated.
-
On 1/23/2018 at 5:05 PM, ashman70 said:
I don't know if I would call Norco cases 'high quality' there is a ton of plastic in them and their drive trays leave a lot to be desired, not to mention the loud cheap fans they include with their cases. For more money I would go with a Supemicro case, sure they cost more, but you get real quality compared to other brands.
Why such a big case? Would you recommend a short depth chassis?
EDIT: This has been recommended on Reddit, but curious if any Supermicro cases exist.
-
Alright. So I was able to change the max map count by running the command as root.
Next issue is this:
[1]: max file descriptors [40960] for elasticsearch process is too low, increase to at least [65536]
Did you come across this issue? If so, how did you address it?
-
3 minutes ago, bonienl said:
Add a network by doing something like this
ip route add 192.168.10.0/24 dev br0.10
Thank you! That worked
- 1
-
18 minutes ago, bonienl said:
What is the output of
ip route show
Linux 4.18.14-unRAID. Last login: Sun Oct 14 14:10:34 -0400 2018 on /dev/pts/2. root@Tower:~# ip route show default via 192.168.1.1 dev br0 proto dhcp src 192.168.1.2 metric 218 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 192.168.1.0/24 dev br0 proto dhcp scope link src 192.168.1.2 metric 218 192.168.20.0/24 dev br0.20 scope link metric 1 192.168.70.0/24 dev br0.70 scope link metric 1 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
I had to manually add 192.168.20.0 and 192.168.70.0 via the Network Settings page.
-
1 hour ago, bonienl said:
Your gateway (192.168.1.111) must be part of a known network. I.e. 192.168.1.x/24 must exist.
Sorry for the confusion. The gateway you mentioned was an example fro @Delarius.
My specific script is attached above, but I can attach another copy.
All of these networks exist..
-
On 9/25/2018 at 5:40 PM, Delarius said:
You can definitely do this,
Any commands you want to run after a reboot can be put in /boot/config/go
The server will run the go script at startup. There's obviously another few ways to achieve - like the CA User Scripts idea above.
You can modify the routing table directly via commands such as:
ip route add 192.168.0.0/16 via 192.168.1.111
I'm not at my machine right now but I believe you can also use files with the name route-eth# to define routes for an interface - should be placed at /etc/sysconfig/network-scripts/
So you could make a file called route-eth0 - put your desired routes in it - save to /boot/config/route-eth0 and in your go file just copy the file into place. However, you'd need to check if this worked after a reboot because the network might need cycling afterwards. The commands route or ip r might help too.
The command doesn't seem to work properly.
I receive the following message:
Error: Nexthop has invalid gateway.
-
FYI - Line 14 of blueiris.sh is missing a space
Had to add that to get the script to run.
When it did run, I ran into this error
0013:err:process:__wine_kernel_init boot event wait timed out
-
2 hours ago, RAINMAN said:
You may need to install those python modules that are listed in the import statements. Some may be included in the default python install but some may not.
import socket
import collections
import time
import json
import os
import sys
from typing import Tuple, Mapping, Iterable
import requests
You can also try adding your path to python in the top line.
Default for most installs is #!/usr/bin/python. I'm not sure what it is for unraid.
Also try running your script as "python /tmp/user.scripts/tmpScripts/influx_nut/script" instead of just calling the script directly.
Thanks
I added the path to python in the top line and it ran. However, there is a syntax error on line 64.
def __init__(self, measurement, fields, tags: dict = {}, ^ SyntaxError: invalid syntax
I'm looking into this now in case anyone else is interested.
@RAINMAN - if you happen to know how to fix this please let me know
-
On 10/3/2018 at 4:04 PM, Jcloud said:
I'd bet it should work, although I think Unraid is missing the python interpreter, because I saw it in "Nerd Tools" plugin. If you don't have the Nerd Tools plugin already, I would download that plugin and from there install Python - afterwards try your script again.
Yep. Forgot to mention I have Nerd Tools and have Python3 and Python installed.
Tried running it but ran into a number of command errors. Looks like its not able to run even though python is installed...
Script location: /tmp/user.scripts/tmpScripts/influx_nut/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/influx_nut/script: line 2: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 3: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 4: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 5: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 6: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 7: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 8: from: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 10: import: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 13: __doc__: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 15: DEFAULT_CONFIG: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 17: interval:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 19: nut_host:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 21: nut_port:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 23: nut_ups:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 33: nut_vars:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 36: influx_host:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 39: influx_db:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 42: influx_tags:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 47: influx_creds:: command not found /tmp/user.scripts/tmpScripts/influx_nut/script: line 48: syntax error near unexpected token `}' /tmp/user.scripts/tmpScripts/influx_nut/script: line 48: `}'
None of the co
-
On 9/25/2018 at 2:42 PM, Bungy said:
Interesting. If people are finding my docker semi-useful, I'll have to devote some time into making it work better and more seamlessly. I'll pick this project back up and continue developing on it. Pull requests are always welcome!
Yes! People (myself included) are definitely finding this docker useful. Let me know how I can help...even if its just testing..
-
I'd like to implement this script to push NUT stats into influxdb. Seems like it should be fairly straight-forward...
I have User Scripts plugin. Is it possible to run this script using that tool?
https://github.com/lf-/influx_nut/blob/master/influx_nut.py
-
-
-
8 hours ago, primeval_god said:
The only things that do persist across reboot are those things that the unraid GUI / Config files allow you to tweak.
Maybe this is a bug then? The changes are made on the Network Settings page of the GUI. It's nice being able to add them there, the only issue is they don't persist.
Perhaps someone from unraid can confirm if this is a bug or could be a feature request...
EDIT: Also thanks to everyone for the help so far
-
I believe another way to achieve this is to use the NUT plugin and output the upsc results to telegraf or directly to influxdb.
Here a couple ways I have found....would appreciate someone with more experience to help get this to work on unraid..
https://agrrh.com/2017/gathering-ups-metrics-with-nut-and-telegraf
https://github.com/lf-/influx_nut
(Solved) Disk replacement lost files
in General Support
Posted
I formatted the new disk..with serial number ending in K3HDVAJB, correct?
So the parity/data-rebuild took 10+ hours, and I formatted a new drive before that process, yet I still lost the files. I'm confused how that happened. I did receive a warning before the format, but I didn't do the data-rebuild yet...so no data was on the drive yet, right?