linux

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

EponymousBosh, in (Constructively) What is your least favorite distro & why?
@EponymousBosh@beehaw.org avatar

My least favorite is Linux Lite. It’s supposed to be a lighter, simpler version of Ubuntu but I don’t think it accomplishes this at all. It’s very slow for something that’s supposed to be lightweight, and still includes Snaps, which are also very much not lightweight. Plus its software center is just bad, which is not great for something that’s marketed at Linux noobs. Linux Mint XFCE or SpiralLinux are better options for a Linux noob who needs a lighter distro, IMO.

An improvement I’d suggest: obviously, ditch Snaps. Another would be to take a look at what Bodhi Linux does and have the “software center” run in the browser. I don’t know how good this is security-wise, but it definitely speeds things up from the UX side of things.

N0x0n, (edited ) in [help] docker conflicts with host network, causing no internet connectivity

Humm… this seems rather strange. Maybe show us you docker-compose to have a look on how you configured immich’s network?

169.254.0.0/16 are APIPA addresses . So this a network misconfiguration.

After searching the web, I tried to create /etc/docker/daemon.json

This is not how you configure a docker network. This is only used if your local networks overlaps with docker’s defaut network.

The easiest way i can think on how to make your docker-compose work is to reinstall docker and use the host network. DO NOT forget to delete the /etc/docker/daemon.json file in case you want a fresh start. This seems a badly network configuration on you docker stack !

This will give you a good starting point! After that try to configure a bridge network for your docker compose.

Normally after you get the gist on how docker works, it’s rather easy!

tubbadu,

Maybe show us you docker-compose to have a look on how you configured immich’s network?

I didn’t change anything, just followed the instructions on the wiki:


<span style="color:#323232;">version: "3.8"
</span><span style="color:#323232;">
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># WARNING: Make sure to use the docker-compose.yml of the current release:
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># The compose file on main may not be compatible with the latest release.
</span><span style="color:#323232;">#
</span><span style="color:#323232;">
</span><span style="color:#323232;">name: immich
</span><span style="color:#323232;">
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">immich-server:
</span><span style="color:#323232;">container_name: immich_server
</span><span style="color:#323232;">image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
</span><span style="color:#323232;">command: [ "start.sh", "immich" ]
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">- ${UPLOAD_LOCATION}:/usr/src/app/upload
</span><span style="color:#323232;">- /etc/localtime:/etc/localtime:ro
</span><span style="color:#323232;">env_file:
</span><span style="color:#323232;">- .env
</span><span style="color:#323232;">ports:
</span><span style="color:#323232;">- 2283:3001
</span><span style="color:#323232;">depends_on:
</span><span style="color:#323232;">- redis
</span><span style="color:#323232;">- database
</span><span style="color:#323232;">restart: always
</span><span style="color:#323232;">
</span><span style="color:#323232;">immich-microservices:
</span><span style="color:#323232;">container_name: immich_microservices
</span><span style="color:#323232;">image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
</span><span style="color:#323232;"># extends:
</span><span style="color:#323232;">#   file: hwaccel.yml
</span><span style="color:#323232;">#   service: hwaccel
</span><span style="color:#323232;">command: [ "start.sh", "microservices" ]
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">- ${UPLOAD_LOCATION}:/usr/src/app/upload
</span><span style="color:#323232;">- /etc/localtime:/etc/localtime:ro
</span><span style="color:#323232;">env_file:
</span><span style="color:#323232;">- .env
</span><span style="color:#323232;">depends_on:
</span><span style="color:#323232;">- redis
</span><span style="color:#323232;">- database
</span><span style="color:#323232;">restart: always
</span><span style="color:#323232;">
</span><span style="color:#323232;">immich-machine-learning:
</span><span style="color:#323232;">container_name: immich_machine_learning
</span><span style="color:#323232;">image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">- model-cache:/cache
</span><span style="color:#323232;">env_file:
</span><span style="color:#323232;">- .env
</span><span style="color:#323232;">restart: always
</span><span style="color:#323232;">
</span><span style="color:#323232;">redis:
</span><span style="color:#323232;">container_name: immich_redis
</span><span style="color:#323232;">image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
</span><span style="color:#323232;">restart: always
</span><span style="color:#323232;">
</span><span style="color:#323232;">database:
</span><span style="color:#323232;">container_name: immich_postgres
</span><span style="color:#323232;">image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
</span><span style="color:#323232;">env_file:
</span><span style="color:#323232;">- .env
</span><span style="color:#323232;">environment:
</span><span style="color:#323232;">POSTGRES_PASSWORD: ${DB_PASSWORD}
</span><span style="color:#323232;">POSTGRES_USER: ${DB_USERNAME}
</span><span style="color:#323232;">POSTGRES_DB: ${DB_DATABASE_NAME}
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">- pgdata:/var/lib/postgresql/data
</span><span style="color:#323232;">restart: always
</span><span style="color:#323232;">
</span><span style="color:#323232;">volumes:
</span><span style="color:#323232;">pgdata:
</span><span style="color:#323232;">model-cache:
</span>

The easiest way i can think on how to make your docker-compose work is to reinstall docker and use the host network

I’ll try as soon as I can and post here the results, thanks for the time and help!

This seems a badly network configuration on you docker stack !

oops, I have lots to learn I guess XD

N0x0n,

Immich isn’t the easiest docker stack ! I will up it on my own server and give you some feedback.

Because their isn’t any network configuration in the compose it uses the default docker network. Thus… maybe… it overlaps with your own network, that’s what your first post was about :)

I will look into it and if nobody comes up with an anwser before me, will give you some feedback on how it went and try to find out what’s wrong !

tubbadu,

I “solved” giving up. I installed fedora after hours of pain, and now all works flawlessly

thank you very much for your help!!

N0x0n,

First find out what’s your debian network configuration if it’s a fresh install and everything is installed by default, you get your ip and network from DHCP


<span style="color:#323232;">> ip a
</span>

If your ethernet or wifi networks is in the inet 172.17.0.1/16 brd 172.17.255.255 range it overlaps with the default docker bridge network.

N0x0n, (edited )

So I got it up and running in 10 minutes just by copy/pasting the docker-compose.yaml and .env files. So their configuration files are working flawlessly.

Either you have a router misconfiguration or a docker network misconfiguration. Either way If I were you I would first start without duckdns.org domain name and without to much complex network configuration. Start slow and build up to more complex configurations.

  1. Leave your router defaults network configuration, without any open ports.
  2. See if your spare laptop server has internet access when everything is defaulted (if not that’s the first thing to solve)
    • Check if your networks configuration is in the inet 172.17.0.1/16 brd 172.17.255.255 range (dockers default bridge network)
    • Default routes on your laptop
    • DHCP or manual

The important part is to make your laptop have internet access without changing to much, the default DHCP works great !

  1. Fresh docker installation and don’t forget to delete your json file (/etc/docker/daemon.json)
  2. Try again with the docker-compose.yaml and .env from immich’s github

If your network configuration is wrong from the beginning, you are in for bad times specially if you are going to use duckdns ! Try to make it work on your local network first and than you can go crazy.

Also if you do not know what you are doing, please don’t make your containers accessible to the web ! Rather use a wireguard server to access all your containers from everywhere in the world with a secure tunnel !

If you’re a beginner, there is alot to grasp before having a good working laptop server :)

tubbadu,

after hours I tried to change distribution and went with fedora, set up everything, installed immich, not a single problem, it all works, also duckdns, and now I also have btrfs so I can snapshot my system. I’m probably very unlucky with debian based distributions, on my main laptop I had many problems with ubuntu as first distro, I had to distro hop a bit to find my place in EndeavourOS

thank you very very very very much for your time and help, I really appreciate this! now it’s time to actually start this journey in the magic world of self-hosting!

N0x0n,

Good to know ! Have fun self-hosting ! :D

abuttandahalf, in Nifty terminal command: xdg-open

xdg-open is one of the most used commands on my system. Video files, movies, pdfs, etc if I want to use the default application to open anything I use it. No need to memorize each application’ commands.

Dehydrated, in "Must Try" distros and DEs?

I recommend you try Gentoo and DWM. You don’t have to use this setup forever, but at least try setting it up. Installing Gentoo, patching DWM and st, etc. is fun and it’s an interesting experience. If you want to use Wayland, check out dwl and the foot terminal emulator. Perhaps you’re actually gonna like Gentoo and stick with it, I think it’s a great distro. They also provide binaries for larger programs, so you don’t have to compile stuff like Firefox. But definitely try out custom kernels.

muix, in (Constructively) What is your least favorite distro & why?

Anything Red Hat. Screw GPL corporatism.

drndramrndra,

No hate for canonical or suse, just redhat?

wigit, (edited )

Had to scroll way too far for this.

Gebruikersnaam, in Reddit API blew up and now I run Linux?
@Gebruikersnaam@lemmy.ml avatar

I already ran Linux when the API blew up but now I’m a girl…

cybersandwich,

Lmfao

ColdWater,
@ColdWater@lemmy.ca avatar

Linux gals are best gals

los_chill,

I tried Ubuntu in college and people told me it was a phase… joke’s on them.

merthyr1831,

queen behaviour

danielquinn, in (Constructively) What is your least favorite distro & why?
@danielquinn@lemmy.ca avatar

Ubuntu. They’ve managed the worst of both worlds: like Debian, everything is old (though admittedly not as old), but unlike Debian, everything is broken/buggy/flakey. It’s the old-and-busted distro that I’m routinely told is “the only Linux we support”.

AbidanYre,

Also, support is only provided for 18.04LTS.

astraeus,
@astraeus@programming.dev avatar

If Debian is not great as a desktop distro, it’s at the very least remarkably stable as a server distro. The sentiment extends somewhat to Ubuntu LTS. It could be better, but in terms of uptime and just working I can’t fault either distro.

TCB13, (edited )
@TCB13@lemmy.world avatar

Debian is a great desktop distro if you get your software using Flatpak, as anyone should be doing in every distro.

nik282000,
@nik282000@lemmy.ca avatar

Whats wrong with apt?

TCB13,
@TCB13@lemmy.world avatar

Nothing at all, the main issue is that with graphical applications developers have an hard time to package things for all the useless distros out there and some other distros like Debian on stable will only haver older versions of software. Flatpak solves both of this issues.

ursakhiin,

I just now discovered why people are hating on Ubuntu pro by receiving a note that Ubuntu will not provide security updates for some apps it came with unless you activate Pro.

I think I’m done with Ubuntu on any personal machines.

astraeus,
@astraeus@programming.dev avatar

Yeah I didn’t offer much input on personal devices because I did use Ubuntu for awhile as a personal environment and it’s fine, but could use work. I think personally I like Debian better, but if I want a clean GNOME experience Fedora is probably the move.

Pacmanlives,

Currently using Bookworm and KDE as my desktop right now. Works really well! If I need more up to date software I use Distrobox and run whatever distro’s version of software I want. I have both Debian Sid and Arch Firefox versions installed on my machine right now just to see if it worked and it’s flawless. I mostly just run apps from SID container and it exposed the app to my desktop wonderfully. Really the only way I will fly these days.

drndramrndra,

Don’t forget that Ubuntu was the first distro to both sell user data to Amazon, and show you ads in the terminal. But it seems like everyone forgets about it as soon as canonical goes “whoops, our bad, we didn’t think you’d mind, it’s opt in/out now”.

On top of that I’ve seen allegations that they’re illegally collecting data from Azure Ubuntu users to send them spam about Ubuntu enterprise.

umbrella, (edited )
@umbrella@lemmy.ml avatar

I don’t have many issues on Ubuntu like you imply. It’s the reason why I stick with it despite snaps.

dingus, (edited )

I was an Ubuntu fan many moons ago. Then I fell in love with Mint when it was just all around a better version of Ubuntu.

Then I ended up with a new Windows laptop for years and forgot about Linux entirely. But this year, I’ve actually returned to Ubuntu. I like how it has a fresh and different look and it still performs well on my now aging laptop. Mint is always my go to recommendation to others, but I just wanted a different look than your standard Windows-like look that Cinnamon has. I was initially turned off way back when, when Ubuntu switched to Unity, but now a difference in look appeals to me. We’ll see if I get annoyed with Snaps or not. So far, everything has been running smoothly.

If there was a GNOME fork of Mint, I’d likely be using that. I get that you can technically install whatever desktop environment in whatever distro you want, but for compatibility sake, it’s best to roll with what your distro comes with.

BlanK0, in "Must Try" distros and DEs?

If you are an advanced linux user then I would suggest giving a try to the following distros: arch, void, gentoo and (like you said in the post) nixOS.

The reason behind is that this distros are focused on the tinkering aspect of linux, the experience of setting up everything the way you want.

If you want to give a shot to WMs I would suggest i3, sway, dwm, dwl, river, bspwm, Qtile and hyperland (maybe focus more on the Wayland ones if you want to try the latest software).

kzhe, in (Constructively) What is your least favorite distro & why?

VanillaOS looked really promising but it was terribly buggy when I used it.

Dehydrated, in Nifty terminal command: xdg-open

I’d create an alias: alias open=xdg-open

It’s easier to type in that way

perishthethought,

I totally did, yes:

alias xo=‘xdg-open $1 &>/dev/null’

… since it always has some odd output when I run it here on my pc.

Dehydrated,

That’s actually a great idea, thanks for the suggestion

RalphWolf, in (Constructively) What is your least favorite distro & why?

I’m going to say Gentoo Linux. It’s a good learning tool and I suppose maybe a tiny bit faster if you actually custom-compile everything for your hardware from source, but that’s a crazy waste of time.

Cwilliams,

Agree. The tradeoff of building everything from source just doesn’t pay off

makeasnek, (edited ) in "Must Try" distros and DEs?
@makeasnek@lemmy.ml avatar

Every linux enthusiast should try Qubes at least once. The architecture is totally different, vastly more secure in many ways than most Linux distros. It’s definitely not for everybody, but if privacy and security rank high on your priority list it’s worth a look. It never ends up in Linux top ten lists for some reason, but it’s an incredible OS.

Yerbouti, (edited ) in Reddit API blew up and now I run Linux?

Same. I didn’t know what a distribution was 8 months ago, now most of my feeds are Linux distro tier list video.

Spectacle8011, in (Constructively) What is your least favorite distro & why?
@Spectacle8011@lemmy.comfysnug.space avatar

I don’t really have a least favorite distribution. I mean, I guess between Fedora, Ubuntu, Debian, Mint, openSUSE, Manjaro, and Gentoo, the least appealing choices to me are Manjaro and Gentoo. Manjaro is just Arch but worse, because the packages are old and likely to cause incompatibilities with AUR packages that need really up-to-date system packages, and I…don’t trust the maintainers to have configured everything better than I could have myself. Just based on history.

Debian has ancient packages. That’s the only reason. I’d just end up using Flatpak packages or compiling from source.

Any other distribution I could use, including Gentoo, but Arch is the sweet spot for me.

TCB13, (edited ) in (Constructively) What is your least favorite distro & why?
@TCB13@lemmy.world avatar

Ubuntu because they’ve the ability to great things and end up just delivering a buggy and mangled version of Debian with proprietary crap, spyware, snaps wtv. After all we’re talking about the distro that had ISOs on their download page with a broken installer multiple times.

joojmachine, (edited )

I don’t hate them, but this hits hard. They are THE most influential distro for people outside of the community. They have by far the biggest user base and community, but instead of using this to collaborate with other distributions and specially with the freedesktop folks for the improvement of the commons, they have this culture of downstream work that rarely get the effort needed to be upstreamed. It’s usually “it’s good enough for us, so that’s where we’ll leave it”, and they end up with these weird solutions that only they use.

TCB13,
@TCB13@lemmy.world avatar

It’s usually “it’s good enough for us, so that’s where we’ll leave it”, and they end up with these weird solutions that only they use.

Exactly. And to make things even worse then you’ve people upstream (Debian) or sidestream (other distros) that eventually decide to implement whatever they did but properly and then they go there, pick it and replace their original implementation.

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