I was trying to upload a new insitu data from the the sites tab of GUI. It says that the changes were successfully done after the upload, but the old insitu data remains. It’s weird that new insitu data successfully uploads in the customs job (after applying the patch).
Hello,
I think the problem is that the files from destination directory are not replaced by the new ones.
You can run these 2 queries to see exactly which is the upload and the destination path:
directory to upload:
sudo -u postgres psql sen2agri -c “SELECT key, value FROM sp_get_parameters(‘site.upload_path’) WHERE site_id IS NULL”
destination directory:
sudo -u postgres psql sen2agri -c “SELECT key, value FROM sp_get_parameters(‘processor.l4a.reference_data_dir’) WHERE site_id IS NULL”
and after that, please take a look in the destination directory.
Hello,
If you open the last folder uploaded from /mnt/upload/Bukidnon_Pantaron the files PH_BUK_LC_PI_20180915_differentiated_6268 are still there?
Please type the following command:
ls -l /mnt/archive/insitu/
like in my printscreen:
and then the following one:
ls -l /mnt/archive/insitu/bukidnon_pantaron
I want to see the rights on the folder and on the files from the folder. It seems that the backup with the old files is not created and the new ones are not moved from the upload folder to archive, probably from the same reason.