Install fail "PHP module cURL not installed." + problem with php #2

Open
opened 2020-04-05 16:50:08 +02:00 by qo-op · 1 comment

On debian buster

sudo apt install php-curl

There is a problem with php, now system have 7.4, it is installing too many versions!!!

	=== Installing php ... ===
Reading package lists... Done
Building dependency tree       
Reading state information... Done
imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1).
php-apcu is already the newest version (5.1.18+4.0.11-1+0~20191219.13+debian10~1.gbpa99079).
php-imagick is already the newest version (3.4.4-4+0~20200302.14+debian10~1.gbp2925ae).
php-smbclient is already the newest version (1.0.0-1+0~20191119.9+debian10~1.gbp32b372).
php7.3 is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-bz2 is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-cgi is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-cli is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-curl is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-fpm is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-gd is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-intl is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-json is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-ldap is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-mbstring is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-mysql is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-xml is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
php7.3-zip is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75).
The following package was automatically installed and is no longer required:
  libonig4
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
	=== Configuring php ... ===
PHP déjà configuré, skip
	=== Configure MariaDB ===
MariaDB déjà configuré, skip
	=== Create and configure database... ===
La base de donnée de nextcloud est déjà créé, skip
	=== Installing and configure Redis... ===
Reading package lists... Done
Building dependency tree       
Reading state information... Done
redis-server is already the newest version (5:5.0.3-4+deb10u1).
php-redis is already the newest version (5.2.1+4.3.0-1+0~20200321.20+debian10~1.gbp9fe0ce).
The following package was automatically installed and is no longer required:
  libonig4
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Redis est déjà configuré, skip
sysctl est déjà configuré, skip
	=== Installing NextCloud... ===
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}	=== Configure nginx ... ===
sed: can't read /etc/nginx/sites-enabled/default: No such file or directory
	=== Mise en place des scripts et crons ... ===
cron nextcloud ever set, skip
cron optimize ever set, skip
Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}	=== Restarting services ... ===
OK
Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#2 {main}Nextcloud is not installed - only a limited number of commands are available
No database drivers (sqlite, mysql, or postgresql) installed.


An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
On debian buster ``` sudo apt install php-curl ``` There is a problem with php, now system have 7.4, it is installing too many versions!!! ``` === Installing php ... === Reading package lists... Done Building dependency tree Reading state information... Done imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1). php-apcu is already the newest version (5.1.18+4.0.11-1+0~20191219.13+debian10~1.gbpa99079). php-imagick is already the newest version (3.4.4-4+0~20200302.14+debian10~1.gbp2925ae). php-smbclient is already the newest version (1.0.0-1+0~20191119.9+debian10~1.gbp32b372). php7.3 is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-bz2 is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-cgi is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-cli is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-curl is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-fpm is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-gd is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-intl is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-json is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-ldap is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-mbstring is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-mysql is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-xml is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). php7.3-zip is already the newest version (7.3.16-1+0~20200320.56+debian10~1.gbp370a75). The following package was automatically installed and is no longer required: libonig4 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. === Configuring php ... === PHP déjà configuré, skip === Configure MariaDB === MariaDB déjà configuré, skip === Create and configure database... === La base de donnée de nextcloud est déjà créé, skip === Installing and configure Redis... === Reading package lists... Done Building dependency tree Reading state information... Done redis-server is already the newest version (5:5.0.3-4+deb10u1). php-redis is already the newest version (5.2.1+4.3.0-1+0~20200321.20+debian10~1.gbp9fe0ce). The following package was automatically installed and is no longer required: libonig4 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Redis est déjà configuré, skip sysctl est déjà configuré, skip === Installing NextCloud... === No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main} === Configure nginx ... === sed: can't read /etc/nginx/sites-enabled/default: No such file or directory === Mise en place des scripts et crons ... === cron nextcloud ever set, skip cron optimize ever set, skip Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main} === Restarting services ... === OK Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #2 {main}Nextcloud is not installed - only a limited number of commands are available No database drivers (sqlite, mysql, or postgresql) installed. An unhandled exception has been thrown: Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167 Stack trace: #0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands() #1 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') ```
Owner

I will improve this script this week, maybe I will stop Stretch compatibility for simplicity reasons.

Also I see I have to translate in English some informations output...

I will improve this script this week, maybe I will stop Stretch compatibility for simplicity reasons. Also I see I have to translate in English some informations output...
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: p2p.legal/install_nextcloud#2
No description provided.