selfhosted

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

Lem453, (edited ) in This Week in Self-Hosted (29 December 2023)

github.com/photown/private-pdf

Self hosted PDF editor sounds great!

I wish it had thr ability to add or remove a password from a document. Other than that it looks perfect.

AnExerciseInFalling,

The PDF multitool I’ve been using is Stirling-pdf, which has support for adding/removing passwords

Funny enough, I also learned about this tool from a previous edition of this newsletter haha

Lem453,

Wow, this looks great!

Any idea if a self hosted all like this can be set as the default PDF viewer for a browser. Firefox and Chrome both have built in pdf viewer when clicking on a pdf, having it open in this instead would be amazing.

AnExerciseInFalling,

I have no idea, but that would be pretty cool

Dyskolos, in Migrated my self-hosted Nextcloud to AIO and I absolutely love it

Didn’t knew it exists. That might make me give nextcloud another chance. Thanks man.

robber,

Welcome. I use it in conjunction with Fedora CoreOS so I hopefully never have to manually update anything ever again.

twack, (edited )

I was about to ask why this is better than the docker installation, but I see step one is to install docker haha.

I’ve been running the docker container for a long time, it works very well. It is a bit more complicated if you try and use extensions that require seperatw containers (like setting up collabora), but that can be done as well. It’s just more complicated.

I do remember needing to know how to access the internal terminal a few times, but I don’t remember why. If I think of it I’ll come back and add instructions.

Edit: It’s to be able to run occ commands:

Sudo docker exec -u www-data nextcloud-app php occ “Command goes here”

Sudo docker exec -u www-data nextcloud-app php occ files:scan --all

robber, (edited )

With AIO it’s almost the same: sudo docker exec -u www-data nextcloud-aio-nextcloud php occ <command>

ikidd,
@ikidd@lemmy.world avatar

As a former self-configured docker compose NC user, I have to say I’m way happier with the AIO. But still, the older docker method was head and shoulders over any other method of running NC that I’d used.

TCB13, in Is this Seagate Exos drive too good to be true?
@TCB13@lemmy.world avatar

It depends. They’re simply the most annoying drives out there because Seagate on their wisdom decided to remove half of the SMART data from reports and they won’t let you change the power settings like other drives. Those drives will never spin down, they’ll even report to the system they’re spun down while in fact they’ll be still running at a lower speed. They also make a LOT of noise.

hperrin,

Aren’t they meant to go in data centers? You wouldn’t want a drive in a data center to spin down. That introduces latency in getting the data off of them.

TCB13,
@TCB13@lemmy.world avatar

That should be a choice of the OS / controller card not of the drive itself. Also what datacenter wants to run drives that don’t report half of the SMART data just because they felt like it?

lemmyvore,

Data centers replace drives when they fail and that’s about it. They don’t care much about SMART data.

fruitycoder,

We used to use smart data to predict when to order new drives and on really bad looking days increase our redundancy. Nothing like getting a bad series of drives for PB of data to make you paranoid I guess.

lemmyvore,

What kind of attributes did you find relevant? I imagine the 19x codes…

I’ve read the Blackblaze statistics and I’m using a tool (Scrutiny) that takes those stats into account for computing failure probability, but at the end of the day the most reliable tell is when a drive gets kicked out of an array (and/or can’t pass the long smart test anymore).

Meanwhile, I have drives with “lesser” attributes sitting on warning values (like command timeout) and ofc I monitor them and have good drives on standby, but they still seem to chug along fine for now.

ScreaminOctopus,

I got a set off ebay, Jesus christ they’re loud. I ended up returning them cause I could hear the grinding through my whole house

Lem453,

I have 3 14tb exos drives. I have them in a Roswell 4u hotseap chassis. Running unraid.

It’s nearly inaudible over the very reasonable case fans. No grinding noises. I can hear the heads moving a bit but it’s quite subtle. Not sure why people have such different experiences with these

TCB13,
@TCB13@lemmy.world avatar

I’m questioning your auditory acuity :P

czardestructo,
@czardestructo@lemmy.world avatar

I noticed when they first spin up on boot they do some sub routine and they’re pretty loud and chatty. First time I heard it I was spooked but it worked fine and I just use it for backup so I just moved on. Once it’s on and in normal operation it’s like any other disk I’ve used over the decades. Nothing as loud as an old scsci disk or a quantum fireball.

TCB13,
@TCB13@lemmy.world avatar

Ahaha that’s about what they do.

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

I have an Exos x16 and x18 drive and they both spin down fine in Debian using hdparm. I use them for cold storage and they’re perfectly adequate.

TCB13,
@TCB13@lemmy.world avatar

Care you share your hdparm config then?

czardestructo,
@czardestructo@lemmy.world avatar

It’s really boring, Debian 12: /dev/disk/by-uuid/8f041da5-6f7a-4ff5-befa-2d3cc61a382c { spindown_time = 241 write_cache = off }

TCB13,
@TCB13@lemmy.world avatar

Tried that and doesn’t seem to work. :(

Relevant documentation for others about -S / spindown_time:

Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 seconds to 20 minutes. Values from 241 to 251 specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value of 252 signifies a timeout of 21 minutes.

stown, (edited ) in Help needed setting up NGINX reverse Proxy / HA / Vaultwarden using Duckdns
@stown@sedd.it avatar

Are you absolutely sure that NPM has an IP from the subnet 172.22.0.0/24? Is there any way you can remove the trusted_proxies setting from homeassistant and then check if it will accept the connection from NPM?

stown,
@stown@sedd.it avatar

I did some reading and found that the trusted_proxies setting is required. Can you try setting it to 0.0.0.0/0?

Lobotomie, (edited )

I have set it but it wont change anything. You can access the docker inspect here pastebin.com/t1T98RCwI can imagine that this problem is before homeassistant as even if I ignore the certificate error , it will not forward me to homeassistant but to my router / a warning page from my router saying it has blocked me.

If I test the server reachability inside nginx manager it will ask me if npm is configured correctly, so you might be onto something with NPM configuration …

I have now set up duckdns over docker instead of over my router, but it hasnt helped anything. My Duckdns IP is the same (and its correct, if I just open this IPV4 Address it will redirect to my nginx landing page).

Okay I think here is the error. AFter doing the Test Server Reachability the following will come up in the nginx-db logs: 2023-12-29 21:06:25 3 [Warning] Aborted connection 3 to db: ‘npm’ user: ‘npm’ host: ‘172.22.0.8’ (Got an error reading communication packets)

Now I have no clue why this is ( I think this is the end for today as my head is about to explode). Docker inspect nginx reveals that this request for sure came from nginx (as it has the .0.8 ip).

Samsy, in Stalwart v0.5.0

I tried to set this up beside my existing mailcow server. Mailcow runs smooth and has a web interface. And I am not on my way to ditch it just for jmap.

Idk, what’s happening earlier:

1.dovecot integrates jmap (I would stay with mailcow) 2. More clients support jmap (eventually switch to stalwart) 3. Stalwart get an webinterface (eventually switch to stalwart)

Parachute4196,

According to this message, a web interface is worked on: discord.com/channels/…/1141059612548796448

Samsy,

Yes, I know, but since it’s open source, I don’t ask for release dates. :-)

Codilingus, in Suggestions for Short Rack Mount Case

Chenbro makes quite a few ATX shallow rack mount cases. I have one and have no complaints.

Lettuceeatlettuce,
@Lettuceeatlettuce@lemmy.ml avatar

I’ll check them, Ty!

Dark_Arc, in Suggestions for Short Rack Mount Case
@Dark_Arc@social.packetloss.gg avatar

www.amazon.com/gp/aw/d/B09227RQV2?psc=1&amp;ref=p…

This is my favorite rack mount chassis I’ve worked with … and it coincidentally is in that ballpark.

Lettuceeatlettuce,
@Lettuceeatlettuce@lemmy.ml avatar

Interesting design, I’ll look at it, thanks!

grue, (edited ) in Suggestions for Short Rack Mount Case

I’ve looked all over the Internet for <16" short-depth cases multiple times over the years, and I’ve learned the most important question is this: what do you want to put in it?

I’ll tell you right now that some of the things I’ve wanted, like…

  • A 2U with hot-swap caddies all the way across the front (like this or this, but <16" deep at the cost of fitting only an ITX motherboard), or
  • A 4- or 5U chassis that can fit an EATX / SSI EEB (12"x13") motherboard and an ATX PSU at the same time, or
  • A chassis of any size that has both the motherboard/PCI I/O and the drive bays on the front (front drive bays are normal and you can get front access I/O, but not both at the same time)

…simply do not exist, as far as I can tell. I’m pretty sure all of these things are geometrically possible (I did the math), but apparently I’m the only one who wants such weird stuff.

You can get a basic-bitch whatever-U case that supports a mATX motherboard and hard-mounting a couple of internal drives, with sharp metal edges, a shitty plastic door, and a price double (or more) what similarly low quality would cost in a desktop form-factor all day long, though.

Lettuceeatlettuce,
@Lettuceeatlettuce@lemmy.ml avatar

Yeah, seems like there isn’t a big group of folks that are looking for this kind of solution.

I’ve thought about designing a case to my specs that could be 3D printed or maybe be built with some very basic steel sheet, but that’s more DIY than I have time for right now.

InformalTrifle, in Suggestions for Short Rack Mount Case

I’ve not used them yet but was looking at www.plinkusa.net

They have a variety of heights and depths, some of them being 15”

Lettuceeatlettuce,
@Lettuceeatlettuce@lemmy.ml avatar

Great resource, I’ll check them out.

willya, in No posts when surfing through my i stance
@willya@lemmyf.uk avatar

Supposedly there’s still issues federating even on the latest. I’ve been restarting mine every 8 hours or so just in case.

Valmond,

Thanks, I’ll restart and see how it works out.

BlueEther, in No posts when surfing through my i stance
@BlueEther@no.lastname.nz avatar

Most of yhe subscribed communities seem to be working on your instance. When did you subscribe to permacomputing@lemmy.sdf.org? was it after the upgrade to 0.19.x?

Valmond,

Good question! I think it was after.

key, in No posts when surfing through my i stance
@key@lemmy.keychat.org avatar

19 has federation bugs. Mainly outgoing but I’ve also seen incoming federation gradually fail. Restart the docker container routinely (cron job) until fixes come out.

Valmond, (edited )

Ouch, thank you 🥲!

How often do you restart it/whats it doing/any idea what’s no longer working or why?

Good luck to the developers!

And thank you obviously!

rambos, in Migrated my self-hosted Nextcloud to AIO and I absolutely love it

One of the first services on my server was nextcloud in docker container from lsio. Never had problems so there was no need to try AIO, but so many people recommend that, it will be my next setup if this one fails me

robber,

I decided to go with this one because it’s now the official distribution channel and supported by the devs. But the lsio one looks pretty solid as well.

Haha, in Migrated my self-hosted Nextcloud to AIO and I absolutely love it

Whats this used for?

robber,

Nextcloud is a web-based, open-source cloud / collaboration software suite, which can be self-hosted

wolfshadowheart, in Update: Everyone said GameVault's UI was garbage, so we completely overhauled it.

Nice, looking good! Are there ways to customize it to a users liking? You could get a pretty good theme store going I bet!

alfagun74,

There probably will some themes for supporters in the future.

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