mapcentia / geocloud2

The GC2 framework helps you build a spatial data infrastructure quickly and easily. Powered using open source components for a scalable solution focused on freedom rather than fees.
https://www.osgeo.org/projects/gc2-vidi/
GNU Affero General Public License v3.0
148 stars 67 forks source link

Can't create new user #138

Closed geodyj closed 6 months ago

geodyj commented 6 months ago

I use the latest docker compose to install gc2, and can't create new user. image { "success": false, "message": "SQLSTATE[42703]: Undefined column: 7 ERROR: column \"usergroup\" of relation \"users\" does not exist\nLINE 1: INSERT INTO users (screenname,pw,email,parentdb,usergroup,zo...\n ^", "test": null, "code": 400, "_execution_time": 0.357 }

mapcentia commented 6 months ago

I think it's because of a bug in the database migration script, so some fields are not created (like usergroup)

I'll patch this

mapcentia commented 6 months ago

I've updated the docker-compose file and Docker images: https://github.com/mapcentia/gc2-vidi-docker-compose

So do a git pull

Do docker compose down -v and remove existing Docker images.

Then docker compose up

The postgis service will now persist data.

geodyj commented 6 months ago

However, I got error again. like this: ✘ gc2core Error 33.1s Error response from daemon: pull access denied for mapcentia/gc2core8, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

mapcentia commented 6 months ago

mapcentia/gc2core8 is the new PHP8.3 image, which was still private. It's public now

mapcentia commented 6 months ago

I went trough the Docker images and https://github.com/mapcentia/gc2-vidi-docker-compose

Please upgrade everything (pull new images and delete volumes)

geodyj commented 6 months ago

It's OK now , thank you. By the way, could I change the Dark theme, font size and language of the Web UI ? and how to do that?

mapcentia commented 6 months ago

The language is set from your browsers settings, but it's only English and Danish, which are fully supported. Italian, Spanish, French and Russian are partly supported (English words where no translation exists).

There is only the dark theme.