selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

helenslunch, in Grocery shopping apps
@helenslunch@feddit.nl avatar

Obsidian?

EarMaster,

Interesting thought. I found this blog post, but I think this is not what I’m looking for.

eluvatar, in File server with on-demand sync, preserve the filesystem, and runs without external DB?

Why no real db? Those other 2 features make sense, but if the only option you can use sacrifices the 3rd option then it seems like a win. Postgres is awesome and easy to backup, just a single command can backup the whole thing to a file making it easy to restore.

rearview,

I think oCIS spoiled me with regards to the database issue xD. You bring up a good point - I’ll try reinstalling Nextcloud with Postgres, removing unneeded bloat, and use it until oCIS has a “native” backend

thisfro, (edited ) in Grocery shopping apps

Another thought: I use grocy (or at least try to use it) to have an overview of my stock and know when an open item in the fridge neeeds to be used before spoiling. But I just use a shared note on nextcloud for shopping, which is good enough for two people. But of course there is no meal planning or recipe management

theRealBassist, in File server with on-demand sync, preserve the filesystem, and runs without external DB?

I don’t think this would solve your particular use case. However, SSHFS is absolutely amazing for remote smb share access.

I used it on my laptop to access my home NAS for years.

Tiritibambix, in SOLVED. Has anyone installed Shotshare using docker-compose ?
@Tiritibambix@lemmy.ml avatar

To give more information:

I’m a portainer user and wanted to try shotshare as is looks exactly like what I need :)

I followed these steps: sudo mkdir Shotshare and cd into this directory sudo touch .env database.sqlite sudo chown 82:82 .env database.sqlite

and then tried this docker-compose:


<span style="color:#323232;">version: "3.3"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  shotshare:
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 2000:2000
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:2000
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data:/app/storage
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: shotshare
</span><span style="color:#323232;">    image: mdshack/shotshare:latest
</span><span style="color:#323232;">networks: {}
</span>
Smiling_Fanatic, in Grocery shopping apps
JASN_DE, in SOLVED. Has anyone installed Shotshare using docker-compose ?

Where does it fail?

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

I struggled a lot with ports.

I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500

Here’s my compose (path is OMV path)


<span style="color:#323232;">version: "3.3"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  shotshare:
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 2000:2000
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:2000
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data:/app/storage
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: shotshare
</span><span style="color:#323232;">    image: mdshack/shotshare:latest
</span><span style="color:#323232;">networks: {}
</span>

image


<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} 
</span>

I can’t wrap my head around this

mouse, (edited )
@mouse@midwest.social avatar

This appears to be the exact same problem as github.com/mdshack/shotshare/issues/31

For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for /app/storage.

This compose file should work.


<span style="color:#323232;">version: "3.3"
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">  shotshare:
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 2000:80
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - HOST=:80
</span><span style="color:#323232;">      - ALLOW_REGISTRATION=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - shotshare_data:/app/storage
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite
</span><span style="color:#323232;">      - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: shotshare
</span><span style="color:#323232;">    image: mdshack/shotshare:latest
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">    shotshare_data:
</span><span style="color:#323232;">networks: {}
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh wow, thanks for trying this. It is working indeed.

I am an absolute begginer so let me ask. Where is shotshare_data on my machine ? Is it in docker volumes ( like /var/lib/docker/volumes/) ? Is there a way I can store data in /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/ ?

mouse,
@mouse@midwest.social avatar

It will be stored in /var/lib/docker/volumes, you can find the exact location by inspecting the volume. Use docker volume ls to list the volumes, and do docker volume inspect <volume_name> replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work.

mouse, (edited )
@mouse@midwest.social avatar

I just did another test.

You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.


<span style="color:#323232;">git clone https://github.com/mdshack/shotshare
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data
</span>
Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Oh that’s great.

So do I need to keep this ?


<span style="color:#323232;">volumes:
</span><span style="color:#323232;">    shotshare_data:
</span>
mouse,
@mouse@midwest.social avatar

No, since you are using the bind mount, you do not need to use the volume.

Tiritibambix,
@Tiritibambix@lemmy.ml avatar

Thank you very much !

mouse,
@mouse@midwest.social avatar

You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful.

N0x0n, (edited )

Ugh permission issues…

I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:


<span style="color:#323232;">environment:
</span><span style="color:#323232;">  - PUID=82
</span><span style="color:#323232;">  - PGID=82
</span>

If the docker image supports it, the –user flag is also helpful :).

I know those works with volume mounts, no idea about bind mounts.

starkzarn, in Grocery shopping apps

Ran into a similar conundrum. We use mealie for recipe management and occasionally meal planning, but the shopping list is clunky. We resorted to just making a list on a card in Planks. Not purpose-built, but it has worked rather well for us.

MrBadApple, in Grocery shopping apps

Are there any tools that use published store ads to help with local sales when shopping?

sudoroot, (edited )
@sudoroot@lemmy.zip avatar

It’s not foss or self hostable, but Flipp does this. Pulls weekly ads you can compare.

N0x0n, (edited ) in Grocery shopping apps

I really like tandoor reciepe. Maybe not exactly what your are looking for, but who knows :).

I like how the meal planner works and that you can save your own meal reciepes, add them to a grocery list…

BUT it is maybe a bit too complex and to much features?

EarMaster,

I like the recipe management, but I dislike the grocery list for the same reason I don’t like Grocy. It is just too complex and hard to use in the store.

N0x0n,

Yeah, I know !

How I do it:

I bought a mobile holder for bicycles, and put it on the cart when I’m in the store. It works, its not perfect but I does what I need !

But i totally agree that the grocery list could be better integrated, but it’s FOSS, self-hosted and free. So I’m happy :)

thisfro, in Grocery shopping apps

For meal planning and shopping lists, grocy os completely overkill.

You could look at Kitchen Owl, it even looks like bring! and you can use meal planning :)

palitu,

Sigh. Time to give it a crack. I was happy with bring! Now i need to change

thisfro,

Hehe

Haha,

Haha

EarMaster,

It looks promising. Thanks for the suggestion.

ioslife,

Been using it for a few months. It’s pretty good. A few annoying things, but my wife and I have figured out how to make it work for us

noughtnaut, in Grocery shopping apps
@noughtnaut@lemmy.world avatar

I’ve been extremely fond of “Our Groceries” for many years. It strikes a sweet spot between features and simplicity of use, and the devs are very responsive and have added several features after my suggestions. Really the only downside right now is that it can’t use the front facing camera on my wall mounted android tablet for scanning barcodes.

AtariDump,

Seconded for Our Groceries. The sync between devices is great and I LOVE the barcode scanning.

SirMino,

I really like Our Groceries, but AFAIK it’s not self hosted nor foss

noughtnaut,
@noughtnaut@lemmy.world avatar

Correct, it is not.

EarMaster,

I will have a look into it.

deFrisselle, (edited ) in Suggestions for NAS (or other hardware) solution to home setup
@deFrisselle@lemmy.sdf.org avatar

After doing my research, I’m going to be using XigmaNAS as the OS for my NAS build

XigmaNAS.com

Discover5164, in Memos - Easily capture and share your great thoughts. Open Source and Free forever

how does this compare with silverbullet?

can i link pages? do queries?

KLISHDFSDF,
@KLISHDFSDF@lemmy.ml avatar

Ooh silverbullet looks nice too, thanks. Link for the lazy: silverbullet.md

Jimbabwe, in Memos - Easily capture and share your great thoughts. Open Source and Free forever

I thought I’d give this a shot, but the metrics/data collection flag was turned on by default and when I added a command to my docker-compose to turn them off, it was ignored. Then, I created an account and looked for a way to turn them off in the settings and there was none. You expect people interested in self-hosting OSS to be cool with sending data out of their network every time the server is started, a memo is created, a comment is created, a webhook is dispatched, a resource or a user is created?! Also, the metrics are collected by a 3rd party with their own ToS that could change at any time?

Holy hell, hard pass. I’d rather use a piece of paper.

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

Saved me the effort, thanks. Although, couldn’t you just block the container from talking outside your network? I can’t see why I’d need a memo app (server) to have access to the internet.

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

See my adjacent comment

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

Ah, nice one. Still, a bit annoying that it’s opt out, rather than opt in.

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

I’d rather it be an initial setup question and/or at least a UI toggle in the settings, yeah

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

That’s not good enough in my opinion, it should be opt in, not opt out. They’re marketing it on their site as being more secure because you can self-host. It all just seems really skeevy.

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar

It would appear that blocking app.posthog.com on the host/network resolves this. But I got the parameter to work, too, as per www.usememos.com/docs/advanced-settings/metrics use ‘–metric=false’ and bam, no DNS queries!

Jimbabwe,

Yeah, I’d assumed it would respect the —metric=false flag when building with docker run, but docker-compose is ostensibly supported and easier to work with. I was able to successfully change other configuration options (such as setting the db to use MySQL instead of the default SQLite) using the docker-compose ‘command’ block, but the metric flag specifically was ignored. It’s entirely possible that this is a bug and not an intentional attempt to hoover up user data. Either way, data collection should be opt-in by default (by law, imo).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #