29
submitted 2 hours ago* (last edited 2 hours ago) by Lem453@lemmy.ca to c/selfhosted@lemmy.world

The topic of self-hosted cloud software comes up often but I haven't seen anyone mention owncloud infinite scale (the rewrite in Go).

I started my cloud experience with owncloud years ago. Then there was a schism and almost all the active devs left for the nextcloud fork.

I used nextcloud from it's inception until last year but like many others it always felt brittle (easy to break something) and half baked (features always seemed to be at 75% of what you want).

As a result I decided to go with Seafile and stick to the Unix philosophy. Get an app that does one thing very well rather than a mega app that tries to do everything.

Seafile does this very well. Super fast, works with single sign on etc. No bloat etc.

Then just the other day I discovered that owncloud has a full rewrite. No php, no Apache etc. Check the github, multiple active devs with lots of activity over the last year etc. The project seems stronger than ever and aims to fix the primary issues of nextcloud/owncloud PHP. Also designed for cloud deployment so works well with docker, should be easy to configure via docker variables instead of config files mapped into the container etc.

Anyways, the point of this thread is:

  1. If you never heard of it like me then check it out
  2. If you have used it please post your experiences compared to NextCloud, Seafile etc.
[-] Lem453@lemmy.ca 2 points 2 days ago

Kde has a disable sleep button in the power/battery icon menu which I use as a work around, still annoying and yet another quality of life issue that Just Works (tm) on other platforms

[-] Lem453@lemmy.ca 5 points 3 days ago* (last edited 3 days ago)

https://getaurora.dev/

Has been working for me. The issues I've encountered so far are all minor flatpak issues (Firefox not allowed to sleep-lock so the laptop screen shuts off watching videos etc)

[-] Lem453@lemmy.ca 4 points 3 days ago* (last edited 3 days ago)

When I was starting out I almost went down the same pathway. In the end, docker secrets are mainly useful when the same key needs to be distributed around multiple nodes.

Storing the keys locally in an env file that is only accessible to the docker user is close enough to the same thing for home use and greatly simplifies your setup.

I would suggest using a folder for each stack that contains 1 docker compose file and one env file. The env file contains passwords, the rest of the env variables are defined in the docker compose itself. Exclude the env files from your git repo (if you use this for version control) so you never check in a secret to your git repo (in practice I have one folder for compose files that is on git and my env files are stored in a different folder not in git).

I do this all via portainer, it will setup the above folder structure for you. Each stack is a compose file that portainer pulls from my self hosted gitea (on another machine). Portainer creates an env file itself when you add the env variables from the gui.

If someone gets access to your system and is able to access the env file, they already have high level access and your system is compromised regardless of if you have the secrets encrypted via swarm or not.

[-] Lem453@lemmy.ca 10 points 4 days ago

True, but the downside of cloudflare is that they are a reverse proxy and can see all your https traffic unencrypted.

[-] Lem453@lemmy.ca 4 points 5 days ago

I like finamp as my android music client for jellyfin

[-] Lem453@lemmy.ca 94 points 3 weeks ago* (last edited 3 weeks ago)

This right here. I tried to join Mastodon today.

Download the most recommended app, Moshidon

Open app and get asked which instance i want to join. There are no suggestions.

Do a search for instances and pick one, go to the website and register with email and password. Requires email confirmation. Still waiting on the email confirmation link, 4 hrs later and 2 resends.

Literally haven't been able to sign up yet.

Even if it had worked, the workflow would have been to change back to the app, type out the instance then re-login.

I'm not sure how anyone expects anyone other than the most hardcore to sign up for these services. Maybe that's the point but if the point is to grow the user sign up process to significant overall

[-] Lem453@lemmy.ca 27 points 3 weeks ago* (last edited 3 weeks ago)

Mastodon being 65% was a surprise to me for sure. What's the best mastodon app?

Also how do I use it efficiently for tech related news and info? I never got into twitter.

Edit: I should probably specify for Android

[-] Lem453@lemmy.ca 34 points 3 weeks ago* (last edited 3 weeks ago)

Self hosted AI seems like an intriguing option for those capable of running it. Naturally this will always be more complex than paying someone else to host it for you but it seems like that's that only way if you care about privacy

https://github.com/mudler/LocalAI

49
submitted 1 month ago* (last edited 1 month ago) by Lem453@lemmy.ca to c/selfhosted@lemmy.world

Technically this isn't actually a seafile issue, however the upload client really should have the ability to run checksums to compare the original file to the file that is being synced to the server (or other device).

I run docker in a VM that is hosted by proxmox. Proxmox manages a ZFS array which contains the primary storage that the VM uses. Instead of making the VM disk 1TB+, the VM disk is relatively small since its only the OS (64GB) and the docker containers mount a folder on the ZFS array itself which is several TBs.

This has all been going really well with no issues, until yesterday when I tried to access some old photos and the photos would only load half way. The top part would be there but the bottom half would be grey/missing.

This seemed to be randomly present on numerous photos, however some were normal and others had missing sections. Digging deeper, some files were also corrupt and would not open at all (PDFs, etc).

Badness alert....

All my backups come from the server. If the server data has been corrupt for a long time, then all the backups would be corrupt as well. All the files on the seafile server originally were synced from my desktop so when I open the file locally on the desktop it all works fine, only when I try to open the file on seafile does it fail. Also not all the files were failing only some. Some old, some new. Even the file sizes didn't seem to consistently predict if it would work on not.

Its now at the point where I can take a photo from my desktop, drag it into a seafile library via the browser and it shows successful upload, but then trying to preview the file won't work and downloading that very same file back again shows the file size about 44kb regardless of the original file size.

Google/DDG...can't find anyone that has the same issue...very bad

Finally I notice an error in mariadb: "memory pressure can't write to disk" (paraphrased).

Ok, that's odd. The ram was fine which is what I assumed it was. HD space can't be the issue since the ZFS array is only 25% full and both mariadb and seafile only have volumes that are on the zfs array. There are no other volumes...or is there???

Finally in portainer I'm checking out the volumes that exist, seafile only has the two as expected, data and database. Then I see hundreds of unused volumes.

Quick google reveals docker volume purge which deletes many GBs worth of volumes that were old and unused.

By this point, I've already created and recreated the seafile docker containers a hundred times with test data and simplified the docker compose as much as possible etc, but it started working right away. Mariadb starts working, I can now copy a file from the web interface or the client and it will work correctly.

Now I go through the process of setting up my original docker compose with all the extras that I had setup, remake my user account (luckily its just me right now), setup the sync client and then start copying the data from my desktop to my server.

I've got to say, this was scary as shit. My setup uploads files from desktop, laptop, phone etc to the server via seafile, from there borg backup takes incremental backups of the data and sends it remotely. The second I realized that local data on my computer was fine but the server data was unreliable I immediately knew that even my backups were now unreliable.

IMHO this is a massive problem. Seafile will happily 'upload' a file and say success, but then trying to redownload the file results in an error since it doesn't exist.

Things that really should be present to avoid this:

  1. The client should have the option to run a quick checksum on each file after it uploads and compare the original to the uploaded one to ensure data consistency. There should probably be an option to do this afterwards as well as a check. Then it can output a list of files that are inconsistent.
  2. The default docker compose should be run with health checks on mariadb so when it starts throwing errors but the interface still runs, someone can be alerted.
  3. Need some kind of reminder to check in on unused docker containers.
96
submitted 2 months ago by Lem453@lemmy.ca to c/selfhosted@lemmy.world

Looking for a self hosted YouTube front end with automatic downloader. So you would subscribe to a channel for example and it would automatically download all the videos and new uploads.

Jellyfin might be able to handle the front end part but not sure about automatic downloads and proper file naming and metadata

29
submitted 5 months ago by Lem453@lemmy.ca to c/steamdeck@sopuli.xyz

The jellyfin app (self hosted video streaming) app on steam deck (installed via desktop mode->discovery as a flat pack) doesn't seem to register as 'playing' with the os. The screen will dim after a few mins.

I'm 'playing' the jellyfin app as a non steam game in game mode.

I know I can disable screen dimming in the settings but is there a way to have it auto detect when a video is playing and prevent the screen from dimming?

30
submitted 5 months ago* (last edited 5 months ago) by Lem453@lemmy.ca to c/selfhosted@lemmy.world

Very solid price, the cheapest I've seen for something like this. Has anyone tried it with OPNsense or other software?

The linked thread talks about someone getting 60C load temps but the air was 37C and they are using a RJ45 DAC which are known to use lots of power.

Wondering if anyone else has experience with this. Seems like a big advancement in what's possible at a home scale for non second hand equipment.

Another article about this: https://liliputing.com/this-small-fanless-pc-is-built-for-networking-with-four-10-gbe-and-five-2-5-gb-ethernet-ports/

[-] Lem453@lemmy.ca 29 points 6 months ago

"i swear it's not a lot"

Goes on the describe an infrastructure setup comparable to most medium sized businesses

I love this community!

[-] Lem453@lemmy.ca 41 points 7 months ago

Enshittification is the norm for all for profit endeavours. Exceptions to this are exceedingly rare and usually just a matter of time rather than truly being an exception.

[-] Lem453@lemmy.ca 27 points 8 months ago* (last edited 8 months ago)

There should be a plugin that replaces the actual YouTube video with an embedded mpc or VLC player that streams the video like this on the website itself

[-] Lem453@lemmy.ca 31 points 9 months ago* (last edited 9 months ago)

Even better, cron job every 5 mins and if total remaining space falls to 5% auto delete the file and send a message to sys admin

view more: next ›

Lem453

joined 1 year ago