Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HA
Posts
6
Comments
208
Joined
2 yr. ago
  • I’m glad yours is stable! I don’t know why, but mine, if you’d cut a loud fart near the server Nextcloud would just shit the bed on me. God forbid I try to update Nextcloud.

    Like you I had most plugins disabled, and I was the only user. I first ran Nextcloud using NextcloudPi on an rpi4, and that ran solid for like four years. However, when I repurposed that pi and moved Nextcloud to my server in Docker, it just would not reliably run for me no matter what I did. At that point I also wasn’t really using Nextcloud anymore so I just abandoned it as not worth the effort.

  • What exactly did you install? Depending on the OS and its software center, you could have installed the Jellyfin client or the Jellyfin server.

    I don’t know what you know, so forgive me if this is overly simplistic.

    Regardless of which you installed, one is useless without the other. Getting Jellyfin set up starts with the server which can be installed and setup a number of different ways.

    If your goal is to set up a media server so you can watch your media on different devices and platforms, then Jellyfin is a good option for this.

    If your goal is to watch media on the pc you bought, and you don’t care about watching it on other platforms or devices, then you’d be better off with something like VLC which you can use to watch/listen to media files on that computer.

    If the goal is a media server the next question is, do you plan on using the pc as a server for more than just Jellyfin? If the answer is no, you just want Jellyfin, then installing the server from software center, flathub, or whatever cli package manager your distribution uses will be fine and setup should be relatively simple.

    If you plan to use the pc as a server for a number of different pieces of software, getting familiar with Docker and containerization is a good idea, in which case I’d point back to the video I linked in my previous comment.

    If you want more details on any of this I’m happy to elaborate. I’m no expert, but I’m happy to share what I’ve learned, and the resources I’ve used to learn.

  • What are the details of your current setup? What’s the host operating system, is Jellyfin installed as an app, as a docker container?

    FWIW, The Awesome Open Source YouTube channel helped me a ton, including getting my own Jellyfin server up and running. His updated Jellyfin video is here.

  • Exactly. I generally like typing out my commands because I’m learning and it helps me remember what I’m doing and what the commands mean/how they work. And if it’s a particularly long one I’ll make an alias for it.

  • Edit: tl;dr is that Grav worked out of the box.

    Bear in mind that I just started messing around with Grav, so I’m no expert. With that being said, I tried 11ty and Hugo (spent 2-3 weeks messing around testing them).

    What I was looking for was a static site generator that let me easily use a simple/clean theme, and would generate the webpages from markdown files.

    What prompted me to look for this was my Wordpress site breaking. I’m currently self hosting wordpress via docker. While retooling my server (install updated server os, import raid, relaunch containers), my Wordpress container broke. It was still serving my website, but I couldn’t do anything on the backend because of a database permission error. I had just spent a day fighting with and fixing database permissions on another container, and I decided I wanted to look into these ssgs and see if it would simplify dealing with my website.

    11ty seemed really promising until I tried to theme it with a starter pack. What was confusing to me at first was that 11ty doesn’t theme like you think of theming something like Wordpress. You don’t set up/intstall 11ty, and then download/install a theme. Instead, you use a starter pack, which is a theme that includes an implementation of 11ty. (You can write your own theme with a barebones 11ty setup, but I’m not a web dev and don’t want to be.) I must have tried 15 different 11ty starter packs, and not a single one of them worked and/or was maintained, and these were the ones linked/provided on the 11ty website.

    Had I found a pack/theme that worked (and met my criteria of being a simple/clean theme), I’d have been very happy with 11ty. The core of 11ty worked great for me (take a .md file and make it html), but the starter pack situation IMO is a disaster to anyone who isn’t a competent web dev.

    Hugo was much simpler when it comes to theming, just git clone a repository (which, I get is not ideal for everyone, but also, isn’t all that different from downloading a theme zip file for something like wordpress). Hugo seemed promising to me, but despite the relative ease of cloning a repo for a theme, I couldn’t get Hugo to generate a single page of content. I read the docs, watched tutorials, got frustrated, kept getting errors, and noped out.

    Grav when I tried it was exactly what I was looking for. Out of the box it has a nice simple theme. I can drop a markdown file into a folder and it automatically generates it. That part is even better than Hugo, 11ty and other ssgs. You don’t have to run a command to generate or edit an html file from a markdown file. It watches the content folder and when it finds new/changed .md files it auto generates them.

    I also really liked that Grav easily did what these other ssgs claim is easy to do (but in my experience failed to deliver on), and provided some additional complexity for making management a little easier via the web ui.

    Overall I like Grav, but I’m not actually using it. I ended up fixing the database permissions on my wordpress container. I’m going to keep Grav around in case I decide to migrate, or if I ever decide to launch another site/project.

  • I’d recommend better cable management. If you’re gonna use the outlet on the wall by your bed, I’d recommend some kind of power strip with a longer cord so you can run the strip behind your desk rather than having all those plugs and cords jutting out of the wall right by your bed.

    Even better would be a power strip and extension cord combo to utilize the outlet on the wall opposite of your bed. Run the cord around the room along the baseboard to get the power strip behind the desk, and to keep the cord in place along the baseboard, you can secure it with some gaffer’s tape.

    Same with that phone or Ethernet cable you’ve got a huge tangle in that runs across the walking space of your floor. It’s a tripping hazard and a bit of an eyesore. Running that around the room along the baseboard, with the excess gathered and secured behind your desk will make a huge difference. You can also secure that with some gaffers tape to keep it neat and in place if you choose to run it this way.

    Finally, I know it may not be affordable depending on your situation, but a bed frame would do a lot too. If you can’t afford it, I’d suggest keeping an eye out at Goodwill and/or whatever thrift/resale shops you have access to as you can often find bed frames and other furniture at really good prices.

  • I was finding the same with ssgs, until I ran into Grav. You might like it. It’s got a web ui kind of like Wordpress, and you can write right from the web ui, but you can also just write markdown files and dump them into a directory to generate posts/pages.

  • Linux @lemmy.ml
    harsh3466 @lemmy.world

    My Week Learning Linux (03)

    Another fun week of tinkering! Here’s what I learned:

    How to implement a for loop in bash scripts using seq.

    I’ve been working on a script to create folders for my tv show library to play nice with my Jellyfin server. What I wanted was for the script to:

    • prompt me for the show’s name
    • query The Movie Database: Shows api for the show
    • present me a numbered list of the show results formatted as index showname year tmdb-id
    • prompt me to choose the correct result from the list
    • create a directory formatted as Show.Name.(YYYY).[tmdbid-xxxxx]

    Since the number of results will vary from query to query, I couldn’t use a preset range like {0..5} for my for loop. I tried without success to have the loop iterate through the JSON response, but I was unable to figure out how to do that.

    So, while likely inelegant, What I did was:

    • take the JSON response and pipe it to jq, get the number of results
    • Since jq indexes start with 0, take the number of results and subt
    Linux @lemmy.ml
    harsh3466 @lemmy.world

    This Week in Learning Linux

    I didn’t get to spend as much time tinkering and learning this week, but I still learned some new things!

    1. Wireguard is great! I had been using OpenVPN because when I initially set up my machine, my VPN had a bug with Wireguard. I was setting up a raspberry pi today for some more tinkering, and I decided to try Wireguard to see if the bug was fixed. Not only is it fixed, but Wireguard is much easier to work with. Not hating on OpenVPN, but I’ll definitely be preferring Wireguard going forward.
    2. Proper use of find, particularly with regex. This is ongoing. I’ve been using find for awhile, but not with full understanding of it’s options and syntax. I’m starting to get a better understanding of how to use it to find and manipulate the files I’m looking for. One of the biggest things that’s tripping me up with find and regex is designating the path.
    3. How to set up a new user. This was interesting. I already knew the basics, adduser -m username, `sudo passwd usernam
    Linux @lemmy.ml
    harsh3466 @lemmy.world

    What I've Learned This Week

    I’ve been homelabbing for a few years now, and recently I’ve really been focusing in on learning how to use gnu/linux. I thought it might be fun to periodically share the things I’ve been learning. The stand outs for me this past week were:

    1. Use the full path when referencing files and directories in bash scripts (Edit: when it makes sense, which is something I’m also still learning. This mkaes sense when the files will always be located in the same place.)
    2. In a bash script, the variable ${file##*/} will get you the name of the file your script is handling (example, when looping over files in a directory. I believe that’s a shell/bash standard variable, but I need to learn where it came from and how it works)
    3. Ubuntu gets a ton of justifiable criticism, but I find Canonical’s Multipass to be a great tool for spinning up Linux virtual machines. Especially on Apple silicon macs.
    4. Piping the output of ls to grep as a variable in a path is a g
    Linux @lemmy.ml
    harsh3466 @lemmy.world

    I'm an idiot (arm)

    EDIT: Putting this at the top because not everyone is seeing what I actually need. I can unpack the rar archive just fine. What I can’t do (on arm) is add to/update the files in the rar archive. I have unrar already installed. What I can’t install is the rar package to create/update rar archives.

    So I’ve been banging my head against the wall for about half an hour trying to install the rar package from the multiverse repository on an Ubuntu 23.10 vm I have running on my m1 mac mini. I finally ended up on https://pkgs.org and searched up rar to see if I could download it directly instead of using apt.

    And it was there I realized there’s no arm version of rar.

    Side note, any recommendations for an arm utility that handles rar files? I already have unrar-free installed, but what I need is something to update/add files to existing rar files.

    Worst case scenario I unrar them and then repackage them with tar or zip, but if I can just work with the rar archive, I’d prefer that.

    Edit: I

    Linux @lemmy.ml
    harsh3466 @lemmy.world

    My First Regular Expressions

    I've been reading Mastering Regular Expressions by Jeffrey E.F. Friedl, and since nobody in my life (aside from my wife) cares, I thought I’d share something I'm pretty proud of. My first set of regular expressions, that I wrote myself to manipulate the text I'm working with.

    What’s I’m so happy about is that I wrote these expressions. I understand exactly what they do and the purpose of each character in each expression.

    I've used regex in the past. Stuff cobbled together from stack overflow, but I never really understood how they worked or what the expressions meant, just that they did what I needed them to do at the time.

    I'm only about 10% of the way through the book, but already I understand so much more than I ever did about regex (I also recognize I have a lot to learn).

    I wrote the expressions to be used with egrep and sed to generate and clean up a list of filenames pulled out of tarballs. (movies I've ripped from my DVD collection and tarballed to archive them).

    T

    Photography @lemmy.world
    harsh3466 @lemmy.world

    Blue Alien Pinup

    Hello c/Photography! I'm a reddit refugee like many others, and, after a couple of years of not shooting at all (depression is great eh?), I got back into the studio with my friend/model @[email protected] (pleroma instance). We wanted to do something fun and relatively simple to sort of get my creative engine going again. We had a blast shooting, chatting, jamming to some tunes, and got some great photos too.

    For those of you interested in the technical details:

    Equipment used:

    Olympus OM-D EM-5 Mk II with the M.Zuiko 12-40mm f2.8 lens at 14mm. 3 x Godox AD 200 lights with the bulb heads. Two umbrellas, one gridded 24" softbox White vinyl backdrop

    Exposure settings: ISO 200, f7.1, 1/250

    Lights

    Two lights with umbrellas in a cross patters to light the backdrop for the seamless white look. Set to 1/2 power One light in the gridded softbox above and at camera right at 1/4 power.