Nextcloud - Installation mit Docker

Hallo Forum,

ist Nextcloud Docker ein offizieller Installationsweg für Nextcloud?

https://hub.docker.com/_/nextcloud/

Sollte man die Datenbank evlt. besser nativ installieren?

Welche Nachteile hat eine Nextcloud Docker Installation?

MfG
nc-kay

Yes, this is official.

You will have to provide a database, but this can be in Docker as well.

Hallo, welche Nach- bzw. Vorteile hat eine Datenbank in einem Docker Container?

Kann man Nextcloud-mit-Docker genauso absichern wie ein nativ installiertes Docker System?

MfG
nc-kay

The database would be only for Nextcloud’s use, so it can be on an isolated Docker network with no ports exposed on the host. This is good for security. Setup can also be automatic if you use environment variables.

If you want to see an example, you can look here: https://help.nextcloud.com/t/howto-ubuntu-docker-nextcloud-talk-collabora/76430 Note this configuration is for use with a reverse proxy.

1 Like

I suggest to use nextcloud fpm docker image and letsencrypt (which includes nginx). Both together in the same docker network with linuxserver/mariadb image.

Hallo, wie kann bei einer Docker Installation das folgende Problem lösen?

Derzeit wird als Datenbank SQLite verwendet. Bei größeren Installationen wird empfohlen, auf ein anderes Datenbank-Backend zu wechseln. Dies wird insbesondere bei der Benutzung des Desktop-Clients zur Synchronisierung empfohlen. Um zu einer anderen Datenbank zu migrieren, benutze bitte die Kommandozeile: ‘occ db:convert-type’, oder schaue in die Dokumentation :arrow_upper_right:.

  • SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: ‘occ db:convert-type’, or see the documentation :arrow_upper_right:.

Wo gebe ich das “occ db:convert-typ” ein?

Passwort:
https://docs.nextcloud.com/server/11/admin_manual/configuration_user/reset_admin_password.html

Hallo, wie setzte ich das Nextcloud Admin Passwort bei einer Dockerinstallation zurück?

MfG
nc-kay

Hallo, hat niemand Input für mich?

Just search on this side
https://hub.docker.com/_/nextcloud
for occ then you will see how to run occ commands.

Container ID is just the name of the container. Maybe you’ve coosen nextcloud then a command will look like this:

docker exec --user www-data nextcloud php occ config:app:set previewgenerator squareSizes --value="32 256"

Here you can find how to reset the password:
https://docs.nextcloud.com/server/19/admin_manual/configuration_user/reset_admin_password.html

But: keep my other answer in mind and adjust the command to fire it to the docker container.

Hallo,

in dieser Kategorie sprechen wir deutsch :slight_smile:

Schönen Abend Euch noch !!

Deep helps. Deepl hilft.

Darum geht es doch nicht :slight_smile:
Bitte halte Dich an die Forengegebenheiten und erfreue Dich Deiner privaten Cloud.

Schönen Feierabend.