Projekt

Allgemein

Profil

Aktionen

Setup nextcloud server19 » Historie » Revision 1

Revision 1/4 | Weiter »
Jeremias Keihsler, 20.03.2021 18:22


Install Procedure for NextCloud-Server 19.x

Requirements

To install NextCloud-Server 19.x you will need the following:
  • a installed and supported operating system (e.g. Fedora 33 Workstation)
  • root-access
  • a fast internet connection
  • Apache
  • MariaDB

Preliminary Note

this how-to assumes the machine with a vanilla Fedora 33 Workstation installation.

Install

yum install nextcloud-httpd nextcloud-mysql

Setup

Create nextcloud-DB

mysql -u root -p
CREATE USER 'nextuser'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextuser'@'localhost';
exit

run nextcloud-cron-job

# JKE 2017-03-03
#
# minute hour day month dayofweek
# +---------min (0-59)
# | +-------hour (0-23)
# | | +-----day of month (1-31)
# | | | +---month (1-12)
# | | | | +-day of week (0-7) sunday=0 of 7
# | | | | |
# - - - - -
# m h d m d
#
    */15    *    *    *    *    apache    /usr/bin/php /usr/share/nextcloud/cron.php 

Firewall

firewall_cmd --permanent --zone=public --add-service=http
firewall_cmd --permanent --zone=public --add-service=https

Test

Troubleshoot

can't send mail via smtp

maybe because of selinux

setsebool -P httpd_can_sendmail on

Blocked in Maintenance-Mode after upgrade

basically taken from https://github.com/owncloud/core/issues/17440

cd /usr/share/owncloud
sudo -u apache php occ maintenance:mode --off
sudo -u apache php occ upgrade

did it for me (upgrade to Owncloud 8.0.10 @ 2016-02-29)

sudo -u apache php occ maintenance:repair

may be of additional help

Von Jeremias Keihsler vor mehr als 3 Jahren aktualisiert · 1 Revisionen