Revival of Umap / Renaissance de Umap

(:france: French version below / version française plus bas)

:united_kingdom: Revival of the Umap app

Umap is a tool to quickly build custom maps with OpenStreetMap’s background layers.

For example, you may use this tool to prepare your hiking or your visit of a town with your spots of interest.

The package for Yunohost has been dormant for some time.

But thanks to the efforts of Yohan Boniface and David Larlet (who are by the way also the developers of Umap) with my help and thanks to NLnet who partly funded this work, the package is now revived !

Enjoy!

:france: Renaissance de l’app Umap

Umap est un outil pour concevoir rapidement des cartes personnalisées avec des fonds OpenStreetMap et de les intégrer facilement à votre site.

Par exemple (mais pas seulement), vous pouvez exploiter cet outil pour préparer vos randonnées et pour recenser vos point d’intérêt à visiter.

Le paquet a été en sommeil pour quelque temps.

Mais grâce aux efforts de Yohan Boniface et David Larlet (qui sont aussi par ailleurs developpeurs de Umap) avec mon aide et grâce à NLnet qui a en partie financé ce travail, le paquet renaît de ses cendres :

Amusez-vous bien !

8 Likes

Thanks!
I tried installing but there was a fatal error because postgis is not available. Logs: https://paste.yunohost.org/raw/uwowadugis

These lines are surprising:


2026-04-10 16:13:11,916: DEBUG - Unpacking umap-ynh-deps (3.5.0~ynh0) ...
2026-04-10 16:13:11,943: DEBUG - dpkg: umap-ynh-deps: dependency problems, but configuring anyway as you requested:
2026-04-10 16:13:11,943: DEBUG -  umap-ynh-deps depends on python3-pip; however:
2026-04-10 16:13:11,944: DEBUG -   Package python3-pip is not installed.
2026-04-10 16:13:11,944: DEBUG -  umap-ynh-deps depends on libpq-dev; however:
2026-04-10 16:13:11,944: DEBUG -   Package libpq-dev is not installed.
2026-04-10 16:13:11,945: DEBUG -  umap-ynh-deps depends on postgis; however:
2026-04-10 16:13:11,945: DEBUG -   Package postgis is not installed.

But before going further with the investigation, could you update the catalog and try again? I see that you intent to install the version 3.5.0, but the current version is 3.7.3.

Thanks, I updated the catalog and now it’s trying to install 3.7.3 but apparently the error is similar https://paste.yunohost.org/raw/ezekahutup

Yeah, still seing these lines:

2026-04-12 07:04:35,191: DEBUG - Unpacking umap-ynh-deps (3.7.3~ynh1) ...
2026-04-12 07:04:35,213: DEBUG - dpkg: umap-ynh-deps: dependency problems, but configuring anyway as you requested:
2026-04-12 07:04:35,214: DEBUG -  umap-ynh-deps depends on python3-pip; however:
2026-04-12 07:04:35,214: DEBUG -   Package python3-pip is not installed.
2026-04-12 07:04:35,214: DEBUG -  umap-ynh-deps depends on libpq-dev; however:
2026-04-12 07:04:35,214: DEBUG -   Package libpq-dev is not installed.
2026-04-12 07:04:35,214: DEBUG -  umap-ynh-deps depends on postgis; however:
2026-04-12 07:04:35,215: DEBUG -   Package postgis is not installed.

What happens when you try the following command?

sudo apt install python3-pip libpq-dev postgis

I installed those three packages but nothing changed, as seen here https://paste.yunohost.org/raw/lalewaqawi
However, installing postgresql-postgis solved the problem.
The app is now working at uMap - Online map creator

What I don’t get is why then the CI pass. But I believe you, and there is probably no harm in installing postgresql-postgis.

I have opened and merged this PR, with the fix:

The new version of umap will be offered in the app upgrades in a few hours.

Thanks for the report!

1 Like

Hi! Thanks for developing this app. I’m trying to use it but I get this error when installing

args:
  app: umap
  force: false
  ignore_yunohost_version: false
  label: BikeMap
  no_remove_on_failure: false
ended_at: 2026-06-09 15:26:08.619429
error: An error occured inside the script snippet
interface: api
operation: app_install
parent: 20260609-151211-resource_snippet-umap
related_to:
- - app
  - umap
started_at: 2026-06-09 15:26:01.913411
success: false
yunohost_version: 12.1.40.1

============

2026-06-09 16:26:01,940: INFO - Installing umap…
2026-06-09 16:26:01,984: INFO - Provisioning sources...
2026-06-09 16:26:01,985: INFO - Provisioning system_user...
2026-06-09 16:26:02,379: INFO - Provisioning install_dir...
2026-06-09 16:26:02,390: INFO - Provisioning data_dir...
2026-06-09 16:26:02,401: INFO - Provisioning permissions...
2026-06-09 16:26:02,409: DEBUG - Permission 'umap.main' updated
2026-06-09 16:26:02,426: DEBUG - Permission 'umap.main' created
2026-06-09 16:26:02,448: DEBUG - Permission 'umap.main' updated
2026-06-09 16:26:02,455: DEBUG - Permission 'umap.main' updated
2026-06-09 16:26:02,580: DEBUG - Permissions were resynchronized to LDAP
2026-06-09 16:26:02,638: DEBUG - Formating result in 'export' mode
2026-06-09 16:26:02,640: DEBUG - SSO and portal configurations regenerated
2026-06-09 16:26:02,641: INFO - Provisioning ports...
2026-06-09 16:26:02,690: INFO - Provisioning apt...
2026-06-09 16:26:02,724: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2026-06-09 16:26:02,758: DEBUG - + source /usr/share/yunohost/helpers
2026-06-09 16:26:02,759: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2026-06-09 16:26:02,762: DEBUG - +++ cd -- /usr/share/yunohost
2026-06-09 16:26:02,763: DEBUG - +++ pwd
2026-06-09 16:26:02,764: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2026-06-09 16:26:02,765: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2026-06-09 16:26:02,770: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2026-06-09 16:26:02,771: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2026-06-09 16:26:02,796: DEBUG - + ynh_abort_if_errors
2026-06-09 16:26:02,802: DEBUG - + trap ynh_exit_properly EXIT
2026-06-09 16:26:02,803: DEBUG - + ynh_apt_install_dependencies python3 python3-pip python3-venv libpq-dev postgresql postgresql-contrib postgresql-postgis redis-server postgis
2026-06-09 16:26:02,804: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2026-06-09 16:26:02,807: DEBUG - ++ sed 's/|/ | /'
2026-06-09 16:26:02,808: DEBUG - + local 'dependencies=python3, python3-pip, python3-venv, libpq-dev, postgresql, postgresql-contrib, postgresql-postgis, redis-server, postgis'
2026-06-09 16:26:02,810: DEBUG - ++ ynh_read_manifest version
2026-06-09 16:26:02,812: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_dtqfdkxa/manifest.toml
2026-06-09 16:26:02,814: DEBUG - ++ toml_to_json
2026-06-09 16:26:02,816: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2026-06-09 16:26:02,818: DEBUG - ++ jq .version --raw-output
2026-06-09 16:26:02,958: DEBUG - + local version=3.7.3~ynh2
2026-06-09 16:26:02,960: DEBUG - + local app_ynh_deps=umap-ynh-deps
2026-06-09 16:26:02,961: DEBUG - + grep '[<=>]'
2026-06-09 16:26:02,965: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2026-06-09 16:26:02,966: DEBUG - ++ sort -u
2026-06-09 16:26:02,968: DEBUG - + local specific_php_version=
2026-06-09 16:26:02,970: DEBUG - + grep --quiet php
2026-06-09 16:26:02,972: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2026-06-09 16:26:02,974: DEBUG - ++ local package=postgresql-15
2026-06-09 16:26:02,976: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2026-06-09 16:26:02,978: DEBUG - ++ grep --quiet '^installed$'
2026-06-09 16:26:03,022: DEBUG - ++ echo yes
2026-06-09 16:26:03,023: DEBUG - + local psql_installed=yes
2026-06-09 16:26:03,024: DEBUG - + [[ true == \t\r\u\e ]]
2026-06-09 16:26:03,025: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2026-06-09 16:26:03,027: DEBUG - ++ mktemp --directory
2026-06-09 16:26:03,028: DEBUG - + local TMPDIR=/tmp/tmp.DPpO3C0ed6
2026-06-09 16:26:03,029: DEBUG - + mkdir -p /tmp/tmp.DPpO3C0ed6/umap-ynh-deps/DEBIAN
2026-06-09 16:26:03,030: DEBUG - + chmod -R 755 /tmp/tmp.DPpO3C0ed6/umap-ynh-deps
2026-06-09 16:26:03,032: DEBUG - + cat
2026-06-09 16:26:03,035: DEBUG - + _ynh_apt update --error-on=any
2026-06-09 16:26:03,036: DEBUG - + [[ update --error-on=any == \u\p\d\a\t\e ]]
2026-06-09 16:26:03,037: DEBUG - + _ynh_wait_dpkg_free
2026-06-09 16:26:03,236: DEBUG - + return 0
2026-06-09 16:26:03,240: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update --error-on=any
2026-06-09 16:26:03,501: DEBUG - Hit:1 http://deb.debian.org/debian bookworm InRelease
2026-06-09 16:26:03,511: DEBUG - Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
2026-06-09 16:26:03,550: DEBUG - Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
2026-06-09 16:26:03,552: DEBUG - Hit:5 https://packages.sury.org/php bookworm InRelease
2026-06-09 16:26:03,598: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable InRelease
2026-06-09 16:26:03,640: DEBUG - Hit:7 http://archive.raspberrypi.com/debian bookworm InRelease
2026-06-09 16:26:03,810: DEBUG - Hit:3 https://forge.yunohost.org/debian bookworm InRelease
2026-06-09 16:26:04,573: DEBUG - Err:6 https://dl.yarnpkg.com/debian stable InRelease
2026-06-09 16:26:04,574: DEBUG -   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-06-09 16:26:04,954: DEBUG - Fetched 16.5 kB in 2s (10.5 kB/s)
2026-06-09 16:26:07,953: DEBUG - Reading package lists...
2026-06-09 16:26:08,010: WARNING - W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-06-09 16:26:08,013: DEBUG - + ynh_exit_properly
2026-06-09 16:26:08,014: WARNING - E: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-06-09 16:26:08,020: DEBUG - + local exit_code=100
2026-06-09 16:26:08,021: WARNING - E: Some index files failed to download. They have been ignored, or old ones used instead.
2026-06-09 16:26:08,026: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2026-06-09 16:26:08,026: DEBUG - + '[' 100 -eq 0 ']'
2026-06-09 16:26:08,618: ERROR - provision_or_update failed for apt : An error occured inside the script snippet

Any help?

Thank you!

any help? :slight_smile:

WARNING - E: Failed to fetch dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525

@juany

See here : Impossible de récupérer les mises a jour : Erreur: "500" Action: "PUT" /yunohost/api/update/all - #2 by otm33

2 Likes

It worked thank you su much!