this post was submitted on 04 Jul 2023
0 points (NaN% liked)

Selfhosted

40113 readers
795 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

What I currently have

  • Website
  • FreshRSS
  • Zabbix
  • Mastodon instance
  • Lemmy instance
  • Nextcloud
  • Vaultwarden
  • Jellyfin
  • qBittorrent
  • Synapse (Matrix homeserver)
  • Matrix iMessage bridge
  • Portainer
  • Authentik
  • 2 Minecraft Servers
  • BreezeWiki
  • Rehike (Youtube front end)

Things I don't need

  • The *arrs (I'm not pirating things enough for them to be needed)
  • HomeAssistant
top 5 comments
sorted by: hot top controversial new old
[–] buedi@feddit.de 0 points 1 year ago (1 children)

Maybe Tandoor for recipes and Groceries from David Shay for shopping lists of all kind. So far the best multi User shopping list / app I ever had.

[–] conrad82@lemmy.world 0 points 1 year ago (1 children)

groceries got me interested, but I'm not able to get it working in docker. I am trying to run it behind caddy reverse proxy. All the containers are running, and it seems the couchdb database has been created but I get nothing when going to the url of the server and client. Just blank page.

[–] buedi@feddit.de 0 points 1 year ago (1 children)

Hmm, what do docker logs -f tell? I made myself a compose file and use traefik. Not on my PC atm, but when I had problems getting it running, I made mistakes with the secrets. But that should show in the logs.

[–] conrad82@lemmy.world 0 points 1 year ago* (last edited 1 year ago) (1 children)

I get a lot of stuff.. The first time i tried to make a docker-compose myself based on docs, and it made the groceries db. But I found out you need a lot of settings for couchdb, so I tried to run the default files, and I got an error on docker-compose.yml file. It wouldn't run due to "restart: always" in the healthcheck of couchdb.

Now it seems it is complaining about JWT settings, even though I have base64-code in jwt.ini corresponding to the phrase in docker-compose. groceries-server_1 | [07:30:22] ERROR: Cannot access database with encoded JWT key. Please check HMAC entry in jwt.ini. The hmac:_default value should be: c3F1ZWVnZWUtZmxhdG5lc3Mtb2NjdWx0aXN0LWNvbmZ1c2luZw==

Which corresponds to the jwt.ini [jwt_keys]

hmac:_default = c3F1ZWVnZWUtZmxhdG5lc3Mtb2NjdWx0aXN0LWNvbmZ1c2luZw==

I got a bad feeling about the whole thing.. I think I will stick to caldav + tasks.org for my shopping list, it has a much simpler setup..

[–] buedi@feddit.de 1 points 1 year ago

Setup of the HMAC Key for the CouchDB was indeed the step I struggled with too. I think the first time I either made a mistake or used a broken Website to generate a Base64 value. The 2nd time my mistake was that I put in the Base64 value for the HMAC Key into the jwt.ini AND in the docker-compose.yml. But in the docker-compose.yml COUCHDB_HMAC_KEY, I had to put it unencoded and in the jwt.ini hmac:_default it has to be Base64 encoded. Maybe this is the thing you did wrong too?

I bet you are close!

On the other hand, if you are the only person using the shopping list and your current setup offers you what you need, maybe it is not worth it for you. For me it was (and updating when it runs is super easy, I promise!). The instant sync over all devices is great + it keeps working when I lose reception in a shop and syncs again instantly when I have internet again. But what makes Groceries for me are:

  • The ability to have an item on multiple shopping lists if needed and if it is checked off from one list, it is checked of from the other lists too. I stopped forgetting buying stuff that was not available in the 1st shop to get in the 2nd.
  • The ability to add items to aisles and move the aisles in different order for each list (every shop I visit has a bit of a different layout). This made shopping super quick for me, because I enter the shop and walk through it exactly once and have everything I need, because it is all in the correct order on the respective list.

Oh, and adding a photo to an item is super useful if you are like me and need very close instructions what to get for your partner if you stand in front of a shelf with 100 different types of cheese which look all exactly the same to you... having a photo is sometimes a life saver for me :-)