[Nextcloud] A cloud for personal or group use

Bonjour,

Mise à jour réalisée ce matin, aucun problÚme à signaler :+1:
Merci pour la réactivité face à ce problÚme de sécurité :sunglasses:

Sangokuss

Bonjour,

Upgrade faite Ă©galement ce matin sans aucun problĂšmes avec en plus une ribambelle d’apps Nextcloud activĂ©es! :grin: Idem, merci pour la rĂ©activitĂ©.

En ce qui me concerne j’ai une erreur lors de la mise à jour de l’application

WARNING - cp: cannot stat ‘/etc/nginx/conf.d/XXX.DOMAIN.tld/nextcloud.conf’: No such file or directory

Effectivement, ce fichier n’existe pas. J’ai une installation standard

Le problĂšme Ă©tait chez moi. J’ai rĂ©installĂ© et c’est good.

Have you been informed on the new ransomware that targets NextCloud ?
It seems it uses a vulnerability linked to Nginx.
See https://www.bleepingcomputer.com/news/security/new-nextcry-ransomware-encrypts-data-on-nextcloud-linux-servers/
Seems linked to https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm/
“Nextcloud’s recommendation for administrators is to upgrade their PHP packages and NGINX configuration file to the latest version.”

Is our Yunohost install vulnerable ?

:wink:

New testing release :tada:

sudo yunohost app install https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --debug
or
sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing
1 Like

Bonsoir,

Je viens de passer de la version stable 15.0.12 Ă  la testing 15.0.13.

yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing
Info : Mise à jour de l’application nextcloud 

Info : [
] > Loading installation settings

Info : [+
] > Ensuring downward compatibility

Info : [#+++++++
] > Backing up the app before upgrading (may take a while)

Attention : 4819 [WARN] /home/yunohost.app/nextcloud/data will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info : [########+
] > Upgrading nginx web server configuration

Info : [#########
] > Making sure dedicated system user exists

Info : [#########+
] > Upgrading php-fpm configuration

Info : [##########++
] > Upgrading dependencies

Info : [############
] > Upgrading nextcloud

Attention : warning: commands will be executed using /bin/sh
Info : Upgrade to nextcloud 15.0.13
Attention : job 3 at Fri Dec 6 20:37:00 2019
Info : /tmp/tmp.tuksllZdP0 wasn’t deleted because it doesn’t exist.
Info : [############+++
] > Reconfiguring nextcloud

Attention : [WARN] File /var/www/nextcloud/config/config.php has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20191206.202752
Attention : Les fichiers /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20191206.202752 et /var/www/nextcloud/config/config.php sont identiques
Attention : 2019-12-06 20:27:55 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.2 [15921] -> “v1.2.tar.gz” [1]
Info : [###############+
] > Updating multimedia directories

Attention : [WARN] Note that if you’ve installed some third-parties Nextcloud applications, they are probably disabled and you’ll have to manually enable them again.
Info : [################+
] > Upgrading logrotate configuration

Info : [#################+
] > Reconfiguring fail2ban

Info : [##################+.] > Upgrading SSOwat configuration

Info : [###################.] > Reloading nginx web server

Info : [####################] > Upgrade of nextcloud completed
SuccÚs ! nextcloud a été mis à jour
SuccÚs ! La configuration de SSOwat a été générée
SuccÚs ! Mise à jour terminée

Tout semble fonctionner :

  • crĂ©ation d’un dossier test : OK
  • tĂ©lĂ©versement d’un fichier test : OK
  • suppression du dossier test : OK
  • suppression du fichier test : OK
  • pas besoin de rĂ©activer le module Contacts
  • pas besoin de rĂ©activer le module Agenda
  • pas besoin de rĂ©activer le module Synchronisation SMS
  • crĂ©ation d’un Ă©vĂšnement test1 dans l’agenda depuis le panel web : OK
  • crĂ©ation d’un Ă©vĂšnement test2 dans l’agenda depuis l’application AndroĂŻd : OK
  • suppression de l’évĂšnement test2 de l’agenda depuis le panel web : OK
  • suppression de l’évĂšnement test1 de l’agenda depuis l’application AndroĂŻd : OK
  • toujours les 2 avertissements mineurs concernant le codage sur 4 octets MySQL et la version de PHP liĂ©e Ă  la version Debian Stretch

Encore du bon boulot :slight_smile:
Merci @JimboJoe <3

ppr

2 Likes

New stable release :tada:

1 Like

New testing release :tada:

  • 29 December 2019 - #249
    • Upgrade to Nextcloud 15.0.14
    • Use ynh_get_scalable_phpfpm to adapt php to the actual device (avoid crashing on low-end devices)
sudo yunohost app install https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --debug
or
sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing
3 Likes

Bonjour,

Je viens de passer de la version stable 15.0.13 Ă  la testing 15.0.14.

yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing
Info : Mise à jour de l’application nextcloud 

Info : [
] > Loading installation settings

Info : [+
] > Ensuring downward compatibility

Info : [#+++++++
] > Backing up the app before upgrading (may take a while)

Attention : 9332 [WARN] /home/yunohost.app/nextcloud/data will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info : [########+
] > Upgrading nginx web server configuration

Attention : [WARN] Another app already uses the domain ***.ynh.fr to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.
Info : [#########
] > Making sure dedicated system user exists

Info : [#########+
] > Upgrading php-fpm configuration

Info : [##########++
] > Upgrading dependencies

Info : [############
] > Upgrading nextcloud

Attention : warning: commands will be executed using /bin/sh
Attention : job 4 at Sun Dec 29 13:23:00 2019
Info : Upgrade to nextcloud 15.0.14
Info : /tmp/tmp.hEqGnFJhs3 wasn’t deleted because it doesn’t exist.
Info : [############+++
] > Reconfiguring nextcloud

Attention : [WARN] File /var/www/nextcloud/config/config.php has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20191229.131420
Attention : Les fichiers /home/yunohost.conf/backup//var/www/nextcloud/config/config.php.backup.20191229.131420 et /var/www/nextcloud/config/config.php sont identiques
Attention : 2019-12-29 13:14:23 URL:https://codeload.github.com/YunoHost-Apps/yunohost.multimedia/tar.gz/v1.2 [15921] -> “v1.2.tar.gz” [1]
Info : [###############+
] > Updating multimedia directories

Attention : [WARN] Note that if you’ve installed some third-parties Nextcloud applications, they are probably disabled and you’ll have to manually enable them again.
Info : [################+
] > Upgrading logrotate configuration

Info : [#################+
] > Reconfiguring fail2ban

Info : [##################+.] > Upgrading SSOwat configuration

Info : [###################.] > Reloading nginx web server

Info : [####################] > Upgrade of nextcloud completed
SuccÚs ! nextcloud a été mis à jour
SuccÚs ! La configuration de SSOwat a été générée
SuccÚs ! Mise à jour terminée

Tout semble fonctionner :

  • tĂ©lĂ©versement d’un fichier test : OK
  • suppression du fichier test : OK
  • pas besoin de rĂ©activer le module Contacts
  • pas besoin de rĂ©activer le module Agenda
  • pas besoin de rĂ©activer le module Synchronisation SMS
  • crĂ©ation d’un Ă©vĂšnement test dans l’agenda depuis le panel web : OK
  • suppression de l’évĂšnement test de l’agenda depuis l’application AndroĂŻd : OK
  • toujours les 2 avertissements mineurs concernant le codage sur 4 octets MySQL et la version de PHP liĂ©e Ă  la version Debian Stretch
  • 2 avertissements caldav et carddav par rapport Ă  la configuration du serveur, mais j’ai quand mĂȘme pu crĂ©er un rendez-vous et le supprimer.

Merci @JimboJoe <3

ppr

1 Like

Bonjour,

Mise à jour réalisée ce matin sans souci.

:+1:

1 Like

Bonjour Ă  tous,

Idem, mise à jour passée sans soucis malgré toute la tonne dŽapps installées et non désactivées pour la MAJ :smiley:

thierry

DĂ©solĂ©, j’ai eut une erreur en exĂ©cutant la commande :

sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing

J’ai ensuite le message suivant :

This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.1.+ ynh_exit_properly

:confused:

De meme ici ! @Guillermo
Mais je pense que le repo sury n’a pas arrangĂ© les choses chez moi, je ne sais pas pourquoi il a Ă©tĂ© ajoutĂ© 
 resultat j’ai tout cassĂ©

Hello @JimboJoe, thanks for the new release.
I ran into an issue when trying to upgrade my nextcloud instance.

2020-01-06 16:28:49,027: DEBUG - This ********** of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.1.+ ynh_exit_properly

I ran a yunohost upgrade before attempting to upgrade nextcloud. And some PHP files were updated, see below :

2020-01-06 15:43:42,472: INFO - +The following NEW packages will be installed:
2020-01-06 15:43:42,472: INFO - + php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json
2020-01-06 15:43:42,473: INFO - + php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline
2020-01-06 15:43:42,473: INFO - + php7.4-xml
2020-01-06 15:43:42,473: INFO - +The following packages will be upgraded:
2020-01-06 15:43:42,474: INFO - + libpcre2-8-0 nodejs php-common php-curl php-fpm php-gd php-intl php-ldap
2020-01-06 15:43:42,474: INFO - + php-mbstring php-mysql php-xml php7.0-cli php7.0-common php7.0-curl
2020-01-06 15:43:42,475: INFO - + php7.0-fpm php7.0-gd php7.0-intl php7.0-json php7.0-ldap php7.0-mbstring
2020-01-06 15:43:42,475: INFO - + php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml
2020-01-06 15:43:42,475: INFO - + php7.0-zip php7.3-cli php7.3-common php7.3-curl php7.3-fpm php7.3-gd
2020-01-06 15:43:42,476: INFO - + php7.3-intl php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql
2020-01-06 15:43:42,476: INFO - + php7.3-opcache php7.3-readline php7.3-xml php7.4-common php7.4-zip
2020-01-06 15:43:42,878: INFO - +41 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.

Hi,

Maybe these topics could helps you :


ppr

1 Like

Bonjour, j’ai eu un soucis lors de la derniùre update.
J’ai suivi la procĂ©dure pour dĂ©placer le fichiers du dossier data dans un autre dossier, j’ai donc supprimer le contenu de l’ancien dossier et lors de l’update il y a eu une erreur , donc en fouillant dans les logs , il s’avĂšre que la cause de l’erreur est du au fichier nextcloud log ( je sais plus comment il s’appel exactement) j’ai donc rĂ©tabli l’ancien fichier et l’update s’est bien faite.
Je sais pas si sa peut ĂȘtre intĂ©grĂ© dans le script d’update et savoir si le fichier est prĂ©sent ou pas et le crĂ©er au besoin.

New stable release :tada:

  • 25 January 2019 - #249
    • Upgrade to Nextcloud 15.0.14
    • Use ynh_get_scalable_phpfpm to adapt php to the actual device (avoid crashing on low-end devices)

Bonjour,
Un nouveau message d’avertissement que je n’avais pas avec la 15.0.13

PHP ne semble pas ĂȘtre configurĂ© de maniĂšre Ă  rĂ©cupĂ©rer les valeurs des variables d’environnement. Le test de la commande getenv(“PATH”) retourne seulement une rĂ©ponse vide. Veuillez consulter la documentation d’installation :arrow_upper_right:pour savoir comment configurer PHP sur votre serveur, en particulier en cas d’utilisation de php-fpm.

Affichage en double de certaines valeurs dans le fichier de configuration php:

pm.max_children = 9
pm.max_children = 9

pm.start_servers = 2
pm.start_servers = 2

; Note: Used only when pm is set to ‘dynamic’
; Note: Mandatory when pm is set to ‘dynamic’
pm.min_spare_servers = 1
pm.min_spare_servers = 1

; Note: Used only when pm is set to ‘dynamic’
; Note: Mandatory when pm is set to ‘dynamic’
pm.max_spare_servers = 4
pm.max_spare_servers = 4

Sinon toujours les messages concernant la version de php et le non support des caractÚres codés sur 4 octets pour MySQL.
Malgré ces quelques erreurs, tout fonctionne normalement.