Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About issue with MapMint installation with Ansible scripts on OSGeo-Live 11.0 #4

Open
venka-foss4g opened this issue Nov 28, 2017 · 1 comment

Comments

@venka-foss4g
Copy link

Installed MapMint in OSGeo-Live 11.0 using the instructions at
[1].

The following error is reported on the browser while accessing MapMint Dashboard [2]

[Errno 2] No such file or directory: '/var/www/html/tmp//MainDescriptionMM1511777016.html'

As a workaround, the MainDescriptionMM1511777016.html was needed to be created and
access permission need to be changed to provide necessary permission to web user

sudo touch /var/www/html/tmp/MainDescriptionMM1511777016.html
sudo chown www-data:www-data /var/www/html/tmp/MainDescriptionMM1511777016.html

I think necessary changes in the installer need to be made to ensure that the required file and
permissions are set to avoid the error reported above.

Thanks,

Venka

[1] localhost/ui/Dashboard_bs
[2] http://geolabs.fr/dl/2017/_build/html/introduction.html#installing-mapmint-on-the-osgeolive-11-0-vm

@gfenoy
Copy link
Member

gfenoy commented Nov 28, 2017

This file should have been created by the installer, cf. https://github.com/mapmint/ansible-roles/blob/master/debian/mapmint/tasks/main.yml#L169. So maybe there is an issue with the directory in which we create the files. The directory /var/www/html/tmp/ point probably to the /tmp directory that is clean on every reboot. So the file has probably disapeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants