237 points · by r3bl · 8y ago · 64 comments
If Nextcloud continues to add features and get more traction, perhaps it can become a viable alternative to Google drive/mail/calendar?
Does anyone here have experience deploying Nextcloud in a business setting?
I often end up holding ownCloud updates back in apt as there's always this sense of dread that I'll have trouble getting the app out of maintenance mode. Versions 9+ have been better but upgrades sucked in the beginning even as a home user not using disk encryption.
I've never used apt, I always use source .tar.gz - it is just a web app. I keep a separate disc with data, html, tmp (for working etc source packages) and mount it to /srv/nextcloud. I then symlink /srv/nextcloud/html to /var/www/html/nextcloud to avoid surprises (where the hell is the bloody app!)
The config does need a bit of care but the docs are great. I do recommend that you add in redis etc and all the php caching etc. Also, get a Lets Encrypt cert on it.
Upgrades? I bit the bullet and tried out the auto upgrade button in the web interface on my largest install after doing a VM snapshot of course. I now always do it that way because in the past I generally end up re learning how to do it each time. You do need to get the file permissions correct for the web app to be able to update itself.
I have had problems and errors sometimes but the forums and docs have always given me a fix. Learn how to do a dump/restore of the database (you should ideally be using MariaDB and know a bit about it) and learn about the occ command eg:
# sudo -u www-data /var/www/nextcloud/occ status --output=json_pretty
The NextCloud desktop app works well on both Windows and Linux (I don't have any Mac experience) As I mentioned before, I use Foldersync Pro on Android for photos because you can do a one way sync, with deletes on the phone not being mirrored to the repository (phones have rather less storage than desktops or my servers).
I like nextcloud a lot more and it's performance is great, especially since I started using redis (that was a huge pain to install on the rpi though).
I only use Google Drive as an encrypted backup. I've replaced everything it did with nextcloud + collabra + talk.
For myself, my usage is small enough that I don't care if my "migration" is that I just copy over the two user's worth of data I have in the file sharing and set up the one shared folder I have again by hand. (It's a home cloud, not corporate.) In fact in some ways it'll be easier than what I was planning on doing.
While feature-wise, we're still not really missing anything oC has, the underlying codebase is really diverging, we're not really merging any code from oC since a year now...
Migration will become a real, risky pita at some point I'm afraid. Apps are already dropping compatibility and mobile apps, too.
Like I said, a brute-force migration for me isn't too big a deal. Half the work for things like switching apps on my phone I'd have to do anyhow.
Anything else could make for some really terrible data breach possibilities. At scale. :/
https://hackerone.com/nextcloud
The maximum's seem pretty low though (to me), considering it's used for housing peoples personal data.
For instance, the deployment and updating process (which Nextcloud has no control over) is just as important.
I wonder what domain they'll be using for these self-hosted Nextcloud instances. Are they going to allow for custom domains?
- https://www.youtube.com/watch?v=UTKvLSnFL6I
The big issue with PHP's security is that there are a lottt of old guides and stackoverflow answers out there with terrible, unsafe practices.
Still 80%+ of PHP sites.
https://w3techs.com/technologies/details/pl-php/all/all
https://www.linkedin.com/pulse/ticking-php-time-bomb-martin-...
PHP needs to go away.