Dear Sen4Cap and @cudroiu,
We are running Sen4Cap in our own VM and we are trying to upgrade to version 2.0 but it’s failed with below error. We noticed that generating L2A also stopped working. Please help to solve it out.
Thanks and Regards,
Henry
Error at the beginning
BEGIN
psql:migrations/sen4cap/migration-1.2-1.3.sql:249: NOTICE: running migrations
psql:migrations/sen4cap/migration-1.2-1.3.sql:249: NOTICE:
INSERT INTO processor (id, name, short_name, label) VALUES (3, ‘L3B Vegetation Status’,‘l3b’, 'L3B — LAI/FAPAR/FCOVER/NDVI ') on conflict(id) DO UPDATE SET name = ‘L3B Vegetation Status’, short_name = ‘l3b’, label = ‘L3B — LAI/FAPAR/FCOVER/NDVI’;DELETE FROM config WHERE key = 'processor.l3b.lai.link_l3c_to_l3b'; DELETE FROM config WHERE key = 'processor.l3b_lai.sub_products'; DELETE FROM config WHERE key = 'executor.processor.l3b_lai.slurm_qos'; DELETE FROM config WHERE key = 'general.scratch-path.l3b_lai'; INSERT INTO config(key, site_id, value) VALUES ('executor.processor.l3b.slurm_qos', NULL, 'qoslai') on conflict DO nothing; INSERT INTO config(key, site_id, value) VALUES ('general.scratch-path.l3b', NULL, '/mnt/archive/orchestrator_temp/l3b/{job_id}/{ task_id}-{module}') on conflict DO nothing;
Error at the end
PL/pgSQL function inline_code_block line 784 at EXECUTE
ROLLBACK
Key processor.l2a.maja.gipp-path found with value /mnt/archive/gipp_maja. Copying UserConfiguration into this location …
Copying reference data
Installing conda …
/home/sen2agri-service/miniconda3/etc/profile.d/conda.sh found …
Miniconda already installed for user sen2agri-service. Nothing to do …
Setting report_errors to false…
sen4cap conda environment already exists. Checking for pyarrow installation …
Requirement already satisfied: pyarrow in ./miniconda3/envs/sen4cap/lib/python3.6/site-packages (3.0.0)
Requirement already satisfied: numpy>=1.16.6 in ./miniconda3/envs/sen4cap/lib/python3.6/site-packages (from pyarrow) (1.19.5)
Environments:conda environments:
base * /home/sen2agri-service/miniconda3
sen4cap /home/sen2agri-service/miniconda3/envs/sen4capUpdating R packages…