Hello,
I installed Sen4Cap from 20200707_Sen4CAPDistribution_1.2.zip file.
I started to create a small site to check everything is working fine.
S2 L1C data has been successfully downloaded into /mnt/archive/dwn_def/s2/default/{my_site}
.
Yet atmospheric correction is not processed.
I ran the following command from reading other topics in this forum:
sudo journalctl -fu sen2agri-demmaccs --since "10 hours ago"
And get the following repeated messages:
Oct 27 17:22:01 va-esa-01-eu systemd[1]: Started Runs MACCS on L1C products.
Oct 27 17:22:01 va-esa-01-eu demmaccs_launcher.py[16717]: 2020-10-27 17:22:01.832693:[16717]:Could not load the config from database
Oct 27 17:22:01 va-esa-01-eu systemd[1]: sen2agri-demmaccs.service: main process exited, code=exited, status=255/n/a
Oct 27 17:22:01 va-esa-01-eu systemd[1]: Unit sen2agri-demmaccs.service entered failed state.
Oct 27 17:22:01 va-esa-01-eu systemd[1]: sen2agri-demmaccs.service failed.
I had a look at config table in database:
psql -U admin sen4cap -c "select * from config where key like '%demmaccs%'"
With the following result:
id | key | site_id | value | last_updated
----+-------------------------+---------+--------------------------------------------+-------------------------------
7 | demmaccs.cog-tiffs | | 0 | 2017-10-24 12:56:57.501918+00
8 | demmaccs.compress-tiffs | | 0 | 2017-10-24 12:56:57.501918+00
9 | demmaccs.gips-path | | /mnt/archive/gipp_maja | 2016-02-24 16:12:16.464479+00
10 | demmaccs.maccs-launcher | | | 2016-02-25 14:29:07.763339+00
11 | demmaccs.output-path | | /mnt/archive/maccs_def/{site}/{processor}/ | 2016-02-24 16:09:17.379905+00
12 | demmaccs.remove-fre | | 0 | 2017-10-24 12:56:57.501918+00
13 | demmaccs.remove-sre | | 1 | 2017-10-24 12:56:57.501918+00
14 | demmaccs.srtm-path | | /mnt/archive/srtm | 2016-02-25 09:11:36.372405+00
15 | demmaccs.swbd-path | | /mnt/archive/swbd | 2016-02-25 09:12:04.008319+00
16 | demmaccs.working-dir | | /mnt/archive/demmaccs_tmp/ | 2016-02-25 15:31:06.01191+00
(10 rows)
MAJA has been installed on the server before Sen4CAP:
[]$ /opt/maja/3.2.2/bin/maja --version
2020-10-28T08:48:42.996446 va-esa-01-eu maja-processing-3.2.2 3.2 [000000051981] [I] MAJA Software Version : 3.2.2 OTB Version : 6.0.0
2020-10-28T08:48:42.997324 va-esa-01-eu maja-processing-3.2.2 3.2 [000000051981] [W] Application handler initialization: Version message
Is there any issue with the config?
Thanks for your help,
Guillaume.