Cyberpro123

joined 1 year ago
[–] Cyberpro123@lemmy.world 1 points 1 month ago (1 children)

Small town in Oregon here (all measured along the routes walked, not 'as the crow flies'):

  • Convenience Store: ~150 meters, right down the road
  • Supermarket: Will get back to later
  • Bus Stop: The local bus company runs a loop around town so there's technically one closer to my house than the convenience store, but the busses that can take you to another town stop at the one ~400 meters away.
  • Park: Three parks, which are ~400, ~500, and ~580 meters away respectively, though there's not much of anything at the 400 meter one but some sports fields.
  • Big Supermarket: Will get back to later
  • Library: ~500 meters (the 500 meter park is right across from it)
  • Train Station: 29 kilometers by car to the nearest passenger rail station I can find. Without a car I'd need to walk ~400 m to the bus stop, take a $1 bus ride with the local company to Town B, then take another bus ran by this town's company, and then walk another ~480 meters because they don't have a stop at the station. Google Maps predicts that trip will take about 1 hour 20 minutes one-way, and it would cost $2 (or $4 round trip).

Now, I'm not entirely sure what separates a supermarket from a "big supermarket" in your mind, because to me all supermarkets are quite big by definition, so I'm going to explore three different trip options: one each to two supermarkets in or near my town, and one to the nearest Walmart, which I'm 100% sure should count as a "big supermarket", but which is a couple towns away.

  • Supermarket A is close enough that walking to it is a viable option, which would be ~730 meters to the edge of the parking lot or ~875 meters to the front of the store. Alternatively, if I can plan the scheduling of my trip around it or I'm not picky about the timing I can walk ~100 meters to the nearest stop in the city bus loop, wait a while, and walk of right at the front.

  • Supermarket B is 2.6 kilometers by foot, but a large part of that trip is walking along the side of a lightly-developed highway with no sidewalks, so I don't consider walking here a viable option. By bus it's the same 100 meters to the bus stop, wait, then directly to the storefront.

  • The nearest Walmart is ~25 kilometers away by car, but the local bus company doesn't offer a direct route to that town so I have to take a bus to Town C, take the Town C Bus Company's bus to the east edge of Town D, then take Town D's bus to the Walmart on the western edge. Google Maps says this would take just over 2 hours one-way, and it would cost $2 ($4 round trip) because Town D's busses are all free to ride at the moment.

[–] Cyberpro123@lemmy.world 9 points 11 months ago

I'm not sure how to stop the DAC from shutting down when Mint goes to sleep, but maybe you can avoid the problem by making Mint not go to sleep in the first place? There's an option for it in the System Settings program, in the "power management" menu (under the "Hardware" heading).

Try doing that and see if the problem keeps happening. If it keeps happening, the DAC shutting down was probably caused by something else.

[–] Cyberpro123@lemmy.world 1 points 1 year ago

The current DNS server is just set to the IP address of my Gateway, which I don't think has had any significant changes to its settings since the ISP delivered it. OMV is currently able to check for updates and all internet-related operations on the machine so far have been working perfectly as expected - except, of course, for the pulling issue described above.

My current plan, after seeing the other comment about the limitations of the Docker version of HomeAssistant, is to essentially wipe the drive I'm currently running OMV on, install HomeAssistant OS overtop it, and then try to make HAOS to the jobs I used OMV for. In case that doesn't work I'm going to be making a disc image backup of how the OS drive currently is (Drive is 250GB, I have a spare 1TB external SSD) and disconnecting the other drives until I'm confident in the HAOS solution. That way I should at least be able to revert things to how they are now and use HAOS on another machine if I need to.

Thank you (and the others) for trying to help.

 

My household has recently bought some smarthome equipment that I'm now obligated to set up and teach my housemates to use, so I've been trying to modify my existing OpenMediaVault server to simultaneously run HomeAssistant in a Docker container.

I've successfully installed omv-extras and openmediavault-compose, and followed this guide up to the end of Step 8. However, whenever I select the HomeAssistant and click "pull" or "up" in order to actually download the HomeAssistant program the standard OMV terminal window thing appears saying "homeassistant Pulling" before seemingly doing nothing for several minutes. Eventually, "** CONNECTION LOST**" appears and I get an error message in the OMV notifications menu.

Here is the error message given:

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/Docker/HomeAssistant Core/HomeAssistant Core.yml' --env-file '/Docker/HomeAssistant Core/HomeAssistant Core.env' --env-file '/Docker/global.env' pull 2>&1':  homeassistant Pulling
 homeassistant Error
Error response from daemon: Get "https://lscr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/Docker/HomeAssistant Core/HomeAssistant Core.yml' --env-file '/Docker/HomeAssistant Core/HomeAssistant Core.env' --env-file '/Docker/global.env' pull 2>&1':  homeassistant Pulling
 homeassistant Error
Error response from daemon: Get "https://lscr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) in /usr/share/openmediavault/engined/rpc/compose.inc:676
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatus6Z...', '/tmp/bgoutputy2...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(679): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}

Here's the "stack":

***
# https://hub.docker.com/r/linuxserver/homeassistant
version: "2.1"
services:
  homeassistant:
    image: lscr.io/linuxserver/homeassistant:latest
    container_name: homeassistant
    network_mode: host
    environment:
      - PUID=1002
      - PGID=100
      - TZ=Etc/UTC
    volumes:
      - ./config:/config
    ports:
      - 8123:8123 #optional
    devices:
      - /path/to/device:/path/to/device #optional
    restart: unless-stopped

While my main goal here is HomeAssistant, I've also tried installing other programs from the 'add from example...' menu (Jellyfin, Beets, and Syncthing) all of which have had similar results. It's probably noteworthy that all of these, from what I can tell, appear to be trying to download from lscr.io, meaning there's a chance the issue is with that website specifically.

Sorry if I haven't provided enough information, I've never seriously attempted to set up Docker before. Feel free to ask for any more information that might be useful. EDIT: Also, sorry if this isn't the right community to ask technical support questions in, if that's the case please let me know somewhere else I should post this instead.