J’ai essayé de bidouiller config.php de nextcloud, local.json et default.json d’onlyoffice. Mais ça n’a pas marché.
J’ai fini par désinstaller onlyoffice et réinstaller et j’ai ajouté
‘allow_local_remote_servers’ => true,
‘onlyoffice’=>
array ( ‘verify_peer_off’ => true, ),
A config.php et ça a marché.
Le seul hic c’est que je n’ai toujours pas de secret key pour onlyoffice.
Update went right, but for 45min the server was under heavy load.
Be sure to wait to the end of the update before trying anything (and I’m not on a raspberry, so it can be way longer)
I didn’t try to install it since I saw a lot of negative comments on the store https://apps.nextcloud.com/apps/documentserver_community
They talk about data loss and not being able to save documents.
The onlyoffice server in yunohost is reliable and stable, the only issue I have is that I can’t set a secret key, so anyone who knows the address can use it without needing a key.
You can edit the file /etc/onlyoffice/documentserver/local.json, set to true all tokens “inbox”, “outbox” and “browser”, define the secret, and run sudo supervisorctl restart all
Yes I read this thread and a lot of other threads. Modifying local.json doesn’t make a difference. I already set inbox, outbox and browser to true and defined a secret key, but in the connector, it doesn’t connect if I input the secret key, but if I leave it blank, it connects.
I discussed it with @addictif80 and we didn’t find a way, here NextCloud vraiment lent - #21 by jarod5001
I am with YunoHost 4.2.8.3 (stable).
I tried to update from Nextcloud 22.1.1~ynh1 to 22.2.0~ynh1 and it failed (log at https://paste.yunohost.org/raw/lenafoyuhu)
Nextcloud was kept at its previous stage.
But it remains in maintenance mode.
So I did :
admin@xxx:~$ cd /var/www/nextcloud/
admin@xxx:/var/www/nextcloud$ sudo -u nextcloud /usr/bin/php7.3 occ maintenance:mode --off
[sudo] password for admin:
Sorry, user admin is not allowed to execute '/usr/bin/php7.3 occ maintenance:mode --off' as nextcloud on bb.yyy.zz.
admin@xxx:/var/www/nextcloud$ su
Password:
root@xxx:/var/www/nextcloud# sudo -u nextcloud /usr/bin/php7.3 occ maintenance:mode --off
An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
But it failed again so I can’t have back my Nextcloud on.
Could you give me some advice where to look for a solution?
Salut,
J’ai trouvé la cause probable de ces montées de charge.
Dans “Paramètres → Stockage externe”, j’avais les stockages externes “Multimedia” et “Shared multimedia” dupliqué 5 fois chacun. Càd 5 lignes “Multimedia” et 5 lignes “Shared multimedia”.