I’ve updated the downloads page to point to version 14.05.02 of Smap. This contains a minor bug fix to address a problem where the individual coordinates of a polygon were not being shown in the whole of survey table view. The overall polygon was shown.
More importantly I’ve added some instructions in the README file on changing Apache configuration files if you are doing an upgrade to your own server. There have been some changes to these files in the latest release and the deploy script does not apply these changes as system configuration files are only modified on install.
The files affected are:
- /etc/apache2/sites-available/default
- /etc/apache2/sites-available/default-ssl
You can update these by replacing them with the default and default-ssl files from smap/install/config. However these files need to be updated to set the location of your attachments on the file system. Everywhere in these files that you see {your_files} replace that with the correct file location, by default this should be /smap.
If you get an error message ‘Invalid command Header’ when starting Apache then you will need to type “sudo a2enmod headers”. That only needs to be done once then Apache will have the module that processes headers.
If you have any problems with this upgrade contact smap support.
please confirm that upgrading to 14.0.5 is as simple as replacing the two files you have listed?
More or less. These are the steps in detail:
1) Download tar file
2) remove or move the old “smap” folder
3) Extract
4) cd to smap/deploy
5) type “./patchdb.sh”
6) type “sudo ./deploy.sh”
Those are the standard upgrade steps
As you mention With 14.05 the following additional changes are required:
1) Replace default and default-ssl.
2) Type “sudo a2enmod headers” which will add support for headers to Apache.
Then you can either re-run deploy.sh or restart apache.
Appreciate your prompt response. I will try that later in the day my time…Thanks Neil, it’s Roxroy here,….