Uploading files not working in v3.0

Dear SEN4CAP team,

We updated the system to version 3.0 but now the uploading Files box is not working properly. There are not any options to upload files…You can see it in the image below:

Can you inform us what is happening?

Thanks,
Vanessa P.

Dear Vanessa,

It seems that there is an issue in version 3.0 of Sen4CAP when a season is spawn over 2 years and start of the season is in one year and the middle of the season in another (this is why the components for uploading files are not displayed).
We will come with a correction for this in a future version but for now the correction in your particular case is to execute just the command:

psql -U admin sen4cap -c "update site_auxdata set year = ‘2022’ where site_id = 40 "

To identify the correct values used in the command above, you can previously do the following steps:

  • Get the id for your site:

psql -U admin sen4cap -c "select * from site where name = ‘Monitor22’ "

  • Check the year for the site in the site_auxdata table with:

psql -U admin sen4cap -c "select id, year, site_id from site_auxdata where site_id = <ID_FROM_PREV_CMD> "

If the year returned by the last command is different than the one displayed in web interface, you should run the update command above using the site_id and the year from the web interface.

Please let me know if this is solving your problem and you can successfully upload after that the declarations and other files.

Best regards,
Cosmin

1 Like

Dear Cosmin,

Just to inform you that it worked.

Thanks once again for your help
Vanessa