Comments (8)
Thank you very much!
It works.
I'll try to make a pull request, but this will be my first time. So sorry if this isn't quite correct. :)
from lizmap-docker-compose.
Hi!
Yes, please try to add - ${LIZMAP_DIR}/var/lizmap-themes-default:/www/lizmap/var/themes/default
after :
https://github.com/3liz/lizmap-docker-compose/blob/master/docker-compose.yml#L17
And tell us if it works. If it is ok, could you please make a Pull Request?
from lizmap-docker-compose.
I'm sorry. I reopen this topic because I find error in the work of the administration interface after changes.
My changes:
I change docker-compose.yml - add new line ${LIZMAP_DIR}/var/lizmap-themes-default:/www/lizmap/var/themes/default
Copy only modified template main.tpl in ${LIZMAP_DIR}/var/lizmap-themes-default/view
The map view interface work correct.
But, when I go to administration interface I have this error "Error 500. A technical error has occured. Sorry for this trouble."
The login form have this view:
In log-files in /lizmap/www/var/log/errors.log I see
"2022-06-16 14:51:11 10.0.2.2 error 2022-06-16 14:51:11 [18] Unknown module in the selector "jauth~login:out@classic" /www/lib/jelix/core/selector/jSelectorAct.class.php 70"
In log-files in /lizmap/var/log/nginx/lizmap_access.log
10.0.2.2 - - [16/Jun/2022:12:51:11 +0000] "GET /admin.php/admin/config/?auth_url_return=%2Fadmin.php%2Fadmin%2Fconfig%2F HTTP/1.1" 500 178 "http://192.168.2.67:8090/admin.php/auth/login/?auth_url_return=%2Fadmin.php%2Fadmin%2Fconfig%2F%3Fauth_url_return%3D%252Fadmin.php%252Fadmin%252Fconfig%252F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
If I delete line about lizmap-themes-default in docker-compose.yml - all work correct.
from lizmap-docker-compose.
It appears that there is some content needed in the directory required for lizmap to run properly. (Lizmap is not fully docker friendly yet :-/).
My guess is that you will have to modify the docker-compose file to fit your needs: i.e explicitely mount the files/dir required for your needs.
from lizmap-docker-compose.
Thank you.
I found what files were needed for the administration interface.
Everything is working correctly now :)
from lizmap-docker-compose.
@skvo1977 Could you change your PR accordingly? Thanks.
from lizmap-docker-compose.
Hello there. I find why this issue is triggered.
Adding the following line will erase some content in lizmap/var/themes/default
folder :
- ${LIZMAP_DIR}/var/lizmap-themes-default:/www/lizmap/var/themes/default
I instead added this line - ${LIZMAP_DIR}/var/lizmap-themes-default/view:/www/lizmap/var/themes/default/view
and everything is working fine.
I may need to add a line for every modules I want to rewrite, but it's not a problem for me.
If you have a better solution I'll take it :)
from lizmap-docker-compose.
With the image of Lizmap 3.6 and higher, there is no more static files into lizmap/var
, so you can mount /www/lizmap/var/themes/default
.
from lizmap-docker-compose.
Related Issues (20)
- Installation Ended. This username Already exists HOT 1
- problem displaying images associated with points on the map HOT 3
- Persmission denied when running ./configure.sh configure HOT 1
- pg_service.conf not copied HOT 6
- inconsistency in the configure() procedure HOT 4
- Install lizmap with docker compose on a server HOT 2
- templates and additional modules HOT 1
- Production server requirements HOT 1
- ERRO docker web client offiline HOT 11
- QGIS server : cp: cannot stat '/srv/etc/qgis/*': No such file or directory HOT 7
- lizmap/www directory not created HOT 4
- Lizmap docker compose and PostGIS HOT 2
- can't create 'lizmap/var/config
- The lizmap_server plugin needs to be updated HOT 1
- Proper way to update lizmap version HOT 2
- /lizmap/www/ directory is empty
- URL Qgis Server not correct HOT 2
- rollback config files
- www.dist
- 504 Timeout response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lizmap-docker-compose.