JimboJoe October 6, 2019, 7:22am #1
Nextcloud for YunoHost
Overview
Nextcloud gives you freedom and control over your
own data. A personal cloud which run on your own server. With Nextcloud
you can synchronize your files over your devices.
Shipped version: 15.0.14
Screenshots
Admin%20Settings%20-%20Basic%20Settings.png1600×899
Configuration
Documentation
- Official documentation: Support - Nextcloud
- YunoHost documentation: to be created ; feel free to help!
YunoHost specific features
Multi-users support
- Integrate with YunoHost users and SSO - i.e. logout button
- Allow one user to be the administrator (set at the installation)
Miscellaneous
- Optionally access the user home folder from Nextcloud files (set at the
installation, the sharing is enabled by default) - Serve /.well-known paths for CalDAV and CardDAV on the domain only if it’s
not already served - i.e. by Baïkal
Supported architectures
- x86-64b -
- ARMv8-A -
Limitations
The following error message in Nextcloud logs can be safely ignored:
Following symlinks is not allowed (‘/home/yunohost.multimedia/user/Share’ → ‘/home/yunohost.multimedia/share/’ not inside ‘/home/yunohost.multimedia/user/’)
Additional informations
Links
- Report a bug: Issues · YunoHost-Apps/nextcloud_ynh · GitHub
- Nextcloud website: http://nextcloud.com
- YunoHost website: https://yunohost.org/
Résumé
Changelog
Testing branch
Master branch (Official release)
- 6 Oct - #224
- 10 Sept #221
- Upgrade to version 15.0.11
- 10 Sept #218
- Fix scope of exec_occ and create_external_storage functions
- 10 Sept #219
- Avoid OPcache errors (fixes #209)
- 10 Sept #221
- 10 Sept 2019 - #216
- 19 Jul - #214
- Upgrade to version 15.0.9
- 24 Jul - # 216
- Upgrade to version 15.0.10
- 7 Aug - #170
- [fix] Copy only app missing in new apps dir
- 19 Jul - #214
- 5 May 2019 - #184
- 20 Mar 2019 - #179
- fix nginx configuration to protect from path traversal issue
- 24 Mar 2019 - #182
- add fail2ban configuration
- 4 Apr 2019 - #188
- Fix impossible upload via web interface
- Fix OPcache warnings
- Fix PATH warning
- Fix always_populate_raw_post_data warning
- 20 Mar 2019 - #179
- 2 Apr 2019 - #181
- 23 Mar 2019 - #178
- Add change_url feature
- 22 Mar 2019 - #163
- Upgrade package scripts
- 12 Mar 2019 - #171
- Upgrade to latest version 15.0.5
- 12 Mar 2019 - #175
- Update install to fix localhost in notification
- 23 Mar 2019 - #178
- 20 Feb 2019 - #152
- 23 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
- 16 June 2018 - #117
- Add multimedia directories support with write access #111
- Upgrade to version 13.0.2 #113
- Fix Debian Stretch dependencies #116
- Fix automatic logout from YunoHost when logging out from Nextcloud #115
- Fix failed access after first installation #119
- 8 May 2018
- Fix installation on Debian Stretch #96
- 16 Apr 2018
- 13 Jan 2018 - #81
- Enable redis file locking for better performance
- 27 Jan 2018
- Fix logout
- Fix duplicate log entry in logrotat
- Upgrade to upstream version 12.0.5
- 13 Jan 2018 - #65
- Refactoring
- Upgrade to 12.0.3
- Upgrade to 12.0.4
FAQ
How can I effectively report a problem and ask for help?
Provide as much logs as you can:
- installation/upgrade log if applicable (you can look afterwards in /var/log/yunohost/yunohost-cli.log)
- web server error logs: /var/log/nginx/yourdomain.tld-errors.log
- Nextcloud logs /home/yunohost.app/nextcloud/data/nextcloud.log
Developers infos
Please do your pull request to the testing branch.
To try the testing branch, please proceed like that:
sudo yunohost app install GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug
or
sudo yunohost app upgrade nextcloud -u GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug
Nextcloud pour YunoHost
Résumé
Nextcloud vous donne la liberté et le contrôle sur votre propres données. Un nuage personnel qui s’exécute sur votre propre serveur. Avec Nextcloud
vous pouvez synchroniser vos fichiers sur vos appareils.
Version embarquée: 15.0.11
Captures d’écran
Configuration
Documentation
- Documentation officielle : Support - Nextcloud
- Documentation YunoHost : à créer ; n’hésitez pas à aider !
Fonctionnalités spécifiques à YunoHost
Support multi-utilisateurs
- Intégré avec les utilisateurs YunoHost et le SSO (authentification unique)
- Permet à un utilisateur YunoHost d’être administrateur (défini à l’installation)
Divers
- Accès optionnel au home folder de l’utilisateur depuis le gestionnaire de fichiers Nextcloud (défini à l’installation, le partage est activé par défaut)
- Fourni les chemins /.well-known pour CalDAV et CardDAV sur le domain seulement s’ils ne sont pas déjà servis (par exemple par Baïkal)
Architectures supportées
- x86-64b -
- ARMv8-A -
Limitations
Le message d’erreur suivant dans le fichier de logs de Nextcloud est sans impact et peut être ignoré :
Following symlinks is not allowed (‘/home/yunohost.multimedia/user/Share’ → ‘/home/yunohost.multimedia/share/’ not inside ‘/home/yunohost.multimedia/user/’)
Informations additionnelles
Lien
- Rapporter un bug : Issues · YunoHost-Apps/nextcloud_ynh · GitHub
- Site de Nextcloud : http://nextcloud.com
- Site de YunoHost : https://yunohost.org/
Changelog
Testing branch
Master branch (Official release)
- 6 Oct - #224
- 10 Sept #221
- Upgrade to version 15.0.11
- 10 Sept #218
- Fix scope of exec_occ and create_external_storage functions
- 10 Sept #219
- Avoid OPcache errors (fixes #209)
- 10 Sept #221
- 10 Sept 2019 - #216
- 19 Jul - #214
- Upgrade to version 15.0.9
- 24 Jul - # 216
- Upgrade to version 15.0.10
- 7 Aug - #170
- [fix] Copy only app missing in new apps dir
- 19 Jul - #214
- 5 May 2019 - #184
- 20 Mar 2019 - #179
- fix nginx configuration to protect from path traversal issue
- 24 Mar 2019 - #182
- add fail2ban configuration
- 4 Apr 2019 - #188
- Fix impossible upload via web interface
- Fix OPcache warnings
- Fix PATH warning
- Fix always_populate_raw_post_data warning
- 20 Mar 2019 - #179
- 2 Apr 2019 - #181
- 23 Mar 2019 - #178
- Add change_url feature
- 22 Mar 2019 - #163
- Upgrade package scripts
- 12 Mar 2019 - #171
- Upgrade to latest version 15.0.5
- 12 Mar 2019 - #175
- Update install to fix localhost in notification
- 23 Mar 2019 - #178
- 20 Feb 2019 - #152
- 28 Sept 2018 - #135
- Upgrade to upstream version 13.0.6 #134
- 23 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
- 16 June 2018 - #117
- Add multimedia directories support with write access #111
- Upgrade to version 13.0.2 #113
- Fix Debian Stretch dependencies #116
- Fix automatic logout from YunoHost when logging out from Nextcloud #115
- Fix failed access after first installation #119
- 8 May 2018
- Fix installation on Debian Stretch #96
- 16 Apr 2018
- 13 Jan 2018 - #81
- Enable redis file locking for better performance
- 27 Jan 2018
- Fix logout
- Fix duplicate log entry in logrotat
- Upgrade to upstream version 12.0.5
- 13 Jan 2018 - #65
- Refactoring
- Upgrade to 12.0.3
- Upgrade to 12.0.4
Infos développeurs
Merci de faire vos pull request sur la branche testing.
Pour tester la branche testing, merci de procéder ainsi :
sudo yunohost app install GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug
ou
sudo yunohost app upgrade nextcloud -u GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug
1 Like
Index of official apps threads
JimboJoe January 13, 2018, 2:18pm #2
New official and testing releases
Testing branch
- 13 Jan 2018 - #81
- Enable redis file locking for better performance
Master branch (Official release)
- 13 Jan 2018 - #65
- Refactoring
- Upgrade to 12.0.3
- Upgrade to 12.0.4
1 Like
roukydesbois January 16, 2018, 8:20pm #3
Hello !
Merci pour l’upgrade !
Je viens de l’effectuer, et je ne vois plus aucune des applications d’avant l’upgrade dans l’interface d’administration des applications, ni via occ app:list. C’est grave docteur ?
DUBWiSE January 16, 2018, 8:58pm #4
I don’t speak French, but I might have the same problem as @roukydesbois.
After upgrading Nextcloud official the other day, it disappeared from my installed apps.
I tried to install Nextcloud again, but the installation fails. I think this is the offending part:
- sudo useradd --no-create-home --system --user-group nextcloud --shell /usr/sbin/nologin
useradd: group nextcloud exists - if you want to add this user to that group, use -g.
- ynh_die ‘Unable to create nextcloud system account’
Unable to create nextcloud system account
-
echo ‘Unable to create nextcloud system account’
-
exit 1
!!
- ynh_exit_properly
nextcloud’s script has encountered an error. Its execution was cancelled.
- exit_code=1
!!
JimboJoe January 16, 2018, 9:18pm #5
roukydesbois:
Je viens de l’effectuer, et je ne vois plus aucune des applications d’avant l’upgrade dans l’interface d’administration des applications, ni via occ app:list. C’est grave docteur ?
Lors de la mise à jour, Nextcloud désactive la plupart des applications par précaution. Il te faut les activer à nouveau dans l’administration de Nextcloud. Si tu vas dans le menu en haut à droit, tu cliques sur “+ Applications” et va dans la rubrique “Applications désactivées”, ne sont-elles pas là ?
JimboJoe January 16, 2018, 9:21pm #6
DUBWiSE:
After upgrading Nextcloud official the other day, it disappeared from my installed apps.
I tried to install Nextcloud again, but the installation fails. I think this is the offending part:
You don’t have the same problem. It looks like your upgrade failed. Was it made through the web admin or with the CLI? Did you get an error message? Could you please get the logs of this upgrade (and not the following installation trial) in /var/log/yunohost-cli.log?
roukydesbois January 16, 2018, 9:35pm #7
Hey !
This is what I did at every previous upgrade, but this time I don’t even have access to the disabled apps so that I can enable them, or even to the official apps from Nextcloud. I just have a blank page when I show “My Apps”
JimboJoe January 16, 2018, 9:37pm #8
Do you have relevant logs in /home/yunohost.app/nextcloud/data/nextcloud.log or /var/log/nginx/yourdomain.tld-errors.log?
DUBWiSE January 16, 2018, 9:55pm #9
The upgrade was made through the web admin interface. Thanks for pointing me to the logfile, this part stands out:
2018-01-15 15:42:22,085 INFO yunohost.hook - [20118.1] + sudo useradd -c ‘nextcloud system account’ -d /var/lib/nextcloud --system --user-group nextcloud
2018-01-15 15:42:22,234 WARNING yunohost.hook - [20118.1] useradd: group nextcloud exists - if you want to add this user to that group, use -g.
2018-01-15 15:42:22,260 WARNING yunohost.hook - [20118.1] Unable to create nextcloud system account
2018-01-15 15:42:22,260 INFO yunohost.hook - [20118.1] + ynh_die ‘Unable to create nextcloud system account’
2018-01-15 15:42:22,261 INFO yunohost.hook - [20118.1] + echo ‘Unable to create nextcloud system account’
2018-01-15 15:42:22,262 INFO yunohost.hook - [20118.1] + exit 1
2018-01-15 15:42:22,369 ERROR yunohost.backup _restore_app - [20118.1] Unable to restore the app ‘nextcloud’
Traceback (most recent call last):
File “/usr/lib/moulinette/yunohost/backup.py”, line 1238, in _restore_app
user=“root”)
File “/usr/lib/moulinette/yunohost/hook.py”, line 381, in hook_exec
errno.EIO, m18n.n(‘hook_exec_failed’, path=path))
MoulinetteError: [Errno 5] Script execution failed: /tmp/restoreP_4ERI/restore
2018-01-15 15:42:22,391 INFO yunohost.hook hook_exec - [20118.1] Executing script ‘/home/yunohost.backup/tmp/nextcloud-pre-upgrade1/apps/nextcloud/settings/scripts/remove’…
roukydesbois January 16, 2018, 9:59pm #10
OK, I had quite a lot of timeouts in my logs, I’m starting to see some apps appear… Should I increase the max_timeout and if yes where?
roukydesbois January 16, 2018, 10:11pm #11
Alright, everything is going back to order. Thanks @JimboJoe and I hope I’ll have learnt patience when the next upgrade will come
JimboJoe January 16, 2018, 10:14pm #12
@roukydesbois good you got it sorted out!
@DUBWiSE the log is too short: what we can understand is that upgrade failed, and the restoration on failed upgrade… failed as well (your error message)
Could you please share a complete log, possibly since the beginning of the upgrade (for example on https://paste.yunohost.org)?
DUBWiSE January 17, 2018, 11:33am #13
As I did not have anything to lose with regards to my Nextcloud installation, I decided to remove the nextcloud user group by hand, after which the installation succeeded Now happily running the latest Nextcloud official!
1 Like
Limezy January 26, 2018, 7:42am #14
Hi, For your information I have got a problem while updating the Nextcloud app.
My data file is not in the standard place : /home/yunohost.app/nextcloud/data
I’m on a VPS with an external HDD so I have put it here : /mnt/disk/nextcloud/data
This configuration was lost while updating.
I had to change again the relevant line in /var/www/nextcloud/config/config.php then perform a sudo -u nextcloud php occ files:scan --all to have it back again.
Can you try to make updates compatible with my case ?
I guess the only thing is to keep the line : ‘datadirectory’ => ‘/XXX’, unchanged
Thanks!
1 Like
Limezy January 26, 2018, 7:59am #15
What about using a symlink ? Just saw that here : Is there a safe and reliable way to move data directory out of web root? - 🚧 Installation - Nextcloud community
Anyone tried that ?
JimboJoe January 27, 2018, 3:45pm #16
New testing release, including upgrade to 12.0.5
Testing branch
- 13 Jan 2018 - #81
- Enable redis file locking for better performance
- 27 Jan 2018
- Fix logout
- Fix duplicate log entry in logrotate
- Upgrade to upstream version 12.0.5
1 Like
antaeusdk February 7, 2018, 1:43pm #17
Any ETA as to when Nextcloud 13 will be in stable?
Thank you in advance.
zain February 9, 2018, 2:15pm #18
Hi everyone,
I was having the same dream!
A nextcloud 13 one day?
No rush, just to know!
Thanks to all devs and have a good week end
frju365 February 17, 2018, 1:18am #19
New stable release for Nextcloud.
- 16 Jan 2018 #81 :
- Enable Redis file locking for better perfomance
- Fix logout
- Fix duplicate log entry in logrotate
- Upgrade to upstream version 12.0.5
PS : a PR is opened for Nexcloud version 13 #90
rafi59 March 7, 2018, 1:04pm #20
New testing release
- 7 Fev 2018 #89
- Fix cron config file rights and don’t ovewrite all settings at upgrade
- 21 Fev 2018 #71
- Added the “php-ldap” dependency
- 6 Mar 2018 #90 :
- Upgrade to Nextcloud 13
3 Likes
Powered by Discourse, best viewed with JavaScript enabled