[Nextcloud] A cloud for personal or group use

New testing release :trophy:: thanks to @Kayou and @ericg :clap:

To try it run:
sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --debug

Works well on 2 instances on my server, thanks a lot!

1 Like

Hello,

Mise à jour 21.0.2 → 21.0.3 sans souci pour moi ce matin :+1:

Bref, nickel, merci !

Sangokuss.

Bonjour,

La mise à jour de la version 21.0.2 à la 21.0.3 s’est bien passée :+1:

Il y a les 2 “habituelles” alertes mineures que je verrais éventuellement à corriger :

  • celle du codage sur 4 octets ;
  • et celle du préfixe pour les numéros de téléphone.

Merci à tous les contributeurs <3

ppr

Hi @Limezy,
A hook must do the job.

Bon bah j’ai tenté une MAJ de 20.0.7 à 21.0.3 et j’ai l’impression que ça a flingué yuno … J’ai plus accès à rien, ni par le navigateur ni par ssh…
J’espère que c’est juste parce que ça dure très longtemps …

1 Like

Hello,

problème de fuite mémoire (remplissage du swap) depuis la maj de mon côté ([SWAP plein] : remplissage progressif et inexpliqué du swap - #12 by Maknho )

New stable release: :postal_horn:

10/09/2021 - #435

  • Upgrade to 22.1.1
  • Add is_public argument
  • Bullseye install

:warning: Update YunoHost and Nextcloud to fix a security flaw

9 Likes

Thanks !!! The updates went smoothly as usual :smile:
:metal:

1 Like

Mise à jour sans aucun souci ! :+1:

Merci à tous pour le travail réalisé.

Sango

Update to 22 is a a success :smiley:. Thanks to the yunohost Team for the great job!

De mon coté upgrade impossible :frowning:

2021-09-11 11:38:08,638: WARNING -  Starting ...
2021-09-11 11:38:08,639: DEBUG - 
2021-09-11 11:38:08,801: DEBUG - Updated <dav> to 1.18.0
2021-09-11 11:38:08,808: DEBUG - Updating <files_external> ...
2021-09-11 11:38:10,545: DEBUG - Updated <files_external> to 1.12.1
2021-09-11 11:38:10,565: DEBUG - Updating <files_sharing> ...
2021-09-11 11:38:12,128: DEBUG - Updated <files_sharing> to 1.13.2
2021-09-11 11:38:12,160: DEBUG - Updating <firstrunwizard> ...
2021-09-11 11:38:12,206: DEBUG - Updated <firstrunwizard> to 2.11.0
2021-09-11 11:38:12,207: DEBUG - Updating <nextcloud_announcements> ...
2021-09-11 11:38:12,389: DEBUG - Updated <nextcloud_announcements> to 1.11.0
2021-09-11 11:38:12,393: DEBUG - Updating <notifications> ...
2021-09-11 11:38:22,137: DEBUG - Updated <notifications> to 2.10.1
2021-09-11 11:38:22,142: DEBUG - Updating <files_pdfviewer> ...
2021-09-11 11:38:22,180: DEBUG - Updated <files_pdfviewer> to 2.3.0
2021-09-11 11:38:22,181: DEBUG - Updating <files_rightclick> ...
2021-09-11 11:38:22,221: DEBUG - Updated <files_rightclick> to 1.1.0
2021-09-11 11:38:22,222: DEBUG - Updating <files_videoplayer> ...
2021-09-11 11:38:22,263: DEBUG - Updated <files_videoplayer> to 1.11.0
2021-09-11 11:38:22,264: DEBUG - Updating <logreader> ...
2021-09-11 11:38:22,304: DEBUG - Updated <logreader> to 2.7.0
2021-09-11 11:38:22,306: DEBUG - Updating <photos> ...
2021-09-11 11:38:22,347: DEBUG - Updated <photos> to 1.4.0
2021-09-11 11:38:22,347: DEBUG - Updating <privacy> ...
2021-09-11 11:38:22,381: DEBUG - Updated <privacy> to 1.6.0
2021-09-11 11:38:22,384: DEBUG - Updating <recommendations> ...
2021-09-11 11:38:22,422: DEBUG - Updated <recommendations> to 1.1.0
2021-09-11 11:38:22,423: DEBUG - Updating <serverinfo> ...
2021-09-11 11:38:22,505: DEBUG - Updated <serverinfo> to 1.12.0
2021-09-11 11:38:22,508: DEBUG - Updating <support> ...
2021-09-11 11:38:22,539: DEBUG - Updated <support> to 1.5.0
2021-09-11 11:38:22,540: DEBUG - Updating <survey_client> ...
2021-09-11 11:38:22,613: DEBUG - Updated <survey_client> to 1.10.0
2021-09-11 11:38:22,614: DEBUG - Updating <text> ...
2021-09-11 11:38:22,656: DEBUG - Updated <text> to 3.3.0
2021-09-11 11:38:22,657: DEBUG - Updating <twofactor_backupcodes> ...
2021-09-11 11:38:22,739: DEBUG - Updated <twofactor_backupcodes> to 1.10.1
2021-09-11 11:38:22,740: DEBUG - Updating <viewer> ...
2021-09-11 11:38:22,780: DEBUG - Updated <viewer> to 1.6.0
2021-09-11 11:38:22,781: DEBUG - Checking for update of app accessibility in appstore
2021-09-11 11:38:23,543: DEBUG - Checked for update of app "accessibility" in App Store
2021-09-11 11:38:23,546: DEBUG - Checking for update of app activity in appstore
2021-09-11 11:38:23,547: DEBUG - Checked for update of app "activity" in App Store
2021-09-11 11:38:23,547: DEBUG - Checking for update of app calendar in appstore
2021-09-11 11:38:23,548: DEBUG - Update app calendar from App Store
2021-09-11 11:38:30,715: DEBUG - Checked for update of app "calendar" in App Store
2021-09-11 11:38:30,718: DEBUG - Checking for update of app cloud_federation_api in appstore
2021-09-11 11:38:30,719: DEBUG - Checked for update of app "cloud_federation_api" in App Store
2021-09-11 11:38:30,721: DEBUG - Checking for update of app comments in appstore
2021-09-11 11:38:30,722: DEBUG - Checked for update of app "comments" in App Store
2021-09-11 11:38:30,723: DEBUG - Checking for update of app contacts in appstore
2021-09-11 11:38:30,723: DEBUG - Checked for update of app "contacts" in App Store
2021-09-11 11:38:30,724: DEBUG - Checking for update of app contactsinteraction in appstore
2021-09-11 11:38:30,724: DEBUG - Checked for update of app "contactsinteraction" in App Store
2021-09-11 11:38:30,725: DEBUG - Checking for update of app dashboard in appstore
2021-09-11 11:38:30,725: DEBUG - Checked for update of app "dashboard" in App Store
2021-09-11 11:38:30,726: DEBUG - Checking for update of app dav in appstore
2021-09-11 11:38:30,726: DEBUG - Checked for update of app "dav" in App Store
2021-09-11 11:38:30,727: DEBUG - Checking for update of app documentserver_community in appstore
2021-09-11 11:38:30,727: DEBUG - Checked for update of app "documentserver_community" in App Store
2021-09-11 11:38:30,728: DEBUG - Checking for update of app drawio in appstore
2021-09-11 11:38:30,728: DEBUG - Checked for update of app "drawio" in App Store
2021-09-11 11:38:30,729: DEBUG - Checking for update of app duplicatefinder in appstore
2021-09-11 11:38:30,729: DEBUG - Update app duplicatefinder from App Store
2021-09-11 11:38:34,506: DEBUG - An unhandled exception has been thrown:
2021-09-11 11:38:34,507: DEBUG - Error: Undefined class constant 'ID' in /var/www/nextcloud/apps/duplicatefinder/lib/Migration/RepairFileInfos.php:47
2021-09-11 11:38:34,507: DEBUG - Stack trace:
2021-09-11 11:38:34,507: DEBUG - #0 /var/www/nextcloud/lib/private/Repair.php(120): OCA\DuplicateFinder\Migration\RepairFileInfos->getName()
2021-09-11 11:38:34,508: DEBUG - #1 /var/www/nextcloud/lib/private/legacy/OC_App.php(1059): OC\Repair->run()
2021-09-11 11:38:34,508: DEBUG - #2 /var/www/nextcloud/lib/private/legacy/OC_App.php(1001): OC_App::executeRepairSteps('duplicatefinder', Array)
2021-09-11 11:38:34,509: DEBUG - #3 /var/www/nextcloud/lib/private/Installer.php(202): OC_App::updateApp('duplicatefinder')
2021-09-11 11:38:34,509: DEBUG - #4 /var/www/nextcloud/lib/private/Updater.php(422): OC\Installer->updateAppstoreApp('duplicatefinder')
2021-09-11 11:38:34,510: DEBUG - #5 /var/www/nextcloud/lib/private/Updater.php(268): OC\Updater->upgradeAppStoreApps(Array)
2021-09-11 11:38:34,510: DEBUG - #6 /var/www/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade('22.0.0.11', '21.0.3.1')
2021-09-11 11:38:34,510: DEBUG - #7 /var/www/nextcloud/core/Command/Upgrade.php(241): OC\Updater->upgrade()
2021-09-11 11:38:34,510: DEBUG - #8 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2021-09-11 11:38:34,511: DEBUG - #9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2021-09-11 11:38:34,511: DEBUG - #10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2021-09-11 11:38:34,511: DEBUG - #11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2021-09-11 11:38:34,511: DEBUG - #12 /var/www/nextcloud/lib/private/Console/Application.php(209): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2021-09-11 11:38:34,512: DEBUG - #13 /var/www/nextcloud/console.php(99): OC\Console\Application->run()
2021-09-11 11:38:34,512: DEBUG - #14 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
2021-09-11 11:38:34,556: DEBUG - #15 {main}+ '[' 1 -eq 3 ']'
2021-09-11 11:38:34,557: DEBUG - + ynh_die '--message=Unable to upgrade Nextcloud'
2021-09-11 11:38:34,581: DEBUG - + ret_code=1
2021-09-11 11:38:34,581: DEBUG - + echo 'Unable to upgrade Nextcloud'
2021-09-11 11:38:34,581: DEBUG - + exit 1
2021-09-11 11:38:34,581: DEBUG - + ynh_exit_properly
2021-09-11 11:38:34,582: DEBUG - + local exit_code=1
2021-09-11 11:38:34,582: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-09-11 11:38:34,582: WARNING -     0/0 [>---------------------------]   0%Unable to upgrade Nextcloud
2021-09-11 11:38:34,583: DEBUG - + '[' 1 -eq 0 ']'
2021-09-11 11:38:34,583: DEBUG - + trap '' EXIT
2021-09-11 11:38:34,584: DEBUG - + set +o errexit
2021-09-11 11:38:34,584: DEBUG - + set +o nounset
2021-09-11 11:38:34,584: DEBUG - + sleep 0.5
2021-09-11 11:38:35,086: DEBUG - + type -t ynh_clean_setup
2021-09-11 11:38:35,087: DEBUG - + ynh_clean_setup
2021-09-11 11:38:35,087: DEBUG - + ynh_restore_upgradebackup
2021-09-11 11:38:35,088: DEBUG - + ynh_print_err '--message=Upgrade failed.'
2021-09-11 11:38:35,104: DEBUG - + ynh_print_log '[Error] Upgrade failed.'
2021-09-11 11:38:35,104: DEBUG - + echo -e '[Error] Upgrade failed.'
2021-09-11 11:38:35,104: DEBUG - + local app_bck=nextcloud
2021-09-11 11:38:35,104: DEBUG - + NO_BACKUP_UPGRADE=0
2021-09-11 11:38:35,105: DEBUG - + '[' 0 -eq 0 ']'
2021-09-11 11:38:35,105: DEBUG - + ynh_backup_archive_exists nextcloud-pre-upgrade1
2021-09-11 11:38:35,105: WARNING - [Error] Upgrade failed.

Je suppose que ca vient de la

`2021-09-11 11:38:34,507: DEBUG - Error: Undefined class constant 'ID' in /var/www/nextcloud/apps/duplicatefinder/lib/Migration/RepairFileInfos.php:47`

@melphios , deactivate duplicatefinder and restart Nextcloud upgrade.

Yep I think you’re right/ I had a to fast and bad reading of the log file :slight_smile:
I’m going to test it right know

Edit : You were right that work flawlessly after disabling duplicate finder, thanks @ericg

Perfect update on my side.
Thanks again to the whole team !

Bonsoir,

Mise à jour sans souci.
Merci <3

ppr

[Edit : Plantage résolu par magie]

Plop

Update foirée :o => PrivateBin (j’ai caviardé les noms de mes users, d’où passage par mon zerobin au lieu du yunopaste)

Sans doute un soucis sur ma config, puisque l’update est passée sans soucis sur un autre de mes serveurs.

Bon, y a 2694 lignes, c’est long et chiant, je pense que le bloc le plus interessant est ici : PrivateBin

Ah, tiens, encore ce duplicatefinder, allons le désactiver \o/

Une erreur est survenue durant la requête. Impossible de traiter la demande.✖

Mouais, en plus tenter de désactiver ce truc semble avoir pété Nextcloud :

## Mode maintenance

Cette instance de Nextcloud est en cours de maintenance, cela peut prendre du temps. Cette page se rafraîchira d'elle-même lorsque le serveur sera de nouveau disponible.

Veuillez contacter votre administrateur système si ce message persiste ou apparaît de façon inattendue.

=> Hard reboot avec yunohost tools reboot

=> Persistance du mode maintenance. Y a un moyen de réparer ça sans passer par une resto de l’app :x ?

Edit : Nevermind, tant qu’à y aller salement j’ai retenté l’update de nextcloud : c’est passé, ça remarche. \o/

Par contre j’ignore pourquoi :x

J’ignore pourquoi j’ai encore sur un des serveurs yunohost que je maintiens (sur un raspberry 3B+) une instance Nextcloud 22.1.1 avec un message

MySQL est utilisée comme base de données mais ne supporte pas les caractères codés sur 4 octets.

alors que je croyais ce problème résolu depuis un moment ??

Nope, ça sera résolu quand cette pull request sera mergée : Use PostgreSQL instead of MySQL (fixes #107) by JimboJoe · Pull Request #125 · YunoHost-Apps/nextcloud_ynh · GitHub

J’ai eu ce problème sur une instance nextcloud hébergée chez un webhost. J’ai cherché et trouvé cette solution :
https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/mysql_4byte_support.html

Bonjour à toutes et à tous,

Mon serveur, qui tourne notamment Nexcloud, subit des montées de charge régulières (au moins une fois par jour) qui le mettent à genou. Cela est causé, je pense, par des process “php-fpm7.3” lancés par Nexcloud (ou alors mysql ?).

J’avais expliqué mon soucis dans ce fil :


Dans ces situations, parfois, pour décharger la bête, je lance un “sudo systemctl restart php7.3-fpm”. Est-ce une bonne idée ?
D’autres personnes impactées ?
Des idées de comment investiguer et régler cela ?
Merci beaucoup !