0 votes
42 views

Is it possible to add a .zolca database to a docker IPC container? Apparently, I need to first open the database in desktop openLCA, then copy the database folder to the docker database directory.

ago in Miscellaneous by (140 points)

1 Answer

0 votes
ago by (7.1k points)

Hi interested_mackerel,

A .zolca file is a ZIP file. You could simply unzip it in your databases folder.

Ensure that the database is updated to align with the IPC server version, as this can only be performed using openLCA.

Regards,

François

ago by (140 points)
Hi Francois,
thank you. How do I check the matching between the db version and the ipc server? I don't see any info about it on Nexus and unzipping the .zolca does not show any file with contents that can help in assess the compatibility. If it's of any help, I'm using the 2023 IDEMAT ecoDB with the latest version of the IPC container available from github
ago by (7.1k points)
You can check the version of the olca-ipc package used on this line: https://github.com/GreenDelta/olca-ipc-container/blob/3e0f6d126cc44870951dbf4ad0d85204362a09ed/pom.xml#L21C13-L21C18. So you'd know the tag of olca-modules and can check the version of the last upgrade: https://github.com/GreenDelta/olca-modules/blob/f045801968010ff1a86e4c01b0b411d6ea3becd5/olca-core/src/main/java/org/openlca/core/database/upgrades/Upgrades.java#L22.
The version of the DB is stored in `openlca_version: SELECT version FROM openlca_version;`.
...