Visitar URL original
git "develop" (v1.9.0) branch - Composer changes (upgrading from pre v1.9.0) + PHP8.2 min requirement · Issue #4600 · phpipam/phpipam · GitHub
Skip to content

git "develop" (v1.9.0) branch - Composer changes (upgrading from pre v1.9.0) + PHP8.2 min requirement #4600

Open

Description

@GaryAllan

See UPDATE.md

Procedure for upgrading to develop (1.9.0) from phpIPAM < v1.9.0

Composer dependencies require PHP8.2+

phpIPAM versions prior to 1.9.0 use a mix of git submodule and composer packages installed in the functions sub-directory.

phpIPAM version 1.9.0 and above switched to composer exclusively for package management in the project root directory.

Before you upgrade to 1.9.0 or above from 1.8.x or below, remove legacy git submodules by running git submodule deinit.

Ensure you have a backup your SQL database and config.php before proceeding

(adjust directories etc. according to your installation):

[root@ipam:/]$ cd /var/www/phpipam
[root@ipam:/var/www/phpipam/]$ git submodule deinit -f --all
Cleared directory 'app/login/captcha'
Cleared directory 'functions/GoogleAuthenticator'
Cleared directory 'functions/LdapRecord'
Cleared directory 'functions/PHPMailer'
Cleared directory 'functions/parsedown'
Cleared directory 'functions/php-saml'
Cleared directory 'functions/qrcodejs'
Cleared directory 'functions/xmlseclibs'

Additionally remove the legacy functions/vendor composer package directory.

(adjust directories etc. according to your installation):

[root@ipam:/]$ cd /var/www/phpipam
[root@ipam:/var/www/phpipam/]$ rm -fr functions/vendor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions