Nextcloud : Différence entre versions

De SLM - MediaWiki
 
(7 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 17 : Ligne 17 :
 
Redémarrer le service apache2
 
Redémarrer le service apache2
 
  service apache2 restart
 
  service apache2 restart
 +
 +
===Vider la corbeille===
 +
====automatiquement====
 +
Editer le fichier:
 +
nano /var/www/nextcloud/config/config.php
 +
 +
Ajouter
 +
'trashbin_retention_obligation' => 'auto, 30',
 +
 +
Redémarrer le service apache2
 +
service apache2 restart
 +
 +
====Manuellement====
 +
cd /var/www/nextcloud
 +
sudo -u www-data php occ trashbin:cleanup --all-users
 +
 +
=== Probleme de mise à jours ===
 +
Message
 +
nextcloud Check for write permissions The following places can not be written to:
 +
 +
Modifier les droits du répertoire
 +
chown -R www-data:www-data /var/www/nextcloud
 +
 +
===Mise à jours base de données===
 +
cd /var/www/nextcloud
 +
sudo -u www-data ./occ db:add-missing-indices
  
 
==Client==
 
==Client==
Desktop: https://nextcloud.com/install/#install-clients
+
*Desktop: https://nextcloud.com/install/#install-clients
Android: https://play.google.com/store/apps/details?id=com.nextcloud.client
+
*Android: https://play.google.com/store/apps/details?id=com.nextcloud.client
  
 
==Documentation==
 
==Documentation==

Version actuelle datée du 16 décembre 2020 à 10:44

Installation

L'installation a été réalisé à l'aide d'une template LXC turnkey

Post Installation

Erreur: Accès à partir d'un domaine non approuvé

Editer le fichier:

nano /var/www/nextcloud/config/config.php

Ajouter l'IP local

  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '10.10.10.252',
    2 => 'slemoal.ddns.net',
  ),

Redémarrer le service apache2

service apache2 restart

Vider la corbeille

automatiquement

Editer le fichier:

nano /var/www/nextcloud/config/config.php

Ajouter

'trashbin_retention_obligation' => 'auto, 30',

Redémarrer le service apache2

service apache2 restart

Manuellement

cd /var/www/nextcloud
sudo -u www-data php occ trashbin:cleanup --all-users

Probleme de mise à jours

Message

nextcloud Check for write permissions The following places can not be written to:

Modifier les droits du répertoire

chown -R www-data:www-data /var/www/nextcloud

Mise à jours base de données

cd /var/www/nextcloud
sudo -u www-data ./occ db:add-missing-indices

Client

Documentation