cancel
Showing results for 
Search instead for 
Did you mean: 

the minimum feature version "1009" is higher than the actual HDI feature version "1008"

0 Kudos

Hi

I am getting error while deploying capm application on BTP Cloud Foundry

..................................................................................................................

* Executing task in folder FLP_App: echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (node ../db/node_modules/@sap/hdi-deploy/deploy.js "--exit")

Prepared environment for deployment

npm WARN config production Use `--omit=dev` instead.

npm ERR! code ELSPROBLEMS

npm ERR! missing: @sap/hdi-deploy@^4.8.2, required by deploy@

deploy@ /home/user/projects/FLP_App/db

└── UNMET DEPENDENCY @sap/hdi-deploy@^4.8.2

npm ERR! A complete log of this run can be found in:

npm ERR! /home/user/.npm/_logs/2023-11-06T08_21_59_179Z-debug-0.log

added 31 packages, and audited 32 packages in 2s

found 0 vulnerabilities

VCAP_SERVICES: {

"hana": [

{

"name": "FLPApp-dev",

"instance_name": "FLPApp-dev",

"label": "hana",

"tags": [

"hana",

"database",

"relational",

"mta-resource-name:FLP_App-db",

"endpoint:https://api.cf.eu10.hana.ondemand.com",

"org:Infy_industrySol",

"space:dev"

],

"plan": "hdi-shared",

"credentials": {

"certificate": "-----BEGIN CERTIFICATE-----\nMIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD\nQTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT\nMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\nb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB\nCSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97\nnh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt\n43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P\nT19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4\ngdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO\nBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR\nTLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw\nDQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr\nhMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg\n06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF\nPnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls\nYSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk\nCAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=\n-----END CERTIFICATE-----",

"database_id": "f55813ad-7f3b-4779-a072-6088347c52f5",

"driver": "com.sap.db.jdbc.Driver",

"hdi_p[...]

"hdi_user": "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1_0KL5E6D5WKQQA6UCPMU5DOSIF_DT",

"host": "f55813ad-7f3b-4779-a072-6088347c52f5.hana.prod-eu10.hanacloud.ondemand.com",

"p[...]

"port": "443",

"schema": "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1",

"service_key_name": "SharedDevKey",

"url": "jdbc:sap://f55813ad-7f3b-4779-a072-6088347c52f5.hana.prod-eu10.hanacloud.ondemand.com:443?encrypt=true&validateCertificate=true¤tschema=FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1",

"user": "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1_0KL5E6D5WKQQA6UCPMU5DOSIF_RT"

}

}

]

}

@sap/hdi-deploy, version 4.8.2 (mode default), server version 4.00.000.00.1687426537 (4.0.0.0), cloud version , node version 18.14.2, HDI version 1008, container API version 1004

Deployment started at 2023-11-06 08:22:02

Using @sap/hana-client@2.18.24 for connection

Detection of cloud version failed; root cause: Error executing: select CLOUD_VERSION from SYS.M_DATABASE;

(nested message: invalid column name: CLOUD_VERSION: line 1 col 8 (at pos 7))

Using default environment variables from file "default-env.json"

No ignore file at /home/user/projects/FLP_App/db/.hdiignore.

Collecting files...

Collecting files... ok (0s 2ms)

3 directories collected

7 files collected

0 reusable modules collected

Target service: FLPApp-dev

Session variable APPLICATION is set to "SAP_HDI//".

Could not determine status of last build: Could not find any information about the previous deployment.

Processing revoke files...

Processing revoke files... ok (0s 0ms)

Processing grants files...

Processing grants files... ok (0s 0ms)

Preprocessing files...

Preprocessing files... ok (0s 0ms)

Connecting to the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"...

Connecting to the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"... ok (0s 166ms)

Locking the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"...

Locking the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"... ok (0s 308ms)

Synchronizing files with the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"...

Deleting files...

Deleting files... ok

Writing files...

Writing files... ok

Synchronizing files with the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"... ok (0s 397ms)

added files: [

"src/.hdiconfig",

"src/gen/.hdiconfig",

"src/gen/.hdinamespace",

"src/gen/FLP.FLP_Usage.hdbtable",

"src/gen/catalogservice.FLP_Usages.hdbview",

"src/gen/data/FLP-FLP_Usage.csv",

"src/gen/data/FLP-FLP_Usage.hdbtabledata"

]

modified files: []

deleted files: []

7 modified or added files are scheduled for deploy based on delta detection

0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy allowlist)

0 files are scheduled for deploy based on explicit specification

0 files are scheduled for undeploy based on explicit specification

Deploying to the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"...

Polling messages for request id: 7619

Starting make in the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1" with 7 files to deploy, 0 files to undeploy...

Disabling table replication for the container schema "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"...

Disabling table replication for the container schema "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1"... ok (0s 12ms)

Migrating libraries...

Migrating libraries... ok (0s 8ms)

Making...

Preparing...

Preparing the make transaction...

Preparing the make transaction... ok (0s 47ms)

Deploying the configuration file "src/.hdiconfig"...

Error: "src/.hdiconfig": the mimimum feature version "1009" is higher than the actual HDI feature version "1008" [8210030]

at "src/.hdiconfig" (3:40,/minimum_feature_version)

Error: Deploying the configuration file "src/.hdiconfig"... failed [8211678]

Error: "src/.hdiconfig": could not process the configuration file [8211713]

at "src/.hdiconfig" (3:40,/minimum_feature_version)

Error: Preparing... failed [8211602]

Make failed (5 errors, 0 warnings): tried to deploy 7 files, undeploy 0 files, redeploy 0 dependent files

Error: Making... failed [8211605]

Error: Starting make in the container "FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1" with 7 files to deploy, 0 files to undeploy... failed [8214168]

Deployment to container FLP_APP_HDI_FLP_APP_DB_DEPLOYER_1 failed - error: HDI make failed [Deployment ID: none].

Deployment ended at 2023-11-06 08:22:04

Error: HDI make failed

(2s 521ms)

* The terminal process "/bin/bash '-c', 'echo 'Prepared environment for deployment' && (npm ls --depth 0 --production || npm install) && (node ../db/node_modules/@sap/hdi-deploy/deploy.js "--exit")'" terminated with exit code: 1.

* Terminal will be reused by tasks, press any key to close it.

Accepted Solutions (0)

Answers (1)

Answers (1)

asabogal
Newcomer
0 Kudos

Hello

Having the same problem ¿Some clue about how to solve this?