I’ve installed the 2.02 version to a new CentOS machine. After chaging the ownership, sudo chown -R apache: /mnt/upload , I’m still having errors uploading my site.
I’d made sure that my site.zip is valid. Any issues similar with me? I also uploaded my ls -ls command for /mnt/ folder. I think I have a lot missing files and directories in /mnt/archive compared to my previous installations of Sen2Agri.
In the root folder I created the symbolic link /mnt/ which points to actual storage which is /data/mnt/. There are other files and folders located in /data/. Is it possble that this condtion results to my issue? Below is the /data/ directory.
I tried simulating your situation but I did not succeeded and the site was successfully created.
My configuration that I created was like the following one that looked similar with yours so unless there are not other differences, there should be no problem:
Could you please check also the structure of your uploaded zip files? Maybe you have zipped the shapefiles containing also the directory that contained them.
I tried checking the .zip file of my ste using check_shp.py, no errors were found.
I also uploaded the .zip file into my old Sen2Agri installation and it uploaded successfully. Perhaps a clean install will address my issue. I’ll update you about it.
Anyway, I temporarily uninstall Sen2Agri since there was another program installed that uses Apache, and we’re afraid it might cause some issues. I’ll update you about my progress in the coming days.
Hello,
Could you please give more details on the error you have? Also, could you provide the shapefile that you use to validate it also on our side (if possible, of course)?
Is this a new installation that you have or an older one?
Is a restart of the httpd solving your issue? You can try something like:
sudo systemctl restart httpd
Can you check if you have any errors during the upload in the /var/log/httpd/error_log with?
The error Iam getting is as follows:“ Shape file has invalid geometry. Missing file due to a problem of selected file. I installed a new SEN 2 agric version
But from what I see in your message there is a difference compared with the original post of the thread. In your case it is said “Shapefile has invalid geometry”.
Could you check again your shapefile and correct it as it seems it is really invalid?
You could try to simplify it. Unfortunately, the system cannot do that for you and even if it would accept it, the SciHub would not return anything for queries having invalid polygons.