Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60824 - [nextcloud] Fails to install @ post-transaction-hooks

Attached to Project: Community Packages
Opened by phil koenig (phikoen) - Friday, 16 November 2018, 12:20 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 02 December 2018, 23:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Dear Sergej Pupykin,

I'd like to install nextcloud on my vserver, however it fails at post-transaction-hooks. I've followed the wiki, installed nextcloud, afterwards mariadb, php and last but not least nginx. However, pacman fails at installing nextcloud with the following error (I'm sorry but my pacman language is German by default):

(1/1) Installiere nextcloud [############################################################] 100%
:: Starte post-transaction hooks...
(1/2) Update Nextcloud installation
Nextcloud is not installed - only a limited number of commands are available
Cannot write into "apps" directory
This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file. See https://docs.nextcloud.com/server/14/go.php?to=admin-dir_permissions

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /usr/share/webapps/nextcloud/lib/private/Console/Application.php:166
Stack trace:
#0 /usr/share/webapps/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /usr/share/webapps/nextcloud/occ(11): require_once('/usr/share/weba...')
#2 {main}
#2 {main}
Fehler: Befehl konnte nicht korrekt ausgeführt werden
(2/2) Arming ConditionNeedsUpdate...

As nextcloud fails to install, the /etc/webapps/nextcloud/config/config.php is empty.

Any help would be appreciated - Thanks and have a great day,
Phil König
Additional info:
* package version(s)
14.0.3-1
* config and/or log files etc.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 02 December 2018, 23:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  nextcloud does not have any such post-transaction hooks.

Loading...