# Nextcloud (snap edition)

# Nextcloud

- [Project Page](https://nextcloud.com/)
- [Source Code](https://github.com/nextcloud)
- [Source Code (snap edition)](https://github.com/nextcloud-snap/nextcloud-snap)
- [Snap edition wiki](https://github.com/nextcloud-snap/nextcloud-snap/wiki/)

## OCC
**OCC** (_Own Cloud Console_) is a commandline management interface requiring root privileges and is accessed from the Nextcloud snap host shell. 

- [snap version occ wiki page](https://github.com/nextcloud-snap/nextcloud-snap/wiki/OCC-management-console)

It is useful notably to **turn off maintenance mode**. 

```bash
sudo nextcloud.occ maintenance:mode --off
```

### Maintenance Mode

Parfois, l'instance Nextcloud se met en mode maintenance et deviens
inaccessible.

Pour relancer l'instance, il faut se connecter via SSH au serveur, puis
utilisé la commande :

``` bash
sudo nextcloud.occ
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9