Projekt

Allgemein

Profil

Aktionen

Nextcloud » Historie » Revision 8

« Zurück | Revision 8/14 (Vergleich) | Weiter »
Jeremias Keihsler, 22.11.2021 14:40


Nextcloud

one variant to be tested for Fedora 33 Server: https://www.howtoforge.de/anleitung/wie-man-nextcloud-auf-fedora-32-installiert-und-konfiguriert/

Install

currently in EPEL-testing ...

ius-release repo

IUS repository

php7.1

yum install php71u php71u-mysqlnd php71u-dom php71u-mbstring php71u-gd php71u-pdo php71u-json php71u-xml php71u-zip curl php71u-curl php71u-mcrypt

podman based

taken from https://fedoramagazine.org/nextcloud-20-on-fedora-linux-with-podman/

sudo dnf install podman
podman network create nextcloud-net
podman network ls
podman network inspect nextcloud-net
podman volume create nextcloud-app
podman volume create nextcloud-data
podman volume create nextcloud-db
podman volume ls
podman volume inspect nextcloud-app
podman run --detach   --env MYSQL_DATABASE=nextcloud   --env MYSQL_USER=nextcloud   --env MYSQL_PASSWORD=DB_USER_PASSWORD   --env MYSQL_ROOT_PASSWORD=DB_ROOT_PASSWORD   --volume nextcloud-db:/var/lib/mysql   --network nextcloud-net   --restart on-failure   --name nextcloud-db   docker.io/library/mariadb:10
podman run --detach --env MYSQL_HOST=nextcloud-db.dns.podman --env MYSQL_DATABASE=nextcloud --env MYSQL_USER=nextcloud   --env MYSQL_PASSWORD=DB_USER_PASSWORD --env NEXTCLOUD_ADMIN_USER=NC_ADMIN --env NEXTCLOUD_ADMIN_PASSWORD=NC_PASSWORD --volume nextcloud-app:/var/www/html --volume nextcloud-data:/var/www/html/data --network nextcloud-net --restart on-failure --name nextcloud --publish 8080:80 docker.io/library/nextcloud:20
podman container ls

update container

podman pull mariadb:10
podman stop nextcloud-db
podman rm nextcloud-db
podman run --detach --env MYSQL_DATABASE=nextcloud --env MYSQL_USER=nextcloud --env MYSQL_PASSWORD=DB_USER_PASSWORD --env MYSQL_ROOT_PASSWORD=DB_ROOT_PASSWORD --volume nextcloud-db:/var/lib/mysql --network nextcloud-net --restart on-failure --name nextcloud-db docker.io/library/mariadb:10
podman pull nextcloud:20
podman stop nextcloud
podman rm nextcloud
podman run --detach --env MYSQL_HOST=nextcloud-db.dns.podman --env MYSQL_DATABASE=nextcloud --env MYSQL_USER=nextcloud --env MYSQL_PASSWORD=DB_USER_PASSWORD --env NEXTCLOUD_ADMIN_USER=NC_ADMIN --env NEXTCLOUD_ADMIN_PASSWORD=NC_PASSWORD --volume nextcloud-app:/var/www/html --volume nextcloud-data:/var/www/html/data --network nextcloud-net --restart on-failure --name nextcloud --publish 8080:80 docker.io/library/nextcloud:20

config.php additions

automagically clear deleted files

taken from https://bayton.org/docs/nextcloud/nextcloud-hoarding-trash-how-to-force-automatic-removal-of-deleted-items/

Nextcloud may delete files from trash as necessary but has to after 10 days latest.

'trashbin_retention_obligation' => 'auto, 10',

password-recovery not working, getting 'network error' on GUI

taken from https://help.nextcloud.com/t/network-error-for-new-account-at-reset-password-page/74234

'overwriteprotocol' => 'https',

Von Jeremias Keihsler vor etwa 3 Jahren aktualisiert · 8 Revisionen