Server version: Apache/2.4.38 (Unix)
PHP Version: PHP 7.3.3 (cli) (built: Mar 6 2019 18:03:57) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.3, Copyright (c) 1999-2018, by Zend Technologies
OS: Linux archlinux 5.0.0-arch1-1-ARCH #1 S
Nextcloud: 15.0.5
Disclosure: I am new to Linux let alone Nextcloud. I learned it over the weekened so I have less than a weeks worth of experience. Please be considerate. Thank you.
Hello. I have been having so much trouble I decided to remove the application and reinstall it.
I removed it with
sudo pacman -Rns nextcloud
Installed it with
sudo Pacman -S nextcloud
I receive the following error in my install logs
Total Installed Size: 219.53 MiB
:: Proceed with installation? [Y/n]
(23/23) checking keys in keyring [#############################################################################] 100%
(23/23) checking package integrity [#############################################################################] 100%
(23/23) loading package files [#############################################################################] 100%
(23/23) checking for file conflicts [#############################################################################] 100%
(23/23) checking available disk space [#############################################################################] 100%
:: Processing package changesā¦
( 1/23) installing libpng [#############################################################################] 100%
( 2/23) installing graphite [#############################################################################] 100%
( 3/23) installing harfbuzz [#############################################################################] 100%
Optional dependencies for harfbuzz
cairo: hb-view program
( 4/23) installing freetype2 [#############################################################################] 100%
( 5/23) installing fontconfig [#############################################################################] 100%
Fontconfig configuration is done via /etc/fonts/conf.avail and conf.d.
Read /etc/fonts/conf.d/README for more information.
Configuration via /etc/fonts/local.conf is still possible,
but is no longer recommended for options available in conf.avail.
Main systemwide configuration should be done by symlinks
(especially for autohinting, sub-pixel and lcdfilter):
cd /etc/fonts/conf.d
ln -s ā¦/conf.avail/XX-foo.conf
Check also Font configuration - ArchWiki
and https://wiki.archlinux.org/index.php/Fonts.
Rebuilding fontconfig cacheā¦ done.
( 6/23) installing xorgproto [#############################################################################] 100%
( 7/23) installing libice [#############################################################################] 100%
( 8/23) installing libsm [#############################################################################] 100%
( 9/23) installing xcb-proto [#############################################################################] 100%
(10/23) installing libxdmcp [#############################################################################] 100%
(11/23) installing libxau [#############################################################################] 100%
(12/23) installing libxcb [#############################################################################] 100%
(13/23) installing libx11 [#############################################################################] 100%
(14/23) installing libxt [#############################################################################] 100%
(15/23) installing libxext [#############################################################################] 100%
(16/23) installing libxpm [#############################################################################] 100%
(17/23) installing libjpeg-turbo [#############################################################################] 100%
(18/23) installing libtiff [#############################################################################] 100%
Optional dependencies for libtiff
freeglut: for using tiffgt
(19/23) installing giflib [#############################################################################] 100%
(20/23) installing libwebp [#############################################################################] 100%
Optional dependencies for libwebp
freeglut: vwebp viewer
(21/23) installing gd [#############################################################################] 100%
Optional dependencies for gd
perl: bdftogd script [installed]
(22/23) installing php-gd [#############################################################################] 100%
(23/23) installing nextcloud [#############################################################################] 100%
Optional dependencies for nextcloud
php-apache: to use the Apache web server [installed]
php-sqlite: to use the SQLite database backend
php-pgsql: to use the PostgreSQL database backend
php-ldap: LDAP authentication [installed]
php-intl [installed]
php-apcu [installed]
mariadb: to use the MySQL database backend [installed]
smbclient: to mount SAMBA shares
php-mcrypt
ffmpeg: file preview
libreoffice: file preview
:: Running 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/15/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}PHP Warning: fileperms(): stat failed for /usr/share/webapps/nextcloud/data/nextcloud.log in /usr/share/webapps/nextcloud/lib/private/Log/File.php on line 140
{āreqIdā:āiDMj0Goz4eX66JnBvmknā,ālevelā:3,ātimeā:ā2019-03-12T07:07:50+00:00ā,āremoteAddrā:āā,āuserā:āāā,āappā:āPHPā,āmethodā:āā,āurlā:āāā,āmessageā:āfileperms(): stat failed for /usr/share/webapps/nextcloud/data/nextcloud.log at /usr/share/webapps/nextcloud/lib/private/Log/File.php#140ā,āuserAgentā:āpacman/5.1.3 (Linux x86_64) libalpm/11.0.3ā,āversionā:āā}
{āreqIdā:āiDMj0Goz4eX66JnBvmknā,ālevelā:3,ātimeā:ā2019-03-12T07:07:50+00:00ā,āremoteAddrā:āā,āuserā:āāā,āappā:āPHPā,āmethodā:āā,āurlā:āāā,āmessageā:āYou are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/share/webapps/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18ā,āuserAgentā:āpacman/5.1.3 (Linux x86_64) libalpm/11.0.3ā,āversionā:āā}
error: command failed to execute correctly
(2/2) Arming ConditionNeedsUpdateā¦
I have read that some of these are just warning rather than errors. If thatās the case, then what needs to be done to either resolve or further isolate the problem. Iām new to this so it would be good to know how you guys draw the conslusions you doā¦
Resolution
Uninstall with
sudo pacman -Rcn nextcloud
Remove both nextcloud folders in /var/ and /usr/. If you are using arch, remove the pacman hook.
sudo rm /etc/pacman.d/hooks/nextcloud.hook
Reinstall