Recently I upgraded my ORM development VM to Ubuntu 22.04 LTS (Jammy
Jellyfish) and thought I'd share some experiences. I'm mostly going
from memory here.
The supplied version of osm2pgsql is updated and can work with
multiple files, e.g. it can import a filtered North America file and
filtered Europe file without having to combine the two via osmium.
This is a plus
Apache/PHP: right off the bat I had an issue with Apache not starting.
Apparently the PHP version had updated and I needed to use
a2enmod/a2dismod to get the right PHP module enabled which allowed the
server to run.
Postgres: new version (14) required migration to new database format
and then deletion of old database. I think It was pretty seamless as
there were commands to handle this, even configuration/tuning
parameters were migrated. I might have had to readd user permissions
Tirex: version 0.7 is shipped with Jammy. Previously I had downloaded
0.6.3 via github and compiled and built deb packages. This introduced
quite a few changes:
-the default user is _tirex instead of tirex. I had to chown my tiles
directories, grant database permissions, etc. I believe _tirex is
created without a home directory so the .pgpass file (if one was
needed) cannot be reused
-tirex installs as one package, where in the past it had been split
between multiple packages. tirex-core, tirex-backend-mapnik, etc.
needs to be removed manually.
-some of the plugin folders had changed. The new config files are
supplied with the .dpkg-dist extension. Compare the files and update
-the socket file has moved from /var/lib/tirex/ to /run/tirex and the
apache tileserver config needs to be updated accordingly
-the systemd scripts in /etc were not updated. They needed to be
"imported" from /usr/lib via a systemctl enable
Now I've never used the API, not even for search since I didn't have
the right indexes in my DB (Thanks Rolf, PR 779) but there were two
issues I encountered
-there were errors from using an older version of graceful-fs that
caused it to error out, something about "primoridials." Update
graceful-fs and rebuild
-this one I haven' figured out. I'm not a node expert and despise JS.
Apparently there have been changes in log4js with setting up the
configuration with regard to "appenders." Either we'd need a code
change (would that break folks who haven't updated/upgraded) or maybe
there's a way to play with package.json to force an older version or
something. I have no idea if older versions of the package even work
with newer versions of node. If you have an idea, let me know.
Otherwise, I haven't noticed any issues with carto or kosmtik.
I hope this helps someone else.
Show replies by date