Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
06a9c07
Update manifest.toml
ericgaspar Apr 23, 2024
e5d224a
Auto-update READMEs
yunohost-bot Apr 23, 2024
89f4373
Merge branch 'testing' into 29.0.0
ericgaspar Apr 25, 2024
ded5039
Merge branch 'testing' into 29.0.0
ericgaspar Apr 26, 2024
3503f0e
add pre upgrade warning for NC 29
OniriCorpe Apr 26, 2024
6d0c2ce
update to PHP8.3
ericgaspar May 22, 2024
2b1d579
Auto-update READMEs
yunohost-bot May 22, 2024
7c9f968
Merge pull request #684 from YunoHost-Apps/29.0.0
ericgaspar May 23, 2024
cc263ec
Update manifest.toml
ericgaspar May 23, 2024
0d05a77
Auto-update READMEs
yunohost-bot May 23, 2024
1b66d7f
Fix space splitting in phpflags on install (#690)
lyynd Jun 1, 2024
c3ec387
Merge branch 'master' into testing
ericgaspar Jun 1, 2024
f6a8dc8
Auto-update READMEs
yunohost-bot Jun 1, 2024
652d6de
Update upgrade
ericgaspar Jun 2, 2024
253357a
Update manifest.toml
ericgaspar Jun 6, 2024
cc45b8e
Auto-update READMEs
yunohost-bot Jun 6, 2024
38c2ecc
Fix phpflags (#691)
tituspijean Jun 8, 2024
1ab6c01
Fix upgrade: php version is 8.3 starting from 29.x ? (#692)
alexAubin Jun 20, 2024
ef6d230
Update manifest.toml
ericgaspar Jun 20, 2024
6aa7821
Auto-update READMEs
yunohost-bot Jun 20, 2024
6870be0
Update tests.toml
ericgaspar Jun 20, 2024
336bc29
Merge branch 'testing' of https://github.com/YunoHost-Apps/nextcloud_…
ericgaspar Jun 20, 2024
25b828b
Merge branch 'master' into testing
ericgaspar Jun 20, 2024
89899fd
[autopatch] Do not delete logs on app removal (#697)
yunohost-bot Jun 23, 2024
2f0cfe5
[autopatch] Do not delete logs on app removal (#698)
yunohost-bot Jun 23, 2024
d848e73
29.0.3
ericgaspar Jun 25, 2024
e584e31
Auto-update READMEs
yunohost-bot Jun 25, 2024
26bfa59
Update remove
ericgaspar Jun 25, 2024
0a4b38f
Merge branch 'testing' of https://github.com/YunoHost-Apps/nextcloud_…
ericgaspar Jun 25, 2024
88fbb73
Indent
alexAubin Jun 27, 2024
f7c21e4
Fix again upgrade ending with Nextcloud being in PHP 8.2 ?
alexAubin Jun 27, 2024
b96736a
Auto-update READMEs
yunohost-bot Jun 27, 2024
5a69494
Create ADDITIONAL_STORAGE.fr.md
alexAubin Jul 11, 2024
b243ad9
Create ADDITIONAL_STORAGE.md
alexAubin Jul 11, 2024
616b11b
Update ADMIN.md (#734)
tomdereub Sep 30, 2024
978e71f
Add experimental curl tests
alexAubin Aug 24, 2024
7a23074
29.0.8
ericgaspar Oct 10, 2024
fa49faa
Auto-update READMEs
yunohost-bot Oct 10, 2024
9cee1eb
fix linter
ericgaspar Oct 11, 2024
12bca63
Update remove
ericgaspar Oct 11, 2024
b3ac029
Update tests.toml
ericgaspar Oct 14, 2024
cc04eb6
Add fr translation
ericgaspar Oct 25, 2024
e8e04de
remove duplicate extension "js" (#742)
ericgaspar Oct 25, 2024
8f8a3af
Update config_panel.toml
ericgaspar Oct 25, 2024
83dd697
Update manifest.toml
ericgaspar Oct 31, 2024
960a061
fix translations
ericgaspar Nov 3, 2024
ccbdda1
Update config_panel.toml
ericgaspar Nov 3, 2024
c523500
Update config_panel.toml
ericgaspar Nov 3, 2024
b100f02
Update manifest.toml
ericgaspar Nov 3, 2024
bd68f75
Update manifest.toml
ericgaspar Nov 3, 2024
c9b8e60
Update manifest.toml
ericgaspar Nov 3, 2024
81958af
Update manifest.toml
ericgaspar Nov 3, 2024
e454580
Update install
ericgaspar Nov 3, 2024
1456e66
cleaning
ericgaspar Nov 3, 2024
3195268
cleaning
ericgaspar Nov 3, 2024
2781404
add link to the help menu
ericgaspar Nov 4, 2024
6f868da
remove onlyoffice doc (#743)
ericgaspar Nov 4, 2024
96c0aaf
cleaning
ericgaspar Nov 4, 2024
2a296b7
Auto-update READMEs
yunohost-bot Nov 4, 2024
f235e0d
Update DESCRIPTION.md
ericgaspar Nov 4, 2024
9015178
Merge branch 'testing' of https://github.com/YunoHost-Apps/nextcloud_…
ericgaspar Nov 4, 2024
b48322e
Auto-update READMEs
yunohost-bot Nov 4, 2024
6fdae34
cleaning options (#744)
ericgaspar Nov 4, 2024
6adab0f
Update remove
ericgaspar Nov 4, 2024
f830038
Update tests.toml
ericgaspar Nov 5, 2024
0b374b1
Update tests.toml
ericgaspar Nov 6, 2024
47fe09a
29.0.9 (#747)
ericgaspar Nov 7, 2024
ccf915d
Merge branch 'master' into testing
ericgaspar Nov 7, 2024
8e9d4a1
Update restore
grenagit Nov 11, 2024
e095ec2
Merge pull request #751 from grenagit/master
orhtej2 Nov 11, 2024
be0378e
30.0.2 (#729)
ericgaspar Nov 17, 2024
4251386
Merge branch 'master' into testing
ericgaspar Nov 17, 2024
2b41e99
[comit] Forward Email?
Thatoo Nov 17, 2024
383f3b7
Update config_panel.toml
Thatoo Nov 17, 2024
c7f7043
Update config_panel.toml
Thatoo Nov 17, 2024
16b5030
Update config_panel.toml
Thatoo Nov 17, 2024
e908223
Update config_panel.toml
Thatoo Nov 17, 2024
9790ea9
Update config_panel.toml
Thatoo Nov 17, 2024
866fb3c
Update tests.toml
ericgaspar Nov 27, 2024
cbc06de
add name nextcloud LDAP config to get__enable_forward_email
Thatoo Dec 1, 2024
9e5bcc1
Add quote in if [ $(cmd) = value ] because i'm paranoid about [ synta…
alexAubin Dec 3, 2024
eb0d815
Merge pull request #753 from Thatoo/testing
alexAubin Dec 3, 2024
b9354d0
Auto-update READMEs
yunohost-bot Dec 3, 2024
f462401
Update manifest.toml: revert to 29.0.8 with prefetch = false to fix t…
alexAubin Dec 3, 2024
b7b5f34
Disable output buffering (#758)
tituspijean Dec 3, 2024
aea6a8d
Update backup
ericgaspar Dec 3, 2024
4ec797a
Update manifest.toml
ericgaspar Dec 5, 2024
e4b820d
Auto-update READMEs
yunohost-bot Dec 5, 2024
f7b29ec
Update manifest.toml
ericgaspar Dec 5, 2024
503d43e
Merge branch 'master' into testing
ericgaspar Dec 5, 2024
a40c87d
Auto-update READMEs
yunohost-bot Dec 5, 2024
c8bf2fa
Update tests.toml
ericgaspar Dec 6, 2024
53e1dac
Update upgrade
ericgaspar Dec 7, 2024
daae841
Update scripts/upgrade: gotta use -E for grep to recognize the + quan…
alexAubin Dec 10, 2024
a29f995
Helpers 2.1 (v30.0.3) (#746)
ericgaspar Dec 10, 2024
b4a9834
cleaning
ericgaspar Dec 11, 2024
ddbd0d2
Fix linter
ericgaspar Dec 11, 2024
7a3de93
Update nginx.conf
ericgaspar Dec 11, 2024
7bd9ff8
Update nginx.conf
ericgaspar Dec 11, 2024
9de599d
Update nginx.conf
ericgaspar Dec 11, 2024
125789f
Update nginx.conf
ericgaspar Dec 11, 2024
3acdd4e
Update nginx.conf
ericgaspar Dec 11, 2024
e0a2903
Update nginx.conf
ericgaspar Dec 11, 2024
6fa35e0
Update nginx.conf
ericgaspar Dec 11, 2024
27a0f35
Update nginx.conf
ericgaspar Dec 11, 2024
3792e6a
Update nginx.conf
ericgaspar Dec 11, 2024
0de16ba
Update nginx.conf
ericgaspar Dec 11, 2024
8bc0cff
Update manifest.toml
ericgaspar Dec 12, 2024
2e9a4c3
Auto-update READMEs
yunohost-bot Dec 12, 2024
893daef
fix
ericgaspar Dec 12, 2024
fc6f6d1
cleaning
ericgaspar Dec 12, 2024
c69a918
Merge branch 'master' into testing
ericgaspar Dec 16, 2024
e785d25
add headers (#763)
ericgaspar Dec 17, 2024
2a8269b
Update manifest.toml
ericgaspar Dec 17, 2024
f6be830
Update tests.toml
ericgaspar Dec 18, 2024
bab7c6f
Merge branch 'master' into testing
ericgaspar Dec 19, 2024
59216c5
Merge branch 'testing' into moar-doc
ericgaspar Dec 19, 2024
225f1bb
move function to common.sh (#764)
ericgaspar Dec 19, 2024
773ada7
add default_phone_region
ericgaspar Dec 19, 2024
3fb2bb6
Update nginx.conf
ericgaspar Dec 19, 2024
25341f9
Update install
ericgaspar Dec 19, 2024
85c3187
Fix upgrade exploding when $app is nextcloud__2, __3 etc because the …
rodinux Dec 20, 2024
5e4f393
Bump package revision
yunohost-bot Dec 20, 2024
a8378a5
Auto-update READMEs
yunohost-bot Dec 20, 2024
be58bb1
Patch (#768)
ericgaspar Dec 21, 2024
ff3899f
Merge branch 'master' into testing
ericgaspar Dec 24, 2024
e938aeb
Fix fail2ban failregex
looowizz Dec 26, 2024
1a1d9d1
30.0.5
ericgaspar Jan 17, 2025
863381c
Auto-update READMEs
yunohost-bot Jan 17, 2025
ced3d91
Update restore
ericgaspar Jan 19, 2025
dc0fb3d
Update upgrade (#777)
ericgaspar Jan 19, 2025
c6489b6
Update upgrade
ericgaspar Jan 19, 2025
57b41db
Update manifest.toml
ericgaspar Jan 19, 2025
8947bb8
Update manifest.toml
ericgaspar Jan 21, 2025
4c23d65
Update post_user_delete (#778)
ericgaspar Jan 26, 2025
6f01759
Merge branch 'master' into testing
ericgaspar Jan 30, 2025
7f1b13d
Update upgrade (#779)
ericgaspar Jan 30, 2025
8fa00f9
[fix] Remove eval JS patch cause yunohost tiles doesn't exists anymore
zamentur Feb 5, 2025
b9d53ed
Update manifest.toml
ericgaspar Feb 9, 2025
11eb850
Auto-update READMEs
yunohost-bot Feb 9, 2025
577da1f
cleaning
ericgaspar Feb 9, 2025
529c368
cleaning
ericgaspar Feb 9, 2025
a4c2c06
Update remove
ericgaspar Feb 9, 2025
83bb5a6
[enh] Allow login by mail (#783)
zamentur Feb 11, 2025
0d856a8
30.0.6
ericgaspar Feb 13, 2025
5e7de8c
Auto-update READMEs
yunohost-bot Feb 13, 2025
c9e4442
Merge branch 'master' into testing
ericgaspar Feb 13, 2025
a902183
Update manifest.toml
ericgaspar Feb 15, 2025
ffaebda
Merge branch 'testing' into master
kay0u Feb 15, 2025
ff44cfd
Merge pull request #770 from looowizz/master
kay0u Feb 15, 2025
631ac0c
Update manifest.toml
ericgaspar Feb 16, 2025
5d71127
Auto-update READMEs
yunohost-bot Feb 16, 2025
11e30da
[enh] Create custom fail2ban conf, with datepattern and more regex to…
kay0u Feb 18, 2025
04e8948
Merge branch 'master' into testing
ericgaspar Feb 22, 2025
9049d47
Update systemd.service
ericgaspar Feb 22, 2025
913ea56
Update DESCRIPTION_fr.md
ericgaspar Feb 22, 2025
7d70d56
Auto-update READMEs
yunohost-bot Feb 22, 2025
6637bdf
Merge branch 'testing' into moar-doc
ericgaspar Feb 24, 2025
e301b53
Merge branch 'testing' into moar-doc
ericgaspar Feb 26, 2026
d5e7e5a
Merge branch 'testing' into moar-doc
ericgaspar Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions doc/ADDITIONAL_STORAGE.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
### Ajouter de l'espace à Nextcloud
La solution I. permet d'ajouter un lien vers un dossier local ou distant.
La solution II. permet de déplacer l'espace de stockage principal de Nextcloud.

#### I. Ajouter un espace de stockage externe

Paramètre => [Administration] Stockages externe.

En bas de la liste vous pouvez rajouter un dossier (Il est possible de définir un sous dossier en utilisant la convention `dossier/sousDossier`.)
Sélectionner un type de stockage et indiquez les informations de connexion demandées.
Vous pouvez restreindre ce dossier à un ou plusieurs utilisateurs nextcloud avec la colonne `Disponible pour`.
Avec l'engrenage vous pouvez autoriser ou interdire la prévisualisation et le partage des fichiers.
Enfin cliquer sur la coche pour valider le dossier.

#### II. Migrer les données de Nextcloud dans une partition plus grosse

**Remarque** : Ce qui suit suppose que vous avez un disque dur monté sur `/media/stockage`. Référez-vous à [cet article](/external_storage) pour préparer votre système.

**Remarque** : Remplacez `nextcloud` par le nom de son instance, si vous avez plusieurs apps Nextcloud installées.

Commencez par éteindre le serveur web avec la commande :
```bash
systemctl stop nginx
```

##### Choix de l'emplacement

**Cas A : Stockage vierge, exclusif à Nextcloud**

Pour l'instant seul root peut y écrire dans `/media/stockage` ; ce qui signifie que NGINX et Nextcloud ne pourront donc pas l'utiliser.

```bash
chown -R nextcloud:nextcloud /media/stockage
chmod 775 -R /media/stockage
```

**Cas B : Stockage partagé, données déjà présentes, données Nextcloud dans un sous-dossier**

Si vous souhaitez utiliser ce disque pour d'autres applications, vous pouvez créer un sous-dossier appartenant à Nextcloud.

```bash
mkdir -p /media/stockage/nextcloud_data
chown -R nextcloud /media/stockage/nextcloud_data
chmod 775 -R /media/stockage/nextcloud_data
```

##### Migrer les données

Migrez vos données vers le nouveau disque. Pour ce faire *(soyez patient, cela peut être long)* :

```bash
Cas A : cp -ir /home/yunohost.app/nextcloud /media/stockage
Cas B : cp -ir /home/yunohost.app/nextcloud /media/stockage/nextcloud_data
```

L'option `i` permet de vous demander quoi faire en cas de conflit de fichier, notamment si vous écrasez un ancien dossier de données Owncloud ou Nextcloud.
Pour vérifier que tout s'est bien passé, comparer ce qu'affichent ces deux commandes (le contenu doit être identique) :

```bash
ls -la /home/yunohost.app/nextcloud

Cas A : ls -al /media/stockage
Cas B : ls -al /media/stockage/nextcloud_data/nextcloud
```

##### Configurer Nextcloud

Pour informer Nextcloud de son nouveau répertoire, modifiez le fichier `/var/www/nextcloud/config/config.php` avec la commande :

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

Cherchez la ligne :

```bash
'datadirectory' => '/home/yunohost.app/nextcloud/data',
```

Que vous modifiez :

```bash
CAS A : 'datadirectory' => '/media/stockage',
CAS B : 'datadirectory' => '/media/stockage/nextcloud_data/nextcloud/data',
```

Sauvegardez avec `ctrl+x` puis `y` ou `o` (dépend de la locale de votre serveur).

Relancez le serveur web :

```bash
systemctl start nginx
```

Ajouter le fichier .ocdata
```bash
CAS A : nano /media/stockage/.ocdata
CAS B : nano /media/stockage/nextcloud_data/nextcloud/data/.ocdata
```
Ajouter un espace au fichier pour pouvoir le sauvegarder

Sauvegardez avec `ctrl+x` puis `y` ou `o` (dépend de la locale de votre serveur).

Lancez un scan du nouveau répertoire par Nextcloud:

```bash
cd /var/www/nextcloud
sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all
```

C'est terminé. À présent testez si tout va bien, essayez de vous connecter à votre instance Nextcloud, envoyer un fichier, vérifiez sa bonne synchronisation.
118 changes: 118 additions & 0 deletions doc/ADDITIONAL_STORAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
### Adding storage space

Solution I. allows you to add a link to a local or remote folder.
Solution II. allows to move the main storage space of Nextcloud.

#### I. Add an external storage space

Parameter =>[Administration] External storage.

At the bottom of the list you can add a folder (It is possible to define a subfolder using the `folder/subfolder` convention.)
Select a storage type and specify the requested connection information.
You can restrict this folder to one or more nextcloud users with the column `Available for`.
With the gear you can allow or prohibit previewing and file sharing.
Finally click on the check mark to validate the folder.

#### II. Migrate Nextcloud data to a larger partition

**Note**: The following assumes that you have a hard disk mounted on `/media/storage`. Refer to[this article](/external_storage) to prepare your system.

**Note**: Replace `nextcloud` with the name of its instance, if you have several Nextcloud apps installed.

First turn off the web server with the command:
```bash
systemctl stop nginx
```

##### Choice of location

**Case A: Blank storage, exclusive to Nextcloud**

For the moment only root can write to it in `/media/storage`, which means that NGINX and Nextcloud will not be able to use it.

```bash
chown -R nextcloud:nextcloud /media/storage
chmod 775 -R /media/storage
```

**Case B: Shared storage, data already present, Nextcloud data in a subfolder**

If you want to use this disk for other applications, you can create a subfolder belonging to Nextcloud.

```bash
mkdir -p /media/storage/nextcloud_data
chown -R nextcloud /media/storage/nextcloud_data
chmod 775 -R /media/storage/nextcloud_data
```

##### Migrate data

Migrate your data to the new disk. To do this *(be patient, it can take a long time)*:

```bash
Case A: cp -ia /home/yunohost.app/nextcloud /media/storage
Case B: cp -ia /home/yunohost.app/nextcloud /media/storage/nextcloud_data
```

The `i` option allows you to ask yourself what to do if there is a file conflict, especially if you overwrite an old Owncloud or Nextcloud data folder.
To check that everything went well, compare what these two commands display (the content must be identical):

```bash
ls -la /home/yunohost.app/nextcloud

Case A: ls -al /media/storage
Case B: ls -al /media/storage/nextcloud_data/nextcloud
```

##### Configure Nextcloud

To inform Nextcloud of its new directory, modify the `/var/www/nextcloud/config/config.php` file with the command:

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

Look for the line:

```bash
'datadirectory' => '/home/yunohost.app/nextcloud/data',
```

That you modify:

```bash
CASE A:'datadirectory' =>'/media/storage',
CASE B:'datadirectory' =>'/media/storage/nextcloud_data/nextcloud/data',
```

Save it with `ctrl+x` then `y` or `o` (depending on your server locale).

Restart the web server:

```bash
systemctl start nginx
```

Add the.ocdata file
```bash
CASE A: nano /media/storage/.ocdata
CASE B: nano /media/storage/nextcloud_data/nextcloud/data/.ocdata
```
Add a space to the file to be able to save it

Back up with `ctrl+x` then `y` or `o` (depending on your server locale).

Run a scan of the new directory by Nextcloud:

```bash
cd /var/www/nextcloud
sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all
```

Update the YunoHost setting, so automatic upgrades and backups know where the datadir is located:
```bash
Case A: yunohost app setting nextcloud datadir -v /media/storage
Case B: yunohost app setting nextcloud datadir -v /media/storage/nextcloud_data/nextcloud/data/
```

It's over now. Now test if everything is fine, try connecting to your Nextcloud instance, upload a file, check its proper synchronization.