Closed hoge6b01 closed 6 years ago
I had the same.
I changed the qgisserver 2.18 image instead of 2.14.
Then, you have to change in administrator setting 2.14 to 2.18.
If saving does matterwith /tmp/, go into the docker instance
docker exec -ti nameofthecontainer bash
then
chmod 775 -R /tmp && chown :www-data -R /tmp
I followed your steps but I still get the same error like described above. QGISServer is set to ≥ 2.18 and I executed the chmod & chown commands. Any idea?
Did you use docker-compose or docker alone? are you sure that the 2 containers are runnning?
Else, try to restart the docker-compose
Cordialement,
Jean-Louis Stanus
Jean-louis Stanus [image: https: //]about.me/jl.stanus https://about.me/jl.stanus?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links
☎ +32 473761482
2018-01-17 13:12 GMT+01:00 hoge6b01 notifications@github.com:
I followed your steps but I still get the same error like described above. QGISServer is set to ≥ 2.18 and I executed the chmod & chown commands. Any idea?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jancelin/docker-lizmap/issues/39#issuecomment-358286483, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYjsr9axSRcju9rUi_GxvewTfn3XHJrks5tLePLgaJpZM4RhKtK .
I only did what I wrote in my first message.
I checked for running docker with sudo docker ps
and this is my running docker (see image).
You think thats wrong?
It looks like the qgisserver container is missging ;) I see only lizmap container running
Did you use docker-compose up
?
Sorry again for my nooby questions:
version: '3'
to version: '2'
.docker-compose up -d
started to download qgisserver but stopped with the following:
Of course
docker stop 0be6bf ..... or by the name that use already ports 80 and 443
Then docker-compose up -d
if you want to use qgis 2.18, change image name in .yml: jancelin/qgis-server:2.18-wfsOutputExtension to go back from scratch with compose:
docker-compose stop
docker-compose rm
docker-compose up -d
okay, only the two containers from the .yml are running. It's an 'clean' install. That means that my projects are gone aswell. Is it possible to get my projects into the new 'installation'?
Put your qgis project + lizmap plugin file in same directory like the .yml:
volumes:
- /home/lizmap/lizmap_project:/home
For me: /home/lizmap/lizmap_project
go to the lizmap back office: http://xxx.xxx.xxx.xxx/websig/lizmap/www/admin.php/config/
change qgis server url: 127.0.0.1 to qgisserver add a directory add identify, name and directory: /home check user.
you can start more than one container on the same directory and if a crash container the data is kept.
Put your qgis project + lizmap plugin file in same directory
worked! But I've got a lot of projects that now I have to configurate in lizmap's admin interface. Is there any way to get the configuration from the old container?
cp paste your /var directory like /lizmap/project:
volumes:
- /home/lizmap/project:/home
- /home/lizmap/project/var:/var/www/websig/lizmap/var
To retain file permissions do a
cp -avr /....
Hi, I updated my docker-lizmap today via
sudo docker pull jancelin/docker-lizmap
.As I can see in Lizmap Admin UI the running version is Version 3.2pre171102 now. So Update worked.
But, if I want to load a map (e.g. the Montpellier one) I get server errors. Here are the logs:
What happend? Did I download the wrong version? Do I have to do other steps as well? Thanks for your help! Carsten