• 4 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle


  • I think the issue might be that the config changes haven’t been properly committed. Docker container won’t just update based on docker compose config.

    docker container stop
    docker container rm
    

    You might want to delete and reset any settings which have been set

    docker volume ls
    docker volume rm (IDs from docker volume ls)
    

    (This will also wipe out any backups/accounts made on immich already tho)

    But once you have deleted the old containers, running docker compose up -d will start the containers with the new config. You can use docker compose logs -f to see the server logs and check if everything is working.


  • Okay wow. I looked into your repo and its a really interesting implementation of a DSL. I think I get what the code is trying to do? You run shimky through bash and it turns into python code? meta programming stuff! I think its a regular language? its hard to tell.

    So I’ve actually been studying DSLs for a few months and I can recommend some ways for you to improve this code if you want.







  • You are running fedora which is using the dnf package manager. The commands you mentioned (apt/ppa) are part of the apt (aptitude) package manager which is comes with Ubuntu.

    Apt is the command to install/manage packages on Ubuntu (and other distros that use apt). A ppa is a special way to tell apt where it can download packages from. It lets you a install 3rd party packages not provided by your distros default selection. It is specific to apt and will not work for dnf.

    This isn’t the end of the world and you can still install the package. Because these packages are open source, you can build the package from source. The instructions for which can be found on the github readme. Hopefully this cleared some things up!

    [Edit] done some poking around, and I managed to get it running on fedora. I had weird issues building it from scratch, so I did it in a janky way by downloading and extracting the deb (it had precompiled bin inside). Looks to be working tho I couldn’t test it because no qemu




  • What’s up with the ux design of nix? I get it’s made for advanced users but still. I’m reading through this guide and man it’s convoluted.

    The different ways of installing packages. Either through editing the configuration.nix or running a command. The weird inconsistency of nix commands. nix-env -iA to install and nix-env --uninstall to uninstall. Then updating uses nix-channel --update but upgrade uses nixos-rebuild switch --upgrade. All this to use the package manager. Also haven’t even mentioned flakes or home manager.

    It’s a cool OS, but the UX really needs work imo.

    [Edit] I do wanna add something else too because I feel like my point isn’t getting across.

    It’s okay to have a complicated ui. Especially if your target audience are tech-savvy. But even tech-savvy people have to start as new users. A tech-savvy new user isn’t going to know what the best practices are. Being able to anticipate the steps for installing a package is important for ux. If the commands for installing packages isn’t cohesive/intuitive, then the user has to spend more time looking for guides and learning how to use the software.

    People also mentioned a new command in the works. This is great! However, these current commands are being recommended through blogs and nix. New users won’t know about this new command.



  • Not sure why people are downvoting this person. They aren’t wrong that Linux enthusiast threads can make it scary for new users to try Linux out. Unfortunately, I did want to see what Linux enthusiasts are running and why they picked it, which is why I made this thread.

    If you are a new user trying to get into Linux, I wouldn’t recommend some suggestions in this thread as advice for picking a distro. When I was getting into Linux, I attempted to go straight into DWM/arch because another Linux enthusiast thread said it was great. Needless to say, I had a terrible time.

    It doesn’t actually matter distro what you pick, so long as you have fun with it and it is useable! :)









  • blotz@lemmy.worldtoLinux@lemmy.mlHow can I find the reason my PC crashes?
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Check your storage connection! If storage disconnects, your OS will freeze and stop responding to the keyboard. Also, the os won’t be able to write any logs because the storage isn’t attached. Even power off won’t work because the os can’t read any files. This feels very similar to your problem.

    For me, my motherboard had a faulty drive controller which would randomly stop working and drives would no longer appear connected.

    I’m not sure whether you have the same issue as me but it has the same characteristics as mine. Hope this helps!