Live data from Hacker News

Nextcloud Hub 21

nextcloud.com

141–150 of 153 posts

Re: Nextcloud Hub 21

#141

Earlier quoted context omitted.

Also started with OwnCloud and moved to NextCloud. If I'm not mistaken I've been upgrading the same NextCloud install since version 11 or so. Now on 19. Every time it's basically: mv nextcloud nextcloud.r19 mkdir nextcloud && pushd nextcloud && tar -zxf ../nextcloud-r20.tgz cp nextcloud.r19/config/config.php nextcloud/config/config.php # set permissions sudo -u php php occ upgrade Then just log into the web UI and ch…

uhh.. that sounds awful. owncloud just has me click a button.

NextCloud also has a web upgrader accessible from the admin panel. It's almost certainly based on the same code.

I don't know why they go about it in such a manual way. If you don't like the web installer, there's a command line version that does everything for you (upgrader.phar).

Re: Nextcloud Hub 21

#142
post #92
post #14

I really wish there was an LTS release that was supported for at least 2 years (just bugfixes, no new features). I self host my own instance, and I really just want to set it and forget it. I don't mind doing low risk patches every few months or weeks, but I don't want to do a major version upgrade every 4-6 months. I did my last major version upgrade only 15 months ago, and I am now 4 major versions behind, which me…

Haha thanks to your comment I noticed I'm using nextCloud 16. I'm going to make a few upgrades now and I'll tell you how it went. Edit: Miration 18->19 is now stuck on Step 4 is currently in process. Please reload this page later. which is downloading zip with new version... Edit2: I restarted installation multiple times, increased pfp-fpm and nginx timeout to 660 seconds and still getting this error. Not today...

The issues with timeouts can be avoided if you use the command line upgrader:

  % php /var/www/nextcloud/updater/updater.phar

Re: Nextcloud Hub 21

#143
post #89

The project is great and I made simple setup in docker to play around with it. There is official docker image you can use https://hub.docker.com/_/nextcloud . The problem I see with similar services is they all trying to pack everything. You can also install external components into your system. What it means in practice is huge area for security vulnerabilities, challenge to host/upgrade it at home on weekends and v…

I haven't used Nextcloud before, do you happen to know if there's an easy way to just want the file sharing? I don't care for whiteboards or collaboration, I just want a Dropbox equivalent where I can upload files and give other people public or one-time or expiring links to download/wget.

Probably the most simple way would be to rent S3 compatible storage at Lidonde/DO and use client like https://mountainduck.io to mount it in your system.

Re: Nextcloud Hub 21

#144
post #67

Earlier quoted context omitted.

This is my problem with it as well. I used to have a self hosted nextcloud instance, but my main usage was for the file syncing. Nextcloud seems to be poor to decent at everything it does, but never great. So unless your goal is to have a suite of mediocre appliances that do the bare minimum, nextcloud is good. But all I wanted was a nice and quick way to sync all my files (I'm talking 500k files here) and have some…

I moved from syncthing (and seafile) to nexcloud because I was missing one key thing: the ability to share files (by providing an URL, or to a group (think common files with spouse)). Otherwise I completely agree with the sentiment.

I use Seafile and it has the feature to share to other users on your Seafile instance and to create a public link for uploaded files requiring no account. Is that what you're speaking about? I tried Nextcloud about a year ago, I spun up a Nextcloud and Seafile instance and Nextcloud was much slower for uploading and downloading files.

Re: Nextcloud Hub 21

#146
post #142
post #92

Earlier quoted context omitted.

Haha thanks to your comment I noticed I'm using nextCloud 16. I'm going to make a few upgrades now and I'll tell you how it went. Edit: Miration 18->19 is now stuck on Step 4 is currently in process. Please reload this page later. which is downloading zip with new version... Edit2: I restarted installation multiple times, increased pfp-fpm and nginx timeout to 660 seconds and still getting this error. Not today...

The issues with timeouts can be avoided if you use the command line upgrader: % php /var/www/nextcloud/updater/updater.phar

Yea, it didn't work as expected

sudo -u nginx php updater/updater.phar

Nextcloud Updater - version: v18.0.9-8-g27dac77

Current version is 18.0.14.

PHP Fatal error: Uncaught Error: Call to undefined function NC\Updater\curl_init() in phar:///home/owncloud/updater/updater.phar/lib/Updater.php:455

Stack trace:

#0 phar:///home/owncloud/updater/updater.phar/lib/Updater.php(119): NC\Updater\Updater->getUpdateServerResponse()

#1 phar:///home/owncloud/updater/updater.phar/lib/UpdateCommand.php(147): NC\Updater\Updater->checkForUpdate()

#2 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute()

#3 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run()

#4 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand()

#5 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun()

#6 phar:///home/owncloud/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run()

#7 /home/owncloud/updater/updater.phar(10): require('...')

#8 {main}

  thrown in phar:///home/owncloud/updater/updater.phar/lib/Updater.php on line 455

Re: Nextcloud Hub 21

#147

I use Nextcloud for almost all the stuff I do in day to day life. I run it in docker swarm mode on a 5yr old pc running Debian @home. Freemyip for updating my dynamic IP address What I use it for ? 1. Notes (Use FSnotes and sync md files) 2. Keypassxc for passwords (sync it using Nextcloud) 3. Photos upload (From Amazon & Google) 4. My recordings & videos 5. Documents (Moved from G Drive) 6. Bookmarks Where I would l…

Could you point me to resources on the upgrade? I'm at 20 now (what i originally installed) and am a bit miffed at the process.

I use docker-compose and nextcloud is much different than all my other containers.

Re: Nextcloud Hub 21

#148
post #80

Earlier quoted context omitted.

Very easy to setup and maintain with a dedicated unraid box. Grab an old dell enterprise server like the r210 II and put some WD reds in raid + zfs, install unraid, and it’s good to go. I actually virtualize unraid within esxi so that one small 1U box can be my router / firewall and an unraid machine serving home services. Best setup I’ve ever had and learned so much along the way!

This sounds interesting, might have to look into it. Running a physical home server would be awesome, but it currently sounds above my skill level as far as hardware and networking :) I run a cheap EC2 instance, and plug it into an S3 bucket for file storage, and my RDS MySQL database.

How do you deal with the high costs of running an RDS instance? I think almost $30 p/m is a bit high for a small single family NC instance, when the EC2 instance running the actual service is going to a fraction of that.

Re: Nextcloud Hub 21

#149
post #141

Earlier quoted context omitted.

uhh.. that sounds awful. owncloud just has me click a button.

NextCloud also has a web upgrader accessible from the admin panel. It's almost certainly based on the same code. I don't know why they go about it in such a manual way. If you don't like the web installer, there's a command line version that does everything for you (upgrader.phar).

> I don't know why they go about it in such a manual way.

Because I don't generally give the code permission to modify itself. Principle of least privilege and all that.

Outside of this one specific situation (upgrades) it's not needed, the rest of the time it's just one more layer of security in the way of various forms of exploit. (Maybe it's just trauma from dealing with the 8,000 forms of wordpress exploits back in the day and dealing with finding half of wordpress having random code added to it to persist exploits/randomly redirect people to scam sites/etc)

In the end it adds like 5 minutes of inconvenience to my upgrade process.

Re: Nextcloud Hub 21

#150
post #80

Earlier quoted context omitted.

This sounds interesting, might have to look into it. Running a physical home server would be awesome, but it currently sounds above my skill level as far as hardware and networking :) I run a cheap EC2 instance, and plug it into an S3 bucket for file storage, and my RDS MySQL database.

How do you deal with the high costs of running an RDS instance? I think almost $30 p/m is a bit high for a small single family NC instance, when the EC2 instance running the actual service is going to a fraction of that.

That's a good question. Yeah, maybe not the best setup for everyone. You are right, the cost of a t3.small on-demand is close to $30/month, just for your NC instance alone that's not worth it.

In my case, for purposes of hobby projects and various self hosted services, I keep both MySQL & Postgres RDS instances running in perpetuity, both t3a.micro. On demand pricing is roughly $13/month, but since I plan on keeping them running 'forever' I purchase reserved instances. For a 3 year plan, 'no-upfront', this brings the cost down to about $8.75/month. Much more palatable if you ask me :)

Also, I use them for multiple projects, so the convenience factor is worth it for me. For your NC alone, I imagine it would be good enough to just run you DB server on the same EC2 instance. I doubt the database storage would eat up much disk space.

You could however, rip through a ton of disk space from file storage, so I feel like S3 buckets are a must, and cheap anyway.

Post reply on HN