3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
252 stars 141 forks source link

[Question]: Create a new repository from Ubunzu #3201

Closed asdro-f closed 2 years ago

asdro-f commented 2 years ago

What is the question?

So far i create new repositorys in mydomain.com/lizmap/admin.php/admin/maps/.

But i want to create it automatically from Ubuntu.

With grep i found the file lizmap/var/config/lizmapConfig.ini.php. In this file there are stored informations about the repositorys. But i only see Infos about label, path and allowUserDefinedThemes. In the Lizmap Web GUI i also can manage groups/rights and define if own JS is allowed for the project.

Where i find these Informations and is it possible to define it with code from Ubuntu without accessing mydomain.com/lizmap/admin.php/admin/maps/. With grep i found many .cache-files where minimum one projectName is stored in.

Versions

Lizmap Web Client : 3.4.0
Lizmap plugin : 3.7.7
QGIS Desktop : 3.22.9
QGIS Server and plugins unknown status because running Lizmap Web Client < 3.5

Check Lizmap plugin

QGIS server version, only if the section above doesn't mention the QGIS Server version

No response

Operating system

Ubuntu 20.04

Browsers

Firefox

Browsers version

Firefox 104

Relevant log output

No response

Gustry commented 2 years ago

It's in the database. Either SQLite by default, or PostgreSQL if you have set up PostgreSQL backend. Table jacl2_rights.

Lizmap Web Client : 3.4.0

Please upgrade to latest 3.4.12