Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781857 - www-apps/nextcloud: fails to install out of the box
Summary: www-apps/nextcloud: fails to install out of the box
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2021-04-09 18:27 UTC by Thomas Deutschmann (RETIRED)
Modified: 2021-05-17 10:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-09 18:27:52 UTC
In an empty stage3 I did:

> # emerge www-apps/nextcloud

This failed because of missing USE flags. So I set them:

> # cat /etc/portage/package.use/nextcloud
> dev-lang/php gd intl pdo truetype xmlreader zip fpm mysql
> www-apps/nextcloud -sqlite mysql
> app-eselect/eselect-php fpm

I was now able to run emerge but it showed

>  * vhosts USE flag not set - auto-installing using webapp-config
>  * This is an installation
>  * nextcloud-21.0.0 is not installed - using install mode
>  * Running /usr/sbin/webapp-config -h localhost -u root -d /nextcloud -I nextcloud 21.0.0
> * Fatal error: Your configuration file sets the server type "Apache"
> * Fatal error: but the corresponding package does not seem to be installed!
> * Fatal error: Please "emerge >=www-servers/apache-1.3" or correct your settings.
> * Fatal error(s) - aborting
> >=www-servers/apache-1.3

However, emerge command ended with zero exit code.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-09 18:29:04 UTC
> =================================================================
>                         Package Settings
> =================================================================
> www-apps/nextcloud-21.0.0::gentoo was built with the following:
> USE="curl imagemagick mysql -postgres -sqlite -vhosts" ABI_X86="(64)"