Hướng dẫn nextcloud php module gd not installed - nextcloud php module gd chưa được cài đặt

Should be able to install owncloud from scratch.

PHP module GD not installed.
Please ask your server administrator to install the module.
PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.

Web server:
Linux me-530U3C-530U4C 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Database:
mysql Ver 14.14 Distrib 5.7.12, for Linux [x86_64] using EditLine wrapper

PHP 7.0.4-7ubuntu2 [cli] [ NTS ]
Copyright [c] 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright [c] 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright [c] 1999-2016, by Zend Technologies

ownCloud version: [see ownCloud admin page]
9.0.2 downloaded from owncloud.org 14may2015 15:00 CET

Discussion:

[arch-general] Nextcloud installation problems

Hello,

I've got a problem trying to install nextcloud [I just want to try it
out, so I don't have any knowledge about it, yet]:

-----------------------------------------------------------------------------------

pacman -S nextcloud
warning: nextcloud-12.0.3-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages [1] nextcloud-12.0.3-2

Total Installed Size: 141.61 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
[1/1] checking keys in keyring
[####################################################################] 100%
[1/1] checking package integrity
[####################################################################] 100%
[1/1] loading package files
[####################################################################] 100%
[1/1] checking for file conflicts
[####################################################################] 100%
[1/1] checking available disk space
[####################################################################] 100%
:: Processing package changes...
[1/1] reinstalling nextcloud
[####################################################################] 100%
:: Running post-transaction hooks...
[1/2] Updating Nextcloud installation
Nextcloud is not installed - only a limited number of commands are available
No database drivers [sqlite, mysql, or postgresql] installed.

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
//docs.nextcloud.com/server/12/go.php?to=admin-dir_permissions

PHP module GD not installed.
Please ask your server administrator to install the module.

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in
/usr/share/webapps/nextcloud/lib/private/Console/Application.php:145
Stack trace:
#0 /usr/share/webapps/nextcloud/console.php[99]:
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}
error: command failed to execute correctly
[2/2] Arming ConditionNeedsUpdate...

-----------------------------------------------------------------------------------

As one of the messages is "PHP module GD not installed. Please ask your
server administrator to install the module." it's propably not depending
on a needed module?

Kind regards
Peter

Hi,

Post by Peter Nabbefeld
Hello,
I've got a problem trying to install nextcloud [I just want to try it out,
-----------------------------------------------------------------------------------
pacman -S nextcloud
warning: nextcloud-12.0.3-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages [1] nextcloud-12.0.3-2
Total Installed Size: 141.61 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
[1/1] checking keys in keyring
[####################################################################] 100%
[1/1] checking package integrity
[####################################################################] 100%
[1/1] loading package files
[####################################################################] 100%
[1/1] checking for file conflicts
[####################################################################] 100%
[1/1] checking available disk space
[####################################################################] 100%
:: Processing package changes...
[1/1] reinstalling nextcloud
[####################################################################] 100%
:: Running post-transaction hooks...
[1/2] Updating Nextcloud installation
Nextcloud is not installed - only a limited number of commands are available
No database drivers [sqlite, mysql, or postgresql] installed.
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
//docs.nextcloud.com/server/12/go.php?to=admin-dir_permissions
PHP module GD not installed.
Please ask your server administrator to install the module.
Exception: Environment not properly prepared. in
/usr/share/webapps/nextcloud/lib/private/Console/Application.php:145
#0 /usr/share/webapps/nextcloud/console.php[99]: 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}
error: command failed to execute correctly
[2/2] Arming ConditionNeedsUpdate...
-----------------------------------------------------------------------------------
As one of the messages is "PHP module GD not installed. Please ask your
server administrator to install the module." it's propably not depending on
a needed module?
Kind regards
Peter

Tôi may mắn vẫn còn vào ngày 12.0.2, vì vậy cảm ơn vì đã viết trước khi tôi đã cấp độ ;-]
upgraded ;-]

Lỗi trên được ném vì những người bảo trì, IMHO WEIRD, quyết định thêm một móc để tự động nâng cấp NextCloudInstallation. [1]
decision to add a hook to automatically upgrade the nextcloud
installation.[1]

GD được vô hiệu hóa trong PHP theo mặc định.Vì vậy, trong các cài đặt vòm mặc định này không thành công. Tuy nhiên, GD có thể được kích hoạt trong tệp /etc/php/php.ini.
hook fails.
However, gd can be activated in the /etc/php/php.ini file.

Dù sao: Tôi không sử dụng Filefor để điều khiển Php.ini ['Php -c /Folder/php.ini'].
for interfacing the instance and have all options disabled in the system
php.ini, which is why this will fail for me each time.

Trong mọi trường hợp, bạn vẫn có thể chỉ sử dụng nó và xem bài viết Wiki [2] để đọc về cách thiết lập nó.
[2] to read up on how to set it up.

Best,David
David

.
[2] //wiki.archlinux.org/index.php/Nextcloud

--//sleepmap.de
//sleepmap.de

Loading...

Bài Viết Liên Quan

Chủ Đề