Welcome Guest, Not a member yet? Register   Sign In
I can't update via Composer
#1

Hi everyone.
I'm new in this foroum.
I was trying to update CI version 4.1.3 to the lasted version via Composer, but i can't do it, composer say "there is nothing to install, update or delete" and if i try to update manually (copping the System Folder) there are an error. 
Can anybody help me please??
Reply
#2

Maybe your PHP version is not 7.4 or higher.
Reply
#3

Strange. If it is PHP 7.3, it should go to v4.1.9.
Reply
#4

(08-30-2022, 02:53 AM)paulbalandan Wrote: Maybe your PHP version is not 7.4 or higher.

My PHP version is 7.4.19
Reply
#5

Can you show the error when you manually copy the system folder?
Reply
#6

How did you install CI4?
Reply
#7

(This post was last modified: 08-31-2022, 09:26 AM by ejimenezo.)

(08-30-2022, 08:19 PM)paulbalandan Wrote: Can you show the error when you manually copy the system folder?

[Image: view?usp=sharing]
This is the error when I coppy the System Folder manually
Reply
#8

(08-30-2022, 10:08 PM)kenjis Wrote: How did you install CI4?


I install CI4 with composer, I have been able to perform updates without problems, but the version 4.1.3 didn't allow me to update anymore
Reply
#9

Code:
bash-3.2$ php -v
PHP 7.4.30 (cli) (built: Jun  9 2022 09:30:10) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies

Code:
bash-3.2$ php spark env

CodeIgniter v4.1.3 Command Line Tool - Server Time: 2022-08-31 18:16:10 UTC-05:00

Your environment is currently set as production.

Code:
bash-3.2$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading codeigniter4/framework (v4.1.3 => v4.2.5)
  - Upgrading kint-php/kint (3.3 => 4.2.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
  - Upgrading kint-php/kint (3.3 => 4.2.0): Extracting archive
  - Upgrading codeigniter4/framework (v4.1.3 => v4.2.5): Extracting archive
Generating autoload files
27 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
infection/extension-installer: No extensions found
No security vulnerability advisories found
Reply
#10

(08-31-2022, 04:17 PM)kenjis Wrote:
Code:
bash-3.2$ php -v
PHP 7.4.30 (cli) (built: Jun  9 2022 09:30:10) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans
    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies

Code:
bash-3.2$ php spark env

CodeIgniter v4.1.3 Command Line Tool - Server Time: 2022-08-31 18:16:10 UTC-05:00

Your environment is currently set as production.

Code:
bash-3.2$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading codeigniter4/framework (v4.1.3 => v4.2.5)
  - Upgrading kint-php/kint (3.3 => 4.2.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
  - Upgrading kint-php/kint (3.3 => 4.2.0): Extracting archive
  - Upgrading codeigniter4/framework (v4.1.3 => v4.2.5): Extracting archive
Generating autoload files
27 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
infection/extension-installer: No extensions found
No security vulnerability advisories found

Code:
> php -v
PHP 7.4.30 (cli) (built: Jun  7 2022 16:24:55) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

> php spark env
CodeIgniter v4.1.3 Command Line Tool - Server Time: 2022-09-01 08:56:27 UTC-05:00
Your environment is currently set as development.

> composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> CodeIgniter\ComposerScripts::postUpdate
No security vulnerability advisories found
Reply




Theme © iAndrew 2016 - Forum software by © MyBB