nextcloud
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
nextcloud [2019/09/12 14:02] – [Docker] simon | nextcloud [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Nextcloud ====== | ||
- | [[https:// | ||
- | ===== Installation ===== | ||
- | ==== Prérequis ==== | ||
- | |||
- | ==== Installation sur un serveur Debian ==== | ||
- | |||
- | ==== Configuration de la base de données ==== | ||
- | |||
- | ==== Configuration de l' | ||
- | <code php> | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | ' | ||
- | </ | ||
- | |||
- | Pas encore réussi à faire marcher ça... | ||
- | |||
- | __source:__ [[https:// | ||
- | |||
- | ===== Maintenance ===== | ||
- | Mettre nextcloud en maintenance : | ||
- | <code bash> | ||
- | root@Marvin:/ | ||
- | </ | ||
- | |||
- | Sortir de la maintenance : | ||
- | <code bash> | ||
- | root@Marvin:/ | ||
- | </ | ||
- | |||
- | ===== Backup ===== | ||
- | Avec un rsync : | ||
- | <code bash> | ||
- | # rsync -lrtv --include " | ||
- | </ | ||
- | |||
- | ===== Applications ===== | ||
- | ==== Passman ==== | ||
- | L' | ||
- | |||
- | ===== Erreurs rencontrées ===== | ||
- | ==== " | ||
- | {{ :: | ||
- | |||
- | La solution trouvée sur [[https:// | ||
- | <code bash> | ||
- | # cd / | ||
- | # sudo -u www-data ./occ files:scan --all | ||
- | |||
- | Scanning files for x users | ||
- | Starting scan for user 1 out of x (user1) | ||
- | Starting scan for user 2 out of x (user2) | ||
- | Starting scan for user 3 out of x (user3) | ||
- | Starting scan for user 4 out of x (user4) | ||
- | (...) | ||
- | |||
- | +---------+-------+--------------+ | ||
- | | Folders | Files | Elapsed time | | ||
- | +---------+-------+--------------+ | ||
- | | 3299 | 37944 | 00: | ||
- | +---------+-------+--------------+ | ||
- | </ | ||
- | |||
- | ===== Docker ===== | ||
- | <code bash>$ cat docker-compose.yml | ||
- | version: ' | ||
- | |||
- | services: | ||
- | nextcloud: | ||
- | image: nextcloud: | ||
- | links: | ||
- | - database | ||
- | volumes: | ||
- | - nextcloud:/ | ||
- | restart: always | ||
- | database: | ||
- | image: mariadb: | ||
- | command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW | ||
- | restart: always | ||
- | volumes: | ||
- | - mariadb:/ | ||
- | environment: | ||
- | - MYSQL_ROOT_PASSWORD=' | ||
- | - MYSQL_PASSWORD=' | ||
- | - MYSQL_DATABASE=nextcloud | ||
- | - MYSQL_USER=nextcloud | ||
- | |||
- | volumes: | ||
- | nextcloud: | ||
- | mariadb: | ||
- | </ | ||
- | |||
- | Et on lance : | ||
- | <code bash> | ||
- | # docker-compose up | ||
- | Creating network " | ||
- | Creating volume " | ||
- | Creating volume " | ||
- | Pulling database (mariadb: | ||
- | 10.3: Pulling from library/ | ||
- | 35c102085707: | ||
- | 251f5509d51d: | ||
- | 8e829fe70a46: | ||
- | 6001e1789921: | ||
- | 6bc078a5dcb0: | ||
- | 4be519c4f814: | ||
- | 647855e9b65b: | ||
- | e44db8874b85: | ||
- | 7c6f5f838eb7: | ||
- | 2c6ac0d09e1d: | ||
- | bad309e896c7: | ||
- | d0e3b74dbcd6: | ||
- | b7455e0ab09f: | ||
- | 3c4168d73d11: | ||
- | Digest: sha256: | ||
- | Status: Downloaded newer image for mariadb: | ||
- | Pulling nextcloud (nextcloud: | ||
- | 16.0.4-fpm: Pulling from library/ | ||
- | 1ab2bdfe9778: | ||
- | 1448c64389e0: | ||
- | 4b8a4e62b444: | ||
- | 9eb9d1e8e241: | ||
- | b7aac27c4079: | ||
- | 733740f60de6: | ||
- | 2105771e2b29: | ||
- | de7014ad8aad: | ||
- | 07a60a873600: | ||
- | ed5b29347ce0: | ||
- | 0cd5ceabf475: | ||
- | 29d6d7917f19: | ||
- | 2e87ae764673: | ||
- | 9ef82f4e77e7: | ||
- | 93f33472bee4: | ||
- | d144687897e8: | ||
- | bc409af3e74e: | ||
- | Digest: sha256: | ||
- | Status: Downloaded newer image for nextcloud: | ||
- | Creating nextcloud_database_1 ... error | ||
- | |||
- | ERROR: for nextcloud_database_1 | ||
- | |||
- | error: exit status 1 | ||
- | |||
- | ERROR: for database | ||
- | |||
- | error: exit status 1 | ||
- | ERROR: Encountered errors while bringing up the project. | ||
- | </ | ||
- | |||
- | AppArmor fout la merde... |
nextcloud.1568296949.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)