wayner

Members
  • Posts

    536
  • Joined

  • Last visited

Everything posted by wayner

  1. I want to be able to execute python scripts from my Apache docker. This is generally done quite easily with Apache and I have it working on an Ubuntu VM on my unRAID server. I think I have the config done ok, but the issue appears to be that the docker does not have access to Python. I do have Python installed on my unRAID host server - by that I mean that I can run Python code from an SSH session to root on my unRAID server - I don't remember if it was there by default or whether I installed it myself. In my error log I see: "/usr/bin/env: python: No such file or directory" which is why I am saying that python isn't available. And from a bash prompt within the docker there is no access to python as "python --version" will give an error. Is there any way to "poke a hole" in the container and have access to Python from within the Apache container? Or is there a way to install Python within the container? Or to have an additional docker container created that does contain Python? And what is the right way to do changes to the Apache config? Do you do this in .../appdata/apache/site-confs/default.conf or in .../appdata/apache/apache2.conf or somewhere else? Does the docker not use sites-enabled as I thought that config files were supposed to follow this structure: # /etc/apache2/ # |-- apache2.conf # | `-- ports.conf # |-- mods-enabled # | |-- *.load # | `-- *.conf # |-- conf-enabled # | `-- *.conf # `-- sites-enabled # `-- *.conf
  2. Ok - I think I have found this. It is in the painfully named /var/lib/docker/containers/123456789074329872398471204271304723094872307234/ folder where the last parameter is the Container ID. Is that correct? And why use the Container ID rather than the docker name? That makes it a pain to find the correct docker. How do I limit the size of the log file? Or is this best done from within the application?
  3. I created a semi-manual docker for the Harmony-api using this file. It works fine and when I click on the Docker from the unRAID UI I can see the log. But I can't figure out what file the log is actually stored in. Should it be in /var/log? I don't see anything there. I am concerned that this log will grow to be very large as it is constantly polling the Logitech Harmony hubs on my LAN. It seems that it will grow to at least a few hundred kB per day. Is there any way to have the log flush every day or X number of bytes?
  4. I have an Ubuntu VM on my unRAID server. I have now seen this happen at least three times - I lose my ssh or RDP connection to the VM but I can still do a VNC connection using the unRAID web UI. I am unable to ping the IP address of the VM. When I go in via VPN and do an ifconfig I can see that the line that usually has the IPv4 information - the address, the Bcast and the Mask has disappeared. So it looks like my IPv4 configuration has vanished. See the attached screenshot. Has anyone seen this? How do you fix this? I am running Ubuntu 16.04 and I am using DHCP on the VM. Would it work better if I used a Static IP? How would I even set a static IP?
  5. Or even better - SageTV which is a fully fledged DVR system that has been around for over a decade. It fully supports the HDHR and all kinds of other tuners. And there is a docker version available that runs really well.
  6. I am using this docker but I had to change the port number from the default 8765 to 8899. But when I try to start the web UI the docker still tries to use port 8899 and I get an error. How do I change it so that when I start the web UI from the unRAID GUI to make it go to the correct port?
  7. How do you use it - when I try typing notify at the bash prompt I don't get anything.
  8. I will be setting up a cron job to run weekly on my server. Is there any way that I can have the cron job kick of an unRAID notification, just like the other notifications I get for stuff like paritcy checks, etc?
  9. There is some discussion from about a month ago with some users having issues when deleting backups. What is the best way to delete old backups? Can I do it from Windows? Should I do it with an ssh session to my root ID on my unRAID server? Or is there another recommended way to do this?
  10. I think the only difference is that one uses Java version 7 and one Java 8. Use the Java 8 version.
  11. There is a docker version of SageTV that runs beautifully on unRAID and there is an AndroidTV client of SageTV built for the Shield or MiBox.
  12. A separate GPU for each client or can you also different ports (HDMI/DVI/etc) from one card to multiple VMs? Otherwise you have three (or more) GPUs in one PC?
  13. Has anyone got this running in unRAID? How do you even install a docker that isn't in CA and doesn't have a template?
  14. I have been waiting patiently for this as well as I will far prefer having each docker have its own IP as opposed to having to remember all of the ports required whenever I want to access the web UI for a docker. What was 8080 vs 7080 vs 6080? IP addresses will be easier, at least IMHO. And then you can enter all of the IPs in a hosts file and just use the docker name if you want
  15. Has anyone tried this? Or found a docker for unRAID with similar functionality to Nagios or something like Domotz or Fing?
  16. After much discussion and learning through the years IMHO the best way to do things is to use DHCP reservations to IP addresses outside of the DHCP pool range for devices for which you want static IPs. I set my DHCP pool to 192.168.1.100 - 192.168.1.185. For stuff that I want static I then use the DHCP reservations on my router to assign to IP addresses below 100 or above 185. I used to use static IP addresses set on the device but when you want to change things that becomes a pain in the butt as you have to physically go to the device and make the changes, sometimes using remote controls that aren't very user friendly. Using a DHCP reservation on your router can all be done in one central location and you can use a spreadsheet or other method to track what you have assigned. The one downside to this is that if you change routers it can be a pain in the butt to get everything back up to where you want it - but now that I use Unifi with its software controller that should be less of an issue. I would also recommend using some network utilities to scan your LAN and keep an eye on things. On Windows WakeMeOnLAN is good tool for scanning your LAN - not just for sending WOL packets. On iOS Fing is pretty good. One other networking recommendation is to use an usual subnet numbering scheme on your LAN - for example don't use 192.168.1.X or 192.168.0.X - maybe use 192.168.168.X. The reason for this is that if you are using a VPN to get into your LAN and the local network uses the same subnet then it can be difficult or impossible to get to IP addresses on your LAN. A couple of weeks ago I was at a hotel where they used 192.168.1.X as the LAN numbering scheme and I was able to connect to my home network via VPN but I couldn't access my unRAID server at 192.168.1.99 since that conflicted with the hotel LAN.
  17. I have to look into the Win7 and Win10 backup and restore as it looks like it can do a system image. In terms of building the restore USB key - do you know if that is unique to each system or to each OS? In other words, could you make up one USB key for all clients that you have that are running Win7 32bit or do you have to make a separate one for each system? It is probably the latter as it may need drivers for stuff like NICs, etc. I wonder if you could put restore tools for multiple systems on one USB key as well. The other thing that I have mused about for backups is wondering if you can do the restore from an attached drive. My clients have either 128GB or 256GB SSDs. I could keep a spare 256GB SSD around and copy the backup image from the unRAID directory to the SSD and then connect the SSD to a local SATA port for way quicker restores. Or with 128GB you could even copy the backup image to a 128GB USB key as they are now pretty reasonable in price.
  18. Were you using DHCP for your unRAID server? Why not use a static IP outside of your DHCP range. That way this won't happen again, unless you manually reuse the IP by mistake.
  19. Does anyone have any suggestions regarding how to backup Windows PCs on my LAN to replace the backup and bare metal restore capability of WHS? My unRAID server has replaced my WHS server as a file server but I still have WHS running to back up all of my PCs. WHS was very good at doing nightly, incremental backups of all PCs on your LAN and it did this without needing a reboot. It also allowed you to do bare metal restores so that you could quickly get a PC up and running after a hard drive or SSD had died. There are some threads here about running WHS as a VM in unRAID but that seems like a lot of futzing around and it makes sense to move away from WHS as it has been dead for several years. Are there any dockers that could do this?
  20. Wouldn't Nextcloud or Owncloud be a good solution for backing up other family members? You may still need to backup the "mothership" to the cloud, but this could do the computer to unRAID backups for family members, friends, etc.
  21. I built an unRAID server about six months ago to replace my existing SageTV server as the current devs for SageTV are mainly using the docker version of SageTV so it is more current and has more functionality than the Windows version. (FYI - SageTV is similar to Windows Media Center Edition but it is better in most ways - and MCE was killed by MS. SageTV has had hardware extenders for over a decade that make it easy to have a centralized media server that can record TV and serve up ripped media content to multiple spots in your house. SageTV was bought by Google several years ago but it was Open Sourced a year or two ago and development has resumed.) My SageTV unRAID server is connected to two HD-PVRs which are connected to cable boxes so they can record all cable TV content at 1080i or 720p. I also have two dual tuner HDHR OTA tuners. All nine TVs in my house have SageTV HD200 or HD300 extenders and this is how we watch media for the most part - watching recorded TV shows or ripped DVD files. The only downside is that SageTV cannot directly serve up streaming video like Netflix. My unRAID server also runs Ubiquiti Unifi to control my networking needs as I have five Unifi WAPs and a Unifi router. I also run other dockers like Letsencrypt, Plex, AirVideoHD, etc. And, of course, the unRAID server acts as my file server.
  22. I use Backblaze for $50/yr unlimited. But it took months to upload all of my data as they appear to throttle your upload speed. This is for my older media server which is on Windows - I have all of my content mirrored between my new unRAID server and my older Windows server (so that I have an onsite backup) and then the Windows server backs up over the cloud to Backblaze. Plus I occasionally backup to an external hard drive. edit - But Backblaze doesn't support Linux so it wouldn't work directly from unRAID. Maybe you could do it from a Windows VM running on your unRAID server - but I am not sure since Backblaze only lets you backup local drives if I remember correctly.
  23. You don't mention what inputs your monitor(s) have but I have a few things working. I have a couple of older KVM switches that use USB and DVI or VGA. Assuming that your monitor has an HDMI input you can buy HDMI switches pretty cheaply at Monoprice - as low as $7 for a 3:1 switch. You can also get USB switches as well - about $20 for a four port switch. You have to move two switches but it is pretty cheap and the switches are useful for other applications if you don't need them for KVM anymore. The other option is to use a wireless keyboard and mouse and just move the receiver from PC to PC when you need to use that PC which negates the need for a USB switch. For my monitor I use a cheapo 19" TV that I bought that has AV inputs as well. This is useful as I can also use it to check the video outputs from my cable boxes which are hooked up to my unRAID server under the SageTV docker.
  24. Would that make sense for multi TBs or does the pricing not work when you scale up. I would imagine most of the folks using unRAID have many TBs of files to backup and want an off-site backup strategy.