Package Details: nextcloud-10 10.0.6-1

Git Clone URL: (read-only, click to copy)
Package Base: nextcloud-10
Description: A safe home for all your data. Secure, under your control and developed in an open, transparent and trustworthy way (Version 10.x for migrating from ownCloud 9.x)
Upstream URL:
Licenses: AGPL
Conflicts: nextcloud
Submitter: Muflone
Maintainer: Muflone
Last Packager: Muflone
Votes: 1
Popularity: 0.000000
First Submitted: 2016-12-26 20:41
Last Updated: 2020-05-16 22:56

Dependencies (15)

Required by (0)

Sources (4)

Latest Comments

electricprism commented on 2021-01-07 08:37

I'm wondering if this package should have coturn as a optdep due to it being used by the Talk app when doing video calls over WAN (IIUC)

Muflone commented on 2020-05-16 22:50


The hook file is not provided by the official nextcloud package since at least 2 years.

TheGoliath commented on 2020-05-16 18:10

My suggestion for the updated package


<IfModule mod_alias.c>
    Alias /nextcloud /usr/share/webapps/nextcloud/

<Directory /usr/share/webapps/nextcloud/> Options FollowSymlinks AllowOverride all Require all granted </Directory>

<VirtualHost *:80> ServerAdmin DocumentRoot /usr/share/webapps/nextcloud ServerName ErrorLog /var/log/httpd/ CustomLog /var/log/httpd/ common </VirtualHost>


# Update Nextcloud when core or -apps are touched

[Trigger] Operation = Install Operation = Upgrade Type = Package Target = nextcloud Target = nextcloud-app-*

[Action] Description = Updating Nextcloud installation When = PostTransaction Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/nextcloud/occ upgrade


# Maintainer: Muflone

Contributor: Grey Christoforo <first name [at] last name [dot] net>
Contributor: Felix Golatofski

pkgname=nextcloud-10 pkgver=10.0.6 pkgrel=1 pkgdesc="A cloud server to store your files centrally on a hardware controlled by you (Version 10.x for migrating from ownCloud 9.x)" arch=('any') url="" license=('AGPL') optdepends=('php-apache: to use the Apache web server' 'php-sqlite: to use the SQLite database backend' 'php-pgsql: to use the PostgreSQL database backend' 'php-ldap: LDAP authentication' 'php-intl' 'php-apcu' 'mariadb: to use the MySQL database backend' 'smbclient: to mount SAMBA shares' 'php-mcrypt' 'ffmpeg: file preview' 'libreoffice: file preview') conflicts=('nextcloud') options=('!strip') backup=('etc/webapps/nextcloud/apache.example.conf') validpgpkeys=('28806A878AE423A28372792ED75899B9A724937A') source=("${pkgver}.tar.bz2"{,.asc} "apache.example.conf" "nextcloud.hook" "") sha256sums=('1b9acad0fa3317047902fd647c425a1d567e7d93ffa9c40700d072a45cf396f1' 'SKIP' '30a8ad62b0dc9523ca7f0387b1f0483d196c1e011ec7e3a5b98e7d33c721d4bf' '02899e1d49b3ba4ddd7d87effd4ae59f49f248f54bf75236f21513904f6ba1c8' '6622fc3beba36d055b10b6a661bfe9ca44373277edfa4ce9d5ac8258893efd02')

package() { depends=('php<7.4.0' 'php-gd')

# install project
install -d "$pkgdir"/usr/share/webapps/
cp -R "$srcdir"/${pkgname} "$pkgdir"/usr/share/webapps/.

# set the proper permissions
"${srcdir}/" runtime "${pkgdir}/usr/share/webapps/nextcloud"

install -D -m 755 "${srcdir}/" "${pkgdir}/usr/bin/set-nc-perms"
# install apache config file
install -d  "$pkgdir"/etc/webapps/${pkgname}
install -m 644 "$srcdir"/apache.example.conf  "$pkgdir"/etc/webapps/${pkgname}

# move config to /etc
install -d  "$pkgdir"/etc/webapps/${pkgname}
mv "$pkgdir"/usr/share/webapps/${pkgname}/config "$pkgdir"/etc/webapps/${pkgname}/config
chown -R http:http "$pkgdir"/etc/webapps/${pkgname}
ln -s /etc/webapps/${pkgname}/config "$pkgdir"/usr/share/webapps/${pkgname}/config
chown -R root:http "$pkgdir"/usr/share/webapps/${pkgname}

find "$pkgdir"/usr/share/webapps/${pkgname} -type f -exec chmod 0644 {} \;
find "$pkgdir"/usr/share/webapps/${pkgname} -type d -exec chmod 0755 {} \;

chmod a+x "$pkgdir"/usr/share/webapps/${pkgname}/occ
install -Dm0644 "$srcdir"/nextcloud.hook "$pkgdir"/usr/share/libalpm/hooks/nextcloud.hook


TheGoliath commented on 2020-05-16 17:48

So, I'd like to publicly apologize for filing an orphan request without contacting the maintainer of the package in the first place and commenting down below that I'd like to help maintaining the package.

Meanwhile, @Mulflone I'd like to help out maintaining and updating the package.

Sorry for causing any inconvenience in the meantime


Muflone commented on 2017-01-29 12:01

Have you succeeded in directly migrating from owncloud 9 to nextcloud 11?
I tried some days ago and I wasn't able to do that.
The migration guide also states that you first need to upgrade to nextcloud 10:

mentatf commented on 2017-01-29 11:45

You can now directly upgrade from owncloud 9.1.2 (current version on arch repos) to nextcloud 11 so this package isn't needed anymore.

mentatf commented on 2017-01-28 23:12

> FAILED (unknown public key D75899B9A724937A)
need to run
$ gpg --keyserver hkp:// --recv-key D75899B9A724937A