16
submitted 1 week ago* (last edited 1 week ago) by Dave@lemmy.nz to c/selfhosted@lemmy.world

I'm not really sure where the right place to ask is, but I figure this is a good place for docker related questions.

I have recently installed Bazzite as my daily driver, previously I was on Nobara. The main difference here is that Bazzite is immutable, so you can't (or shouldn't) install stuff in the normal way as it may get overwritten by updates.

I have a bunch of docker compose YAML files. I want to run these locally. But I also don't want to tweak anything in the files to get them running because they should be able to be copied to a prod environment as is or the local test environment isn't a good test. Prod would be either my Linux Mint server or an Ubuntu Server one.

Bazzite has a ujust script available for installing docker, but this doesn't include docker compose, and I'm not sure how to add that in.

Searching online shows everyone saying just use podman, it comes pre-installed and is a drop in replacement. The problem is that it doesn't work.

Maybe that's my question, why isn't my compose.yaml working with podman?

For example, the container gives me a bunch of messages about missing environment variables, but they are set in the compose.yaml.

I also get a bunch of permissions errors. E.g. here is the mariadb trying to access a directory and then trying to change the ownership:

[db]         | find: ‘/var/lib/mysql/’: Permission denied
[db]         | chown: changing ownership of '/var/lib/mysql/': Permission denied

Volumes are all bind mounts. After the container created the local directories, I set all the permissions to 777 as a test and took the containers down then up and it still complains about permissions.

I feel like there is something specific to podman or Bazzite I'm not understanding. Any help?

I'm also happy to take suggestions on other ways to use docker compose in Bazzite.

Thanks in advance!

Edit: I have solved this by adding a Z flag to my bind mounts (./localdir:/containerdir:Z) as per this answer.

84
submitted 3 weeks ago by Dave@lemmy.nz to c/world@lemmy.world

cross-posted from: https://lemmy.ca/post/42967562

Other threads:

News Articles:

Let me know if any information belongs in this thread and I'll edit it in.


Support Resources:

Vancouver Police Victim Services: As per their website - Victim Services staff members are not police officers; they are civilian employees of the VPD with specialized training in emotional support, crisis intervention, and communication skills, and with education in areas such as psychology, social work or other related disciplines.

Staff are available to provide free and confidential support to victims, witnesses, and family members affected by crime and trauma.

If you have been affected by crime or trauma, contact the VPD Victim Services Unit at 604-717-2737.

Vancouver Coastal Regional Distress Line: 604-872-3311

BC Mental Health & Crisis Response (no area code needed): 310-6789

Suicide Crisis Helplines: Text or call 9-8-8 from anywhere in Canada or call 1-800-SUICIDE (1-800-784-2433) in BC, both available 24/7.

Learn about what resources are available in your community, including mental health supports. Available 24/7 and Canada wide: Call 211 or visit 211.ca


https://www.crisiscentre.bc.ca/

4
submitted 1 month ago by Dave@lemmy.nz to c/comicstrips@lemmy.world
10
submitted 3 months ago by Dave@lemmy.nz to c/selfhosted@lemmy.world

I have backups on a backup hard drive and also synced to B2, but I am thinking about backing up to some format to put in the cupboard.

The issue I see is that if I don't have a catastrophic failure and instead just accidentally delete some files one day while organising and don't realise, at some point the oldest backup state is removed and the files are gone.

The other thing is if I get hit by a bus and no one can work out how to decrypt a backup or whatever.

So I'm thinking of a plain old unencrypted copy of photos etc that anyone could find and use. Bonus points if I can just do a new CD or whatever each year with additions.

I have about 700GB of photos and videos which is the main content I'm concerned about. Do people use DVDs for this or is there something bigger? I am adding 60GB or more each year, would be nice to do one annual addition or something like that.

141
submitted 4 months ago* (last edited 4 months ago) by Dave@lemmy.nz to c/homeassistant@lemmy.world

I was trying to get it to pause Pi-hole on request. I'm using Home Assistant Cloud (Nabu Casa) for speech to text, and have also got OpenAI plugged into it for if it doesn't recognise a command. The screen shot is from the debug logs that I eventually found after struggling to work out why it wasn't running my automation.

I'm using the new Home Assistant Voice Preview. Don't get me wrong, overall very happy with it for the price point, but for some reason the cloud speech recognition (I believe powered by Google) is very good at understanding me until I start trying to talk about ad blocking.

2
submitted 5 months ago* (last edited 5 months ago) by Dave@lemmy.nz to c/selfhosted@lemmy.world

You may have seen my post trying to troubleshoot my server. It seems either the motherboard or CPU is dead, so hey, why not do an upgrade?

I use this server for a lot. It's used for a Jellyfin server, sometimes multiple streams at once. I think I'd like hardware transcoding, I want it to be really good at streaming Jellyfin, and preferably multiple streams at once without issue.

It's also going to be used for hosting Zusam, a kind of private forum for friends/family - a key thing is that this will also be transcoding videos and photos to downscale them (uses FFmpeg).

I also host Photoprism, which will be generating thumbnails and indexing photos.

In addition to this, I also host a bunch of other stuff, I think the key ones are Nextcloud AIO and PaperlessNGX (which does OCR) as these would be more demanding. Then another 10 or so services that aren't too demanding and have low usage so are unlikely to be an issue outside of making sure I have enough RAM.

I use it as a backup server as well. It receives borg backups from other devices and backs up itself to a backup HDD, and does cloud backups, but has a fast LAN connection and decent internet speed (300Mbps) and this is scheduled overnight so probably doesn't affect anything.

I also use it for playing games with the kids! Normally Stardew Valley but sometimes more demanding games.

Many of the hosted services have family members also using them. I want to make sure I can do things like the Photoprism indexing and Zusam video downscaling while not affecting the experience using Jellyfin or other services. It's all good if this happens by limiting cores for transcoding. It would be nice to be able to use it for more demanding gaming as well, but I understand if it's a bit hard to keep everything going nicely with a demanding game running that doesn't limit its multithreading.

Possibly related for compatibility purposes:

  • all my hard drives are 3.5" HDD or 2.5" SSD SATA connections. I have 2 SSDs and 2 HDDs.
  • I also have a Radeon rx5700xt graphics card. Would be nice to be able to keep using this.
  • I'm currently running a full desktop environment (Linux Mint - Cinnamon) on it, for the purposes of playing the games. So needs to work well with Linux and also play nicely with wireless Xbone controllers.
  • Case is Mid sized. Specifically this one.

And the current CPU is an AMD Ryzen 7 3700X, in case you want to tell me what I have is fine and I don't need an upgrade 🥲

What are some good options for an upgrade?

Edit: Thanks for the suggestions. Lots of people showing me how I wasn't taking full advantage of the hardware I had, so I ended up going back to trouble shooting and in the end it was the motherboard that was the issue. I replaced that and it's now up and running again! Now to go back to all the info about hardware transcoding in Jellyfin that people have linked for me. Thanks for everything!

14
submitted 5 months ago* (last edited 5 months ago) by Dave@lemmy.nz to c/selfhosted@lemmy.world

I decided to clean out my CPU fan as it was clogged, when I assembled everything again it won't turn on 🙁

It's an old desktop PC. There are no lights glowing on the motherboard at all, though there is none specifically labelled "power". Just CPU, RAM, BOOT. None of these light up, not even a flash when it starts.

I have reseated the RAM, CPU, power cables. Removed the GPU to check.

The cord leading in to the PSU works but I don't have a way to test the PSU itself or the out cables, but I have reseated them at each end.

This PC was working fine before. But with no lights on the motherboard I suspect either the mobo or PSU?

Mobo is asrock x570 PSU is silverstone 650w strider gold S series

Any help appreciated!

[-] Dave@lemmy.nz 135 points 7 months ago

That graph is so misleading. Makes it look like almost all the users disappeared but the Y axis only covers a small range at the top.

18
submitted 7 months ago by Dave@lemmy.nz to c/selfhosted@lemmy.world

Over time I've been on the lookout for social media for family to use. I haven't really found anything suitable, key thing is that posting photos and videos needs to be user friendly. For example, Friendica all but requiring you to upload your video to YouTube and post the embedded video is just not gonna fly.

I've seen Zusam in the past, which looks like it could become something but I don't think it's ready for me to try to get extended family into. (It's worth mentioning here that certain extended family have shown interest in using something like this)

Recently I've had a look around at some Enterprise social solutions, and have had a play with HumHub. It has a much more familiar look, things are separated into spaces that are similar to Facebook groups, and while media uploads aren't perfect I think they will work well enough.

HumHub has modules, many of which cost a decent amount of money, because they target the enterprise market. However, the community version is open source and the base features and free modules seem to work well.

Does anyone have experience using it? Any warnings I should know about? Any similar software that does a better job?

15
submitted 7 months ago by Dave@lemmy.nz to c/parenting@lemmy.world

I have kids ages 4-7 and they quite like watching a little snippet of something while they brush their teeth.

One thing they have been into recently is these stop motion videos on youtube on a channel called Peapea. However, it's obvious that M&Ms and Coke give them lots of money because it's all you see in many of the videos. But these are good videos, as the kids like them and while the full youtube videos are 30 mins long, within this there are lots of shorts only a few minutes long each. Perfect for bushing teeth. Also a bonus is those videos don't rely on sound, so they can watch and understand it without telling each other to brush queiter.

Does anyone have suggestions for anything similar that isn't plastered with Cocacola and is suitable for the 4-7 age range?

26
submitted 8 months ago by Dave@lemmy.nz to c/selfhosted@lemmy.world

I'm looking at getting a gateway device to replace the ISP router that sits between the internet connection and the mesh WiFi.

I am running pi-hole on a (very old) raspberry pi, but I know some gateways get quite fancy so I'm wondering if it's possible to have pi-hole on the gateway itself, to run as DNS and DHCP servers?

Other things I'm looking for in a gateway are VPN as a client (preferably Wireguard) and PoE ports for cameras.

If it's possible to host something like pi-hole directly on the gateway then hardware recommendations are appreciated!

[-] Dave@lemmy.nz 156 points 8 months ago

The problem is that a website is generally not served from one domain.

Put a Facebook like button on your website, it's loaded directly from Facebook servers. Now they can put a cookie on your computer with an identifier.

Now every site you visit with a Facebook like button, they know it was you. They can watch you as you move around the web.

Google does this at a larger scale. Every site with Google ads on it. Every site using Google analytics. Every site that embeds a Google map. They can stick a cookie in and know you were there.

[-] Dave@lemmy.nz 132 points 10 months ago

Is it just that it's a really fucking hard job? How do you protect someone who wants to travel the country and stand in front of live audiences of thousands of people, without getting in the way of the personal experience they are trying to sell?

If you are as controversial as Trump, anyone can be an assassin and the secret service have to somehow separate crazy fan from crazy assassin, in a thousand different venues. The only real option is a bulletproof Popemobile.

14
submitted 10 months ago by Dave@lemmy.nz to c/linux@lemmy.ml

I have a server that is also plugged into my TV. It's running Ubuntu server, but then I installed the DE when I started trying to use it with the TV as well.

For the TV I'm using Kodi synced with Jellyfin. Unfortunately it's not very stable. Most of the time it's fine, but with specific files Kodi will crash, often bringing down the whole system. I expect this is at least partly because the DE was an afterthought and it's not running a full DE.

I'm looking at doing a full refresh of the server, and am wondering if there is a distro that is particularly good for this use case. I also want to be able to play games on occasion with xbox controllers.

TL;DR: Can you suggest a distro to run on a PC connected to a TV, used mainly to run Kodi and as a server via docker containers, but also for games via wine/proton with controller support?

1
submitted 10 months ago* (last edited 10 months ago) by Dave@lemmy.nz to c/support@lemmy.nz

Welcome to the latest version of Lemmy!

Version 0.19.5 is a minor release with some bug fixes for 0.19.4. We were never running 0.19.4 so the bug fixes are less important than that new features in 0.19.4.

Release notes for 0.19.4 are here.

Release notes for 0.19.5 are here.

The upgrade took a bit longer than expected, perhaps 40 minutes of downtime. Partly this is because of an issue with postgres memory that happened before I started the actual upgrade.

Probably the two biggest new features for users are the ability to hide posts, and the ability to see any images you've uploaded (since lemmy started tracking).

There is also a new setting to change how upvotes are displayed, and we have a new option to have communities that don't federate. Maybe this community is a good target for that? Let me know your thoughts.

Let me know if you have any questions or see any strangeness!

[-] Dave@lemmy.nz 247 points 10 months ago

Me as an instance admin sitting here reading about how Lemmy doesn't have trolls and Russian bots, while I'm in a chat with other instance admins and mods where we need to actively coordinate to fight the trolls and Russian bots 😐

[-] Dave@lemmy.nz 226 points 11 months ago* (last edited 11 months ago)

Haha I remember the days of downloading random EXEs off the internet and running them to see what they do (also the days of CD-rom drives).

My auntie somehow managed to get a virus that played Für Elise through the motherboard speaker and never stopped so long as the thing was on. I don't think they ever solved it, in the end they just got a new PC.

[-] Dave@lemmy.nz 194 points 1 year ago

Hey ChatGPT, how can I ...

"Locking as this is a duplicate of [unrelated question]"

[-] Dave@lemmy.nz 142 points 1 year ago* (last edited 1 year ago)

I can't believe Eric stole years of my life!

If he thinks all these free content updates will make up for it, well he's probably right.

[-] Dave@lemmy.nz 150 points 1 year ago

To be fair, if you don't know about how gravity works, you would just hold up a rock, drop it, and say obviously things can move without someone moving it.

[-] Dave@lemmy.nz 184 points 1 year ago

Reddit must share IP addresses of piracy-discussing users

Uh oh, some sort of court ruling?

film studios say

Oh right, nothing to see here.

[-] Dave@lemmy.nz 129 points 1 year ago

I mean, there was all that drama where the board formed to prevent this from happening kicked out the CEO trying to do this stuff, then the board got booted out and replaced with a new board and brought back that CEO guy. So this was pretty much going to happen.

[-] Dave@lemmy.nz 196 points 2 years ago

So you're telling me I get free accommodation, free food, and it's protected by a T-rex?

[-] Dave@lemmy.nz 246 points 2 years ago

Be the change you want to see!

view more: next ›

Dave

joined 2 years ago
MODERATOR OF