selfhosted

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

MentallyExhausted, in Do any of you have that one service that just breaks constantly? I'd love to love Nextcloud, but it sure makes that difficult at times

I run it and mariaDB in docker and they run perfectly when left alone, but everything breaks horribly if I try to do an update. I recently figured out that you need to do updates for NC in steps, and docker (unRAID’s, specifically) defaults to jumping to the latest version. I think I figured out how to specify version now so fingers crossed I won’t destroy it the next time I do updates.

atmur,

This is probably what I’m doing wrong. I’m using linuxserver’s docker which should be okay to auto update, but it just continuously degrades over time with updates until it becomes non-functional. Random login failures, logs failing to load, file thumbnails disappearing, the goddamn Collabora office docker that absolutely refuses to work for more than one week, etc.

I just nuke the NC docker and database and start from scratch every year or so.

fine_sandy_bottom,

Yeah I don’t like auto upgrades. Everyone says it’s fine but that’s not my experience.

My stuff isn’t public facing so I’m not worried about 0-days

thisfro,

For me everything works fine since years, EXCEPT collabora. I use onlyoffice now, it’s much faster and very stable

thisisawayoflife,

You absolutely need to move from patch to patch and cannot just do a multiple version jump safely. You also need to validate the configs between versions, especially major release updates or you risk breaking. New features and optimizations happen and you also may need to change our update your reverse proxy configuration on update, or modify db table configuration (just puking this from memory as I’ve had to do it before). I don’t know that there’s automation for each one of those steps.

Because of that, I run nextcloud in a VM and install it from the binary package. I wrote a shell script that handles downloading, moving the files, updating permissions and copying the old config forward, symlinking and doing the upgrade. Then all I have to do is log in as administrator, check out the admin dashboard and make sure there aren’t new things I have to address in the status page. It’s a pain, but my nextcloud uses external db and redis and PHP caching so it’s not an easy out of the box setup. But it’s been solid for a long time once I adopted using this script.

eos300v,

Would love to take a look at that bash script (or at least a template of it) if you wouldn’t mind

thisisawayoflife,

Sure! I’ll respond with a link in a bit.

thisisawayoflife, (edited )

Here you go:

pastebin.com/f5tL7xwx

There could probably be some additional refactoring here, but it works for my setup. I’m using default nginx paths, so they probably look different than other installs that use custom stuff like /var/www, etc.

Use it by putting it in a shell script, make it executable, then call it:

sudo scriptName.sh 28.0.1

Replace the version with whatever version you’re upgrading to. I would highly recommend never upgrading to a .0, always wait for at least a .1 patch. I left some sleeps in the when I was debugging a while back, those are safe to remove assuming it works in your setup. I also noticed some variables weren’t quoted, I’m not a bash programmer so there’s probably some consistency issues that could be addressed if someone is OCD.

eos300v,

Thank you for taking the time ! This is a great resource

ben_dover, (edited ) in AppleTV complete replacement opinions

my go-to setup is

  • chromecast with googletv 4k
  • alldebrid membership (€3 a month)
  • stremio app + torrentio addon
randomcruft,
@randomcruft@lemmy.sdf.org avatar

Appreciate the info / response. I’ll have to check out alldebrid, stremio, and torrentio; those are new to me.

ben_dover,

debrid is basically “cloud torrenting”, a server torrents the files and you download them from there. extremely useful if you live in a jurisdiction where p2p filesharing is illegal.

stremio is a netflix-like video player app, torrentio an addon that let’s you crawl torrent sites and stream stuff via debrid.

randomcruft,
@randomcruft@lemmy.sdf.org avatar

Thank you for the info on these. As I figure out what I want to do, I will keep these in mind! Sounds like some good stuff.

eramseth, (edited ) in AppleTV complete replacement opinions

Not sure if it’s a factor for you but roku tries to phone home a lot more than anything else on my network (or perhaps my firewall just catches it more than other devices and apps). Otherwise roku is pretty good.

Nvidia shield tv is better though. It’s the best set top box. Made even better by replacing the default launcher/ home screen (android TV default launcher now has 2/3 or more of the screen taken up by ads or “recommended content” which is just ads).

Osiris,

ProjectIvy is a great launcher if anyone needs it

randomcruft,
@randomcruft@lemmy.sdf.org avatar

I will give this a look, appreciate it!

eramseth,

That’s what I’m using now and I like it.

randomcruft,
@randomcruft@lemmy.sdf.org avatar

One of the concerns is the current state of “privacy” with these devices. Interesting that you can mod the Shield (as mentioned by a couple of others as well). Good to know, even if I get one just to tinker / experiment. Thank you so much!

eramseth,

Yes that’s a concern with all of them, Apple TV included.

randomcruft,
@randomcruft@lemmy.sdf.org avatar

Agreed, Apple is not above scrutiny on the privacy front. Appreciate the response.

hroderic, in I'm new to networking and self-hosting and have no idea where to start.

I don’t think you really need to dive that deep into networking to start self hosting, but Network Chuck has a pretty good CCNA course on YouTube youtube.com/playlist?list=PLIhvC56v63IJVXv0GJcl9v…

tabularasa,

This is a great place to start.

vegetaaaaaaa, (edited ) in Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose?
@vegetaaaaaaa@lemmy.world avatar

I recently set up a personal Owncast instance on my home server, it should do what you’re looking for. I use OBS Studio to stream random stuff to friends, if your webcam can send RTMP streams it should be able to stream to Owncast without OBS in the middle - else, you just need to set up OBS to capture from the camera and stream to Owncast over RTMP.

the communication itself should be encrypted

I suggest having the camera/OBS and Owncast on the same local network as RTMP is unencrypted and could possibly be intercepted between the source and the Owncast server, so make sure it happens over a reasonably “trusted” network. From there, my reverse proxy (apache) serves the owncast instance to the Internet over HTTPS (using let’s encrypt or self-signed certs), so it is encrypted between the server and clients. You can watch the stream from any web browser, or use another player such as VLC pointing to the correct stream address [1]

it seems that I might need to self-host a VPN to achieve this

Owncast itself offers no authentication mechanism to watch the stream, so if you expose this to the internet directly and don’t want it public, you’d have to implement authentication at the reverse proxy level (HTTP Basic auth), or as you said you may set up a VPN server (I use wireguard) on the same machine as the Owncast instance and only expose the instance to the VPN network range (with the VPN providing the authentication layer). If you go for a VPN between your phone and owncast server, there’s also no real need to setup HTTPS at the reverseproxy level (as the VPN already provides encryption)

Of course you should also forward the correct ports (VPN or HTTPS) from your home/ISP router to the server on your LAN.

There are also dedicated video surveillance solutions.

aniki,

I second RTMP. I used to use it to send video all over the internet back in the covid days.

butt_mountain_69420, in Do any of you have that one service that just breaks constantly? I'd love to love Nextcloud, but it sure makes that difficult at times
possiblylinux127,

Why is your Collabora server on local host? Local host will always point to the device you are trying to access from. You need a publicly accessible URL

butt_mountain_69420,

“Local host” in this instance refers to my desktop computer where all my super sweet Linux distros are saved. Nextcloud Office, while being an “app” appears to not have any function without the collabora; i.e. there will be no document viewer without the collabora “server” running next to NextCloud.

Or maybe it’s none of that. Coming from a Windows background, running docker is completely foreign.

possiblylinux127,

Collabora need to be accessible at the URL you provide. As a example one might have nextcloud at nc.example.com and Collabora as cb.example.com. you would need to enter cb.example.com as the URL.

The easier way it to use the Nextcloud all in one image or the build in Collabora. Its not going to be as robust or fast but its much simpler.

PoopMonster, in NAS/Media Server Build Recommendations

For 1k you can build a beast.

Just throwing out an option if you aren’t aware, gohardrives on ebay and on their site sell used Hdds. 10Tb for $80. The catch is they’ve been used in data centers for 5 years. The company will guarantee the drives for an addition 5 years and it could save you a lot of money depending on how much you want to risk it. I went with 3, one being a parity drive in case other goes bad.

Nickall01,

goharddrives seemes to good to be true, is there anything like this in Europe?

WFloyd, (edited )

I currently have 6x10TB of these drives running in a gluster array. I’ve had to return 2 so far, with a 3rd waiting to send in for warranty also (click of death for all three). That’s a higher failure rate than I’d like, but the process has been painless outside of the inconvenience of sending it in. All my media is replaceable, but I have redundancy and haven’t lost data (yet).

Supporting hardware costs and power costs depending, you may find larger drive sizes to be a better investment in the long term. Namely, if you plan on seeing the drives through to their 5 year warranty, 18TB drives are pretty good value.

For my hardware and power costs, this is the breakdown for cumulative $/TB (y axis) over years of service (x axis):

https://lemmy.world/pictrs/image/86cf0445-c382-4ddc-b40f-533889ee76ea.png

PoopMonster,

Thanks for the info. How long did the failing drives last and how was the replacement process (warranty not the nas replacement).

Also these were from gohardrives right?

WFloyd,

The first two died within 30 days, the second one took about 4 months I think. Not a huge sample size, but it kind of matches the typical hard drive failure bathtub curve.

I just double checked, and mine were actually from a similar seller on Amazon - they all seem to be from the same supplier though - the warranty card and packaging are identical. So ymmv?

Warranty was easy, I emailed the email address included in the warranty slip, gave details on order number + drive serial number, and they sent me a mailing slip within 1 business day. Print that out, put the drive back in the box it shipped with (I always save these), tape it up and drop it off for shipping. In my case, it was a refund of the purchase pretty much as soon as it was delivered to the seller.

PoopMonster,

Well that kinda sucks hopefully you had time to replace/repair without data loss.

WFloyd,

Yeah, no data loss, rebuilt within 48 hours each time. 10TB is a nice balance that doesn’t have such long rebuild times

breadsmasher, in Exposing Myself (with Filebrowser)
@breadsmasher@lemmy.world avatar

When you tried caddy and received an error, that looks like you are getting the wrong image name.

Then you mentioned deleting caddyfile as the configuration didn’t work. But, if I am following correctly the caddyfile wouldn’t yet be relevant if the caddy container hadn’t actually ran.

Pulling from Caddys docs, you should just need to run


<span style="color:#323232;">$ docker run -d -p 80:80 
</span><span style="color:#323232;">    -v $PWD/Caddyfile:/etc/caddy/Caddyfile 
</span><span style="color:#323232;">    -v caddy_data:/data 
</span><span style="color:#323232;">    caddy
</span>

Where $PWD is the current directory the terminal is currently in.

Further docs for then configuring for HTTPs you can find here under

Automatic TLS with the Caddy image

hub.docker.com/_/caddy

butt_mountain_69420,

I have not tried caddy through docker yet, just running it through a windows command line with admin priv. I’m looking into doing it with Docker, just haven’t started yet.

I will remember how familiar you are with docker!

om1k, in jellyfin freezes on TV every 2 minutes

you could double check the codec with mediainfo. also check it is mp4.

momsi,

container is mkv, codec says AVC

om1k,

that surely is the issue. you can convert it to mp4 with ffmpeg: ffmpeg -i input.mkv -c copy output.mp4If you want to keep subtitles this will probably work: ffmpeg -i input.mkv -map 0 -c copy -c:s mov_text output.mp4

momsi,

Out of curiosity, why would that be a problem?

om1k,

in my case if I use mkv it starts transcoding and mp4 works fine on every device (desktop, android app, Chromecast, browser)

PHLAK, in Linode Alternative Suggestions for Small Projects
@PHLAK@lemmy.world avatar

I’ve been using Linode for a decade (or more) now without any issues. I’d encourage you to contact their support about this issue. Assuming you’re on the up-and-up this sounds like a big and in sure they’d be happy to help.

If you decide not to go with Linode though I think Digital Ocean is a good alternative.

xia,

IIRC, they have been bought out in the last decade.

AnxiousOtter,

By Akamai, ya. I was devastated when I heard.

EncryptKeeper,

You were using Linode. Now you’re using “Akamai Connected Cloud”. Linode was acquired in 2022 and the brand retired in 2023.

PHLAK,
@PHLAK@lemmy.world avatar

Yes, I’m aware. Still as good at it’s always been

EncryptKeeper,

Yes, just as good but at 20% higher cost.

PHLAK,
@PHLAK@lemmy.world avatar

My bill hasn’t changed but maybe I was grandfathered in.

EncryptKeeper, (edited )

No they didn’t grandfather anybody in, they made the price changes to compute universally back in April of last year. The only plan not changed was the $5 nanode so if that’s all you’re running then that’s probably why your bill didn’t change.

ericjmorey, in I'm new to networking and self-hosting and have no idea where to start.
@ericjmorey@programming.dev avatar

Check out Linux Upskill Challenge there’s a community on programming.dev [relative link]

It’s a bit askew from what you’re asking about but very related and a nice onramp to certification options that have some value in the job market.

As a more direct answer, a bit more of a formal approach to learning networking can be persued by following the networking recommendations at Teach Yourself CS

helenslunch,
@helenslunch@feddit.nl avatar

certification options that have some value in the job market.

How much does an experienced sysadmin make?

My research leads me to believe it’s quite low.

ericjmorey,
@ericjmorey@programming.dev avatar

If your title is system administrator, maybe you don’t get paid as much with the same responsibilities as a DevOps Engineer, System Reliability Engineer, Cloud Computing Engineer etc. Don’t get caught up in titles, sell the value of your skills.

helenslunch,
@helenslunch@feddit.nl avatar

I don’t get caught up in titles. Businesses do.

ericjmorey,
@ericjmorey@programming.dev avatar

Yup. Use their flawed methodologies to your advantage.

BearOfaTime,

Wow, that’s brilliant! Wish I could upvote you more than once.

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

Assassin’s Creed is free of DRM?

alfagun74,

No of course not 😂

I needed some games to show the UI properly so I created some empty zip-file mocks of popular games like “Assassin’s Creed 2.zip”.

GameVault doesn’t care what’s inside.

OfficerBribe,

Slightly weird choice to post that in official project site when FAQ mentions piracy is not endorsed :)

alfagun74,

Last time I checked renaming an empty text file to “Assassin’s Creed 2.zip” was legal in my jurisdiction but I now must fear a C&D Letter from Ubisoft it seems lmao.

OfficerBribe,

I would call it more like false advertising. Showing a screen that in theory is not possible unless you pirate or just make mockups.

evidentlynotedthief,

Dear god, i fucking hate smart-asses like you. I bet OP could use gay porn in those thumbnails too to satisfy you aswell, but maybe images of popular games fit better right?

It’s not “false advertising”, idiot.

Because OP does not sell those goddamn games and only wanted to show off his UI capabilities. In fact it looks like he doesn’t even fucking sell anything, so what the hell should he advertise for?

Looks like OP’s been passionately working on this project for his own purposes since almost two years, shared it for good will and probably doesn’t give a singular fuck about you using it or not. Just take it or leave it.

The entitlement of some people…

OfficerBribe,

What entitlement? I am just saying it’s weird that you would add games with DRM in mockup for a project that’s about DRM-free games. Gay porn or any porn for that matter would also not fit in DRM-free game category.

evidentlynotedthief,

Entitled, because you’re blatantly calling posts about a free product “false advertisement” while OP is not advertising games.

It’s a MOCKUP, guy wont spend time to research the DRM Protection of every fucking game on Steam to provide you accurate thumbnails. Its a software for games and it showcases pictures of GAMES. He doesnt promote the games but his software.

You should definitely google the definition of the word “Mockup” before you continue being a retard in this forum. Have a nice day.

OfficerBribe,

Maybe not false advertising, guess it’s true that only commercial products could be called that. Misleading then, bad marketing (probably also only for commercial things so not really), I don’t know how to call it.

Just a weird choice, that’s all. Same if you would add Metallica album if you showcase some hobby project meant to host royality free music :)

Tick_Dracy,
OfficerBribe,

Kind of surprised although at least now looks like only 1st one is available

MangoPenguin, in Do any of you have that one service that just breaks constantly? I'd love to love Nextcloud, but it sure makes that difficult at times
@MangoPenguin@lemmy.blahaj.zone avatar

Nextcloud for me too, would break because of updates requiring manual DB updates sometimes, apps would randomly stop working after updating too, or the 2 times it caused total data loss on all my synced devices and the server itself which required a full restore from backups.

After getting rid of it and switching to Syncthing + Filebrowser + SFTPGo for WebDAV I haven’t really had anything break since then (about a year now). Stuff also runs much faster, NC was extremely slow even on good hardware with all their recommended settings for performance.

butt_mountain_69420,

If Nextcloud “caused total data loss on all my synced devices and the server itself” I would probably do something unsavory to any responsible party I could locate, and take 10 TB of data out of their lousy hide.

MangoPenguin, (edited )
@MangoPenguin@lemmy.blahaj.zone avatar

Yeah the first time was the time/date bug they had (still have?) where it set the time on every folder and file to 00/00/0000 00:00 across all clients and the server.

Second time was I disabled virtual file support on my laptop so it would sync everything, but instead it went and wiped all the files from the server, because for some reason their sync client assumed the laptop that now had no files on it should be the master source or something.

Their own docs even state that’s how you’re supposed to disable VFS, with no mention that it will wipe your server clean.

butt_mountain_69420,

It would be absolutely sublime if it worked. Literally every step resulted in an error. EVERY STEP.

Treczoks, in Do any of you have that one service that just breaks constantly? I'd love to love Nextcloud, but it sure makes that difficult at times

The very same reason why I gave up on Nextcloud. Too many nasty surprises.

butt_mountain_69420,

Did you find a self-hosted solution?

Treczoks,

I found a service that syncs our calendars self-hosted. That was the only thing that was missing. Can’t remember the name, works flawlessly and without any problems for a number of years now. If you are interested, I’ll look it up next weekend.

butt_mountain_69420,

I want my docs and files on a self-hosted cloud (I can’t seem to get sftp, ftp, or sharing to work on windows 11 even after adding the missing features) , with the ability to at least open the contents without downloading them. I want to stop using google for calendars and notes, and it would be handy to have a self-hosted bulletin board I and my added users could write on.

According to the box, nextcloud does all these things, except that it doesn’t, without practically rewriting the code and somehow re-engineering linux to not be a fucking cunt.

Treczoks,

When you are working locally, why don’t you use Samba for storing and sharing of documents?

butt_mountain_69420,

I’ve tried and tried. It just won’t work. Maybe I need to get a different firewall program. I’m working in Pro, added the features, made the firewall exceptions, have my network setting as “private,” I’ve done everything. The host will be visible on the network, but logins time out or fail altogether.

Since writing my rant, I found HFS, which, though an OLD program, was stupid stupid easy to set up.

I also found Filebrowser, and though the config was way more of an asspain than it should have been, it’s fucking awesome. I’ve even moved on to trying to get HTTPS running for external connections using Win-Acme, but it isn’t going well.

killwill,

Please do! I had spent solid day researching open source CALDAV server/clients to replace Google calendar for my boss. Almost no options on that front.

shertson,
@shertson@lemmy.world avatar

I have used Baikal for caldav for the server, with davx5 on Android. Was solid. Moved to NC for files, so went ahead with calendar sync on NC too. NC calendar sync has already worked well for me, no hiccups.

The only issue I’ve had with NC is auto upload of photos from my phone. It constantly has conflicts. Otherwise sync of regular files works great.

PlantObserver, in Tempo – An open source music client for Subsonic built natively for Android, now with Android Auto support

Damn FOSS Android Auto development is starting the new year off strong! First grapheneOS successfully implementing it on a non-stock OS and now this too. Too bad I got rid of my vehicles last year and no longer have a use for it on my ebike.

codeboy,

I first read this as you used to use android auto on your ebike and got really confused

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38