-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Can not login on server via Lizmap plugin #504
Comments
|
thanks for coming back to me! I followed your steps, this json is what i get {
"info": {
"version": "3.6.4",
"date": "2023-05-30"
},
"dependencies": {
"jelix": {
"version": "1.8.1",
"minversion": "1.8.1",
"maxversion": "1.8.1"
}
},
"api": {
"dataviz": {
"version": "1.0.0"
}
},
"repositories": {
"2": {
"label": "Demo-Projekt 06\/23",
"path": "test\/",
"authorized_groups": ["__anonymous", "admins", "publishers", "users"],
"editing_authorized_groups": ["admins"],
"projects": []
}
},
"acl": {
"groups": {
"publishers": {
"label": "Publishers"
},
"admins": {
"label": "admins"
},
"users": {
"label": "users"
}
}
},
"qgis_server_info": {
"metadata": {
"commit_id": "6f08e4d7b0",
"name": "Bia\u0142owie\u017ca",
"py_qgis_server": false,
"py_qgis_server_version": "not used",
"tag": "final-3_22_16",
"version": "3.22.16",
"version_int": 32216
},
"plugins": {
"atlasprint": {
"commitNumber": "1",
"commitSha1": "7b8a3ea12775bcdcdac0b0f8432bd64adb3dc528",
"dateTime": "2022-10-19T08:10:14Z",
"name": "atlasprint",
"repository": "https:\/\/github.com\/3liz\/qgis-atlasprint",
"version": "3.3.2"
},
"lizmap_server": {
"commitNumber": "1",
"commitSha1": "1fb453e7bac62af1f7d94bffe3a0242b28debe4d",
"dateTime": "2023-05-30T12:20:05Z",
"name": "Lizmap server",
"repository": "https:\/\/github.com\/3liz\/qgis-lizmap-server-plugin",
"version": "2.7.2"
},
"wfsOutputExtension": {
"name": "wfsOutputExtension",
"version": "not found"
}
},
"py_qgis_server": {
"build_id": null,
"commit_id": null,
"found": false,
"stable": false,
"stable_release": false,
"version": "not used"
},
"services": ["WMS", "WFS", "WCS", "WMTS", "ATLAS", "EXPRESSION", "LIZMAP"]
}
} |
Ok, but this is correct result. If you use this server URL |
Was it a fresh install or an old Lizmap Web Client installation and you upgraded it ? (if upgraded, when did you install it ?) |
It was a fresh install on Ubuntu Server 22.04 I'm using SQlite for storing the users/groups |
Did you double check my comment ? #504 (comment) The result is your webbrowser is fine. |
sorry, i overlooked your comment - yes, exactly that is the case. I fill in the same admin/pw credentials i use via the web-interface and get the message from #504 (comment) I will try with a completely fresh install next week, maybe i set up something wrong during installation process (unix read/write rights..?) |
Not necessary. If you can try with curl/wget (CLI on linux) or Postman (in your webbrowser) to make the HTTP request with your Basic auth. |
Sorry, i had to seetup the server new due to other reasons as well :/ - if the problem comes up again, i will report further! |
So it means it's resolved ? |
Happened to me too! |
Description
I just installed Lizmap 3.6.4 on a Ubuntu 20.04 Server. QGIS/QGIS-Server version 3.22. When i login via the webbrowser, under "Server Information" i can see that the connection to the QGIS server seems to work (It shows my installed plugins as well as the version number of QGIS server).
I created a new user with admin rights . The user is saved so lizmap can actually write into the user-database.
Now in the QGIS plugin when i fill in the "http://123.456.78.9/lizmap/ and continue to give the username/pwd it is always saying
"The given user does not have the right. View the detailed server information"
Right: lizmap.admin.server.information.view"
It strangely does not matter, if i use any of the admin users i created. Even if i type phantasy usernames/pwd it comes up with the same message. Any idea, what could be the issu?
Context
The text was updated successfully, but these errors were encountered: