Sea of Tranquility

I like talking about sci-fi, space, robotics, linux, anti-fascism and democratic socialism. 🇩🇪☮️

(SeaOfTranquility on libera.chat)

  • 2 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle



  • This sounds a bit like hamster simulator, which we used in high school in our “programming” class, the site is in German, but you might the idea. But I can absolutely see how you can make this more compelling.

    Deutsch wäre jetzt kein Problem für mich und ich glaube, ich erinnere mich sogar daran, das auch mal im IT Unterricht gehabt zu haben. Leider war die Lehrerin damals 'ne Katastrophe und ich hab’ das meiste von damals wohl schon ausgeblendet 😅





  • Nextcloud AIO is just a link (just the local IP+port) to the maintenance interface of my NC installation. The officially supported docker image of Nextcloud (link here) has a built-in maintenance interface which allows you to update the installation and all dependencies.

    Because Nextcloud is more complicated to maintain (especially when you have a lot of apps installed), I have split all that functionality across multiple smaller services. Baikal, WebDAV, Vaultwarden and Freshrss are technically not needed if I use Nextcloud apps, but all of those services are easily configurable as docker containers and if one of them fails, none of the others are affected. If I use Nextcloud for everything and treat it as a monolithic service, I would lose all functionality if the service fails. Because of that, I only use Nextcloud’s core functionality, which is syncing files across devices and automatically uploading all the pictures I take with my phone. For everything else, I have a dedicated service that is easier to set up and maintain.







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