Heavybell,
@Heavybell@lemmy.world avatar

I dunno what you guys are doing that makes your nextcloud die without touching it. Mine runs happily until I decide to update it, and that usually goes fine, too. I don’t use docker for it, tho.

MaxHardwood,

I dunno what you guys are doing that makes your nextcloud die without touching it

Mine runs happily until I decide to update it

tostiman,
@tostiman@sh.itjust.works avatar

Just dont update it then

crusa187,

It’s the containerization causing this imo. I also host nextcloud on bare metal and it’s quite stable

9488fcea02a9, (edited )

I’ve been reading nextcloud forums/reddit/lemmy/etc. for years now, and i feel like 90% of the problems are from people using docker or whatever easy one-click solution is out there

I’ve been running NC the old fashioned way for years now and i’ve never had problems of NC dying for no reason.

Have i had issues? Of course… Not not like the ones people keep coming here and shitting on NC

The only times i’ve had major issues and it was actually a problem with nextcloud, is buggy major version releases… So i never install a new major release until X.0.1 these days. Havent really had problems since

excitingburp,

This has been a serious concern of mine. In the event that I prematurely die I have everything set up with automatic updates, so that hopefully my family can continue to use the self-hosted services without me.

Nextcloud will not stop shitting the bed. I’d give it a few months at most if I died, at which point my family would likely turn back to Google Drive.

I’m looking for a more reliable alternative, even if it’s not as feature-rich.

Chadarius,

The way that they do updates doesn’t make automated updates very easy. There are usually a few little nagging things that have to be done or changed and they don’t always seem to be the same. I just update manually and make sure I’ve got a good backup of all my family’s files.

sneakyninjapants,

If you’re ok with just file storage sftpgo has been solid for me for years now. Does sftp ftp and WebDAV (like nextcloud). Webui isn’t as pretty but it’s fast. Mobile apps will be various sync apps with sftp or WebDAV support. On Android folder sync pro is pretty good for keeping documents and pictures backed up

colebrodine,
@colebrodine@midwest.social avatar

I’ve told my wife and family that if something happens to me, they need to start migrating all their stuff off my self-hosted services to cloud services because its a matter of time before something fails and nobody’s around who knows or cares to fix it.

butt_mountain_69420,

You don’t want your kids using a rope, so keep them away from linux.

colebrodine,
@colebrodine@midwest.social avatar

My oldest kid is a senior in highschool and is starting to show some interest in Linux and this kind of stuff. I’m hopeful that I can change my tune soon and maybe have one of the kids to share a hobby with!

Kalcifer,
@Kalcifer@sh.itjust.works avatar

Well dang, I have Nextcloud installed as a snap (which has been perfectly stable for me when running on Ubuntu Server), but I was thinking of switching over to a docker installation; this thread doesn’t exactly fill me with enthusiasm for that idea…

JustinAngel,

Anecdotal, but Ive had a container running Nextcloud in an LXC on Proxmox along with PiHole, Step CA, Bacula, and quite a few other services and I’ve had zero downtime since June 2023. Even have Tailscale rigged to use PiHole as the tailnet DNS to have adblocking on the go.

Guess that restart: always value in the Compose config is pulling it’s weight lol

cybersandwich,

I ended up on the snap because I couldn’t get the AIO install working properly. My snap version has been super solid. I think I’m gonna stick with it for a while.

Kalcifer, (edited )
@Kalcifer@sh.itjust.works avatar

What issues did you have with the AIO docker?

gerowen, (edited )

I’ve hosted mine for years on my own bare metal Debian/Apache install and 28 is the first update that has been a major pain. I’ve had the occasional need to install a new package to enable a new feature, or needed to add new/missing indices to the database, but the web interface literally tells you how to do those things, so they’re not hard.

28 though broke several of the “featured” apps that I use regularly, like “Retention”. It also introduced some questionable UI changes that they had to fix with the recent .1 update. I’ll get occasional errors when trying to move or delete files in the web interface and everything. 28 really feels like beta software, even though we’re a point release in and I got it from the “stable” update channel.

mhzawadi,

I’ve not moved to 28 yet, might wait a bit longer from your post. My 27 is rock solid, I don’t understand why so many have issues with nextcloud.

Maybe the docker installs are pants

unique_hemp,

I have run nextcloud:latest on Docker for the last 2 years and have had 0 problems. Maybe upgrading all the time works better than by releases.

gerowen,

I’m on my laptop so I thought I would elaborate on my first comment to give you things to watch out for if/when you update. I’ve been hosting mine with the zip file manually installed with my own Apache/PHP/MySQL/MariaDB setup for ages now without issue. It’s been rock solid except for, like I said, the occasional changes required to take advantage of new features such as adding new indices to the database or installing an additional php addon. Here’s the things that I noticed with updating to 28.

  • The 3 dot/ellipses menu was missing in the web interface and was replaced with dedicated buttons for “Download”, “Add to Favorites” and “Delete”. Shift clicking was also broken. This meant that when I, for example, take a lot of photos for a holiday, I can’t use the web interface to select a large range of multiple files and then move them all from “InstantUpload” into a more permanent album. I either had to use the mobile app, or do them one at a time. The ellipses menu, along with the options to bulk “move/copy” have been added back since then with the *.1 update, but shift clicking in the web interface to select a range of files is still broken.
  • The “Retention” app, which is listed as a “Featured” app doesn’t function any more. I used it to automatically delete backups of my Signal messenger, files in the “InstantUpload” folder that were over a year old, etc. You can enable it, but it doesn’t actually work and just throws errors in the log file, which is now reported in the “Overview” portion of the “Administration” page with a note of “X number of errors since somedate”, and prevents you getting the green checkmark. It’s probably safe to assume that other apps will also have issues because I had half a dozen get automatically disabled with the update.
  • Occasionally when I use the web interface to move or copy a file, I’ll get an error message that the operation failed. Sometimes this is true, sometimes it’s not and the operation actually succeeded. If it ends up being true and the move did actually fail, doing it again results in a successful move.

It seems like they’ve made some substantial under-the-hood changes to the user interface that shouldn’t have been shipped to the “stable” channel. It’s not completely broken, it “is” usable, especially after they restored my bulk move/copy button, but I still can’t use the Retention app, at least last time I looked, so I’ve literally got daily cron scripts to check those folders for old files and delete them, then trigger an occ files:scan of the affected directories to keep the Nextcloud database in sync with the changes. This however, bypasses the built-in trash bin so I can’t recover the files in the event of an issue. I actually considered rolling back to 27 for a bit, but decided against it, so if I were you, I would stick with 27 for a while and keep an ear to the ground regarding any issues people are having that are or aren’t getting fixed in 28.

mhzawadi,

Thanks for the heads up, will wait for 28.0.2 as that is currently cooking.

On the Retention app thing, I got into tagging to remove old backups. Will have in the morning for how I set it up

Czeron,
@Czeron@lemmy.world avatar

Installed Nextcloud-AIO using the docker script, took about 4 - 5 terminal commands. Practically zero issues! Hopefully someone else can provide some help in the thread!

butt_mountain_69420,

Do you have office set up in it?

moomoomoo309,
@moomoomoo309@programming.dev avatar

I have it set up. Try the AIO docker image. Once you get it set up, it pretty much just works. You just pick which office suite you want, check a few optional features if you want 'em, and it handles the rest for you. Most importantly, the AIO image is from nextcloud. They test it, it always works because it is the blessed version from them. If you’re not a Linux guy, don’t try the other installation methods, they’re much, much more difficult.

butt_mountain_69420,

I’ll give it a shot. I’ve tried so many different approaches already. I think I maybe tried to install AIO straight onto a linux vm; don’t recall how it got derailed. I did build a Lubuntu VM for experimentation. I really wanted to get an Ollama chatbot running to assist me in my future digital endeavors, but it just wouldn’t come together.

MentallyExhausted,

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

butt_mountain_69420,
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.

MangoPenguin,
@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,

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.

suzune,

I’ve been updating Nextcloud in-place (manually) for multiple major versions without any flaws. What is the problem?

InEnduringGrowStrong,
@InEnduringGrowStrong@sh.itjust.works avatar

Yea I’ve been using nextcloud for a while and it’s fine.
I remember when I used owncloud before nextcloud was even a thing and the upgrade experience was absolute shit.
These days it’s just fine.

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

No if I have to keep fixing it , it is not worth my time.

I installed owncloud years ago and came to the same conclusion and just got rid of it. I use syncthing nowadays though its not the same thing.

atmur,

I’m absolutely at that point with Nextcloud. I kind of didn’t want to go the syncthing route, but I’ll probably give it a shot anyway since none of the NC alternatives seem any better.

linearchaos,
@linearchaos@lemmy.world avatar

I tried nc it for a while I would have taken me till the end of days to import all of my files.

I suspect I could keep it running by doing lockstep backups and updates. But it was just so incredibly slow.

I just want something that would give me remote access to my files with meta information about my files and a good search index.

Cupcake1972,

Pydio Cells/Seafile?

linearchaos,
@linearchaos@lemmy.world avatar

I’ll look at those ASAP, super hopeful

marcos,

Yep, I’ve adapted all of my setup to syncthing, and never looked back.

0110010001100010,
@0110010001100010@lemmy.world avatar

Any guidance on this? I looked into Synthing at one time to backup Android phones and got overwhelmed very quickly. I’d love to use it in a similar fashion to NextCloud for syncing between various computers too.

marcos,

Well, it works in a different way than NextCloud. You don’t have a server, instead you just make a share between your computers and they are all peers.

It takes some getting used to the idea, but it’s actually much simpler than NextCloud.

squidspinachfootball, (edited )

So if I wanted to sync photos from my phone to the computer, then delete the local copies on my phone to save space, that would not work?

E: But keep the copies on the computer, of course

marcos,

You would have to move them into some folder you are not syncing.

rhys,
@rhys@rhys.wtf avatar

@squidspinachfootball @marcos Syncthing syncs. It does one way syncs, but if your workflow is complex and depends on one way syncs that's probably not what you want.

Sync things between operational systems, then replicate to nonoperational systems, and backup to off site segregated systems.

FrostKing,

I was very intimidated as well, I’ll try to simplify it, but as always check the documentation ;)

This is the process I used to sync between my Windows PC and Android phone to sync retroarch saves (works well, would recommend, Pokemon is awesome) I’ve never done it on a Linux, though i assume it’s not too different

docs.syncthing.net/intro/getting-started.html

I downloaded the Synctrazor program so that it would run in the tray, again I’m not sure what the equivalent/if this would be necessary on Linux.

No shade to the writers, but the documentation isn’t super noob friendly, as I figured out. I’d recommend trying to cut out all the fluff, and boil it down to bare essentials. Download the program (whichever one seems right for your device, there’s an app for Android) and follow the process for syncing stuff (I believe I used a video guide, but it’s not actually as complicated as it seems)

If you need specific help I’d be happy to answer questions, though I only understand a certain amount myself XD

linearchaos,
@linearchaos@lemmy.world avatar

It really wasn’t all that complicated for me. Install the client on two devices set a share up on one device go to the other device Hit add device put the share ID in. Go back to the first devices admin and say allow the share

Discover5164,

i have been running the new owncloud (ocis) and, with some quirks and very basic functionality, it’s been running for 2+ years and survived multiple updates without major complications

flatpandisk,

Came to same conclusion too

nullpotential,
@nullpotential@lemmy.dbzer0.com avatar

The simple fix is to not use nextcloud

TBi,

What’s the alternative?

tswerts,

This got mee googling Nextcloud and I think I’m going to give it a try 😱

butt_mountain_69420,

Seriously homie, unless you’re a fucking linux docker nerdshit wizard, you should find another way.

tswerts,

Thanks for the warning 🙂 Sometimes I still think I have as much spare time as 10 years ago 😉

butt_mountain_69420,

You could be a legless NEET and not have enough time to get this fucking bullshit to work correctly.

Vega,
@Vega@feddit.it avatar

I really don’t understand all those posts: I use nginx, apparmor, partially even modsecurity, I use collabora office official debian package, face recognition, email, update regularly (waiting for major upgrades for every app I use to be updated), etc. and literally never had a problem in the last 5 years except for my own experiment. True, only 5 people use my instance, but Nextcloud is rock solid for me

multicolorKnight,

Likewise. I have been running it for years, almost no problem that I can think of. My setup is pretty vanilla, Apache, MySQL. It’s running in a container behind a reverse proxy. I keep it as up to date as possible. Only 3 people use mine, and I don’t use very many apps: files, notes, bookmarks, calendar, email.

butt_mountain_69420,

I was trying for the 3rd time to install the collabora office app in nextcloud. I think it’s hilarious they know it’s going to time out and they give you a bogus command to run to fix it. So unnecessarily irritating.

phoenixz,

Am i the only one left who doesn’t want a snap docker Kubernetes container and just installs nextcloud in a normal way and never had any problems?

rummagefibre,

Same here. I’m just installing it normally, and my nextcloud instance is just chugging along.

kureta,

For me it’s the opposite. I tried to use nextcloud for years, installing the normal way, and it always broke for no reason. I just started using it on docker and it has been perfect, fingers crossed.

rummagefibre,

Interesting, when I used docker on a proxmox build, it would give me trouble. Once I installed it the normal way on an Ubuntu build, it was good to go.

I wonder why that is?

Fingers crossed that it continues to work for you in the current configuration!

Aux,

Because when you’re using Docker, you shouldn’t use Proxmox. And to be fair, I don’t understand why people are using Proxmox at all.

rummagefibre,

I used Proxmox because it was free and open source with backup tools integrated into the system.

Plavatos,

Same here, but after v25(?) it won’t update on my RPi 4 any longer, think they went 64 bit only?

Other than that no issues

  • 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 25