this post was submitted on 20 Jun 2023
19 points (100.0% liked)

Free and Open Source Software

17922 readers
57 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

If so, how was the overall experience? Looks like a much better alternative than completely relying on Google Drive and you can't beat the price (free!)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] SeaOfTranquility@beehaw.org 3 points 1 year ago* (last edited 1 year ago)

I've heard that a lot of people have trouble with updating and maintaining nextcloud but I personally never had those issues and my instance is running for over 5 years now. I would agree with other people here, that something like docker makes everything easier if you want to selfhost. I personally followed this guide with a custom dockerfile that looks something like this. Once you have a functional docker image and a docker-compose file, updating your instance is as easy as typing:

docker compose stop
docker compose rm -f
docker compose build --pull
docker compose up -d

If you chose to go down that route as well, you might want to change the config files in your docker image since some of the values might not suit your instance. I, for example, have added the following to the PHP config:

RUN sed -i "s/\(opcache\.interned_strings_buffer*=*\).*/\148/" /usr/local/etc/php/conf.d/opcache-recommended.ini
RUN sed -i "s/\(opcache\.memory_consumption*=*\).*/\1256/" /usr/local/etc/php/conf.d/opcache-recommended.ini