[Official app] Nextcloud

fr
en

#81

New big testing release

  • 04 Aug 2018 - #133
    • Correctly copy existing apps in the new Nextcloud apps directory during upgrade #124
    • Use a temporary directory in /var/www instead of /tmp since when /tmp is too small is generally because of an old YunoHost iso. #127
    • Fix a remaining bug and activate multi-instance in manifest and check_process #130
    • Upgrade to latest version 13.0.5 #132
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 --debug

#82

Bonsoir @Maniack_Crudelis ,

Tout d’abord : MERCI :slight_smile:
Je suis sur un VPS avec YunoHost stable v3.0.0.1 sur base Debian 9 Stretch en 64.
Upgrade de la stable 13.0.2 vers cette version 13.0.5 sans problème.
La conservation des applications existantes a fonctionné (agenda, contact, discussion et SMS).
Encore merci !

ppr


#83

Merci pour ton retour @ppr, c’est très important pour nous de savoir si les testing fonctionnent comme prévu.
Ça nous permet de sortir une release globale pour l’app en ayant l’assurance qu’on ne va pas tout cassé.


#84

A new release is available for Nextcloud :tada::tada::tada:

  • 23 2018 - #133
    • Correctly copy existing apps in the new Nextcloud apps directory during upgrade #124
    • Use a temporary directory in /var/www instead of /tmp since when /tmp is too small is generally because of an old YunoHost iso. #127
    • Fix a remaining bug and activate multi-instance in manifest and check_process #130
    • Upgrade to latest version 13.0.5 #132

#85

Hello

I tryed to install nexcloud yesterday on Debian 9.5 and Yunohost last verstion 3.1 and the installation works well but when I want to go to nextcloud I have a white page

[24-Aug-2018 13:38:13] NOTICE: ready to handle connections
[24-Aug-2018 13:38:13] NOTICE: systemd monitor interval set to 10000ms
[24-Aug-2018 13:38:13] WARNING: [pool nextcloud] child 15171 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[24-Aug-2018 13:38:14] WARNING: [pool nextcloud] child 15170 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[24-Aug-2018 13:39:49] WARNING: [pool nextcloud] child 15171 said into stderr: “NOTICE: Access to the script ‘/var/www/nextcloud/index.php/’ has been denied (see security.limit_extensions)”


#86

Bonsoir @Maniack_Crudelis ,

J’avais passé mon instance YunoHost en “Testing” pour installer cette v13.0.5 testing.
Puis, après cette installation qui s’était déroulé sans problème (up dans le thread), j’avais repassé mon instance en stable tout en conservant Nextcloud en Testing.

Aujourd’hui, je suis donc passé de la v13.0.5 testing en v13.0.5 stable sans souci.
J’ai toujours accès aux applications installées (agenda, contact, discussion et SMS).

ppr


#87

Nice !

Thanks for you feedback :slight_smile:


#88

@tofeo I have also a " 502 Bad Gateway" when trying to connect to Nextcloud after a successful update to 13.0.5.

In the /var/log/nginx/nos.arbr.es-error.log, I find

2018/08/25 21:57:43 [error] 15930#15930: *30778 connect() to unix:/var/run/php/php7.0-fpm-nextcloud.sock failed (111: Connection refused) while connecting to upstream, client: 999.999.99.99, server: www.monserveur.fr, request: “GET /nextcloud/status.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm-nextcloud.sock:”, host: “www.monserveur.fr

and also

2018/08/25 21:49:27 [error] 15928#15928: *30666 connect() to unix:/var/run/php/php7.0-fpm-nextcloud.sock failed (111: Connection refused) while connecting to upstream, client: 999.999.99.99, server: www.monserveur.fr, request: “MKCOL /nextcloud/remote.php/webdav/Jnotes//.sync/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm-nextcloud.sock:”, host: “www.monserveur.fr

And in /var/log/php7.0-fpm.log

[25-Aug-2018 18:41:40] WARNING: [pool nextcloud] child 2227 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 18:41:41] WARNING: [pool nextcloud] child 2229 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:02:07] NOTICE: Reloading in progress …
[25-Aug-2018 20:02:07] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", “–nodaemonize”, “–fpm-config”, “/etc/php/7.0/fpm/php-fpm.conf”})
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=7, “/var/run/php/php-fpm-freshrss.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=7, “/var/run/php/php-fpm-freshrss.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm-kanboard.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=8, “/run/php/php7.0-fpm-kanboard.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=9, “/run/php/php7.0-fpm-nextcloud.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=9, “/run/php/php7.0-fpm-nextcloud.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=10, “/var/run/php/php7.0-fpm-wallabag2.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=10, “/var/run/php/php7.0-fpm-wallabag2.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=11, “/run/php/php7.0-fpm.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=11, “/run/php/php7.0-fpm.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=12, “/var/run/php/php7.0-fpm-yourls.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=12, “/var/run/php/php7.0-fpm-yourls.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=13, “/run/php/php7.0-fpm-zerobin.sock”
[25-Aug-2018 20:02:07] NOTICE: using inherited socket fd=13, “/run/php/php7.0-fpm-zerobin.sock”
[25-Aug-2018 20:02:07] ERROR: An another FPM instance seems to already listen on /var/run/php/php7.0-fpm-kanboard.sock
[25-Aug-2018 20:02:07] ERROR: An another FPM instance seems to already listen on /var/run/php/php7.0-fpm-kanboard.sock
[25-Aug-2018 20:02:07] ERROR: FPM initialization failed
[25-Aug-2018 20:02:07] ERROR: FPM initialization failed
[25-Aug-2018 20:02:29] NOTICE: fpm is running, pid 9570
[25-Aug-2018 20:02:29] NOTICE: ready to handle connections
[25-Aug-2018 20:02:29] NOTICE: systemd monitor interval set to 10000ms
[25-Aug-2018 20:02:29] WARNING: [pool kanboard] child 9575 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:02:29] WARNING: [pool kanboard] child 9577 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:02:29] WARNING: [pool kanboard] child 9578 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:02:29] WARNING: [pool nextcloud] child 9579 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:02:29] WARNING: [pool nextcloud] child 9580 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”
[25-Aug-2018 20:09:12] NOTICE: Reloading in progress …
[25-Aug-2018 20:09:12] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.0", {"/usr/sbin/php-fpm7.0", “–nodaemonize”, “–fpm-config”, “/etc/php/7.0/fpm/php-fpm.conf”})
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=7, “/var/run/php/php-fpm-freshrss.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=7, “/var/run/php/php-fpm-freshrss.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=8, “/var/run/php/php7.0-fpm-kanboard.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=8, “/var/run/php/php7.0-fpm-kanboard.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=9, “/run/php/php7.0-fpm-nextcloud.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=9, “/run/php/php7.0-fpm-nextcloud.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=10, “/var/run/php/php7.0-fpm-wallabag2.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=10, “/var/run/php/php7.0-fpm-wallabag2.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=11, “/run/php/php7.0-fpm.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=11, “/run/php/php7.0-fpm.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=12, “/var/run/php/php7.0-fpm-yourls.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=12, “/var/run/php/php7.0-fpm-yourls.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=13, “/run/php/php7.0-fpm-zerobin.sock”
[25-Aug-2018 20:09:13] NOTICE: using inherited socket fd=13, “/run/php/php7.0-fpm-zerobin.sock”
[25-Aug-2018 20:09:13] ERROR: An another FPM instance seems to already listen on /var/run/php/php7.0-fpm-nextcloud.sock
[25-Aug-2018 20:09:13] ERROR: An another FPM instance seems to already listen on /var/run/php/php7.0-fpm-nextcloud.sock
[25-Aug-2018 20:09:13] ERROR: FPM initialization failed
[25-Aug-2018 20:09:13] ERROR: FPM initialization failed

Does anyone knows what I should do to repair my nextcloud, wallabag, Freshrss… that all bring me now to " 502 Bad Gateway" ?
Thanks in advance !

Edit : I restarted the server and it seems it works now… but no idea where the problem came from.


#89

I recently upgraded to Stretch (yunohost 3.10), and now I am unable to update Nextcloud (13.02>13.05). Here is the output from “upgrade all apps”:

https://paste.yunohost.org/cicipumume

This seems the relevant bit:

yunohost.app app_upgrade - [627.38] Upgrading app nextcloud…

2018-08-26 17:10:13,142 WARNING  yunohost.hook <lambda> - [627.38] mysqldump: Got error: 1045: "Access denied for user 'root'@'localhost' (using password: YES)" when trying to connect

2018-08-26 17:10:13,146 WARNING  yunohost.hook <lambda> - [627.38] !!

2018-08-26 17:10:13,147 WARNING  yunohost.hook <lambda> - [627.38]   nextcloud's script has encountered an error. Its execution was cancelled.

2018-08-26 17:10:13,149 WARNING  yunohost.hook <lambda> - [627.38] !!

2018-08-26 17:10:13,150 WARNING  yunohost.hook <lambda> - [627.38] 

2018-08-26 17:10:13,352 WARNING  yunohost.hook <lambda> - [627.38] Unable to back up the app 'nextcloud'

2018-08-26 17:10:13,355 WARNING  yunohost.hook <lambda> - [627.38] There is nothing to save

2018-08-26 17:10:13,457 WARNING  yunohost.hook <lambda> - [627.38] Backup failed, the upgrade process was aborted.

2018-08-26 17:10:13,562 ERROR    yunohost.app app_upgrade - [627.38] Unable to upgrade nextcloud

Thanks for any help!

Edit:
This has been solved, with the solution found here: https://github.com/YunoHost-Apps/nextcloud_ynh/issues/136


#90

Après la dernière mise à jour de nextcloud, le service php7.0-fpm était arrêté. Je l’ai relancé et ça a marché.
Par contre toutes les applications dans nextcloud étaient restées activées, c’est cool !


#91

New testing version released :tada:


#92

Hi @JimboJoe ,

I’ll try it in english …

I’ve just upgrade from v13.0.5 stable to v13.0.6 testing with this command :

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

I can connect to Nextcloud and i’ve verified the version number 13.0.6 in the application, the apps are still there and seems to work (Contacts, Agenda and SMS).

ppr


#93

Bonjour à tous,
J’ai le même message dans Nextcloud, une idée?


#94

Sorry for this forgotten release,
now the version 13.0.6 is finally available for everyone in our stable release.


#95

Hi,
Is it normal that the upgrade to 13.0.6 is not available in the web admin ?
Thx


#96

That’s probably because the list is not yet updated on your server.
You can update it from the admin panel.


#97

Hello tout le monde ! :fr::honduras::greece::grenada::faroe_islands::ecuador::congo_kinshasa::belize::canada:
I updated from 13.0.2 to 13.0.6 stable without problem. :sunglasses:
Thanks for packaging.
Nath’


#98

Semblerait que ça ne soit pas très embêtant…
J’ai toujours mes erreurs, faut que je teste avec la dernière màj !


#100

Suite à l’upgrade Jessie vers Stretch, j’avais la même erreur, et voici ce que j’ai fait pour la corriger :

~# nano /etc/php/7.0/fpm/php.ini
Edition pour y configurer les valeurs recommandées et hop, j’obtiens “tous les test ont réussi”

:wink:


#101

Hi team, thanks @Maniack_Crudelis for the upkeep of this app.

Is there any solution yet for the PHP error messages ? They keep spawning every 2 to 6 hours… I’m on Raspbian Stretch with YNH 3.2.2.

[01-Nov-2018 18:48:39] WARNING: [pool nextcloud] child 3165 said into stderr: “ERROR: Unable to set php_value ‘always_populate_raw_post_data’”

Maybe there’s already another thread dealing with this ? It seems related to PHP7 rather than nextcloud alone (if I read @croulibri logs correctly).