I upgraded from Ubuntu 14.04 to 15.04 Friday (via 14.10 then 15.04) - and since my OSM tile server is not generating new tiles. Areas that already have had tiles generated work flawlessly, but if I "pan" around in Leaflet to areas I have not generated tiles for, no tiles are generated, and looking at glances I do not see any of the tile generation services being kicked off. I would rather not do the 36 hour database rebuild for another 6 months as map data is still relatively current for most areas.

Had 2 questions:

  1. Ubuntu 15.04 uses systemd now for services called upon on boot. Could the instructions I followed to set up the tile server for 14.04 need updating to reflect systemd now being used instead of init.d?
  2. When upgrading, Ubuntu "automatically removed no longer needed packages" including Boost, Mapnick, and some other actually needed packages. I re-downloaded all the packages in the steps listed https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ - but also in the process I noticed my PostgreSQL was updated from 9.3 to 9.4 - thus I did a apt-get postgresql-9.4-postgis-2.1 - I recall somewhere mentioned I may have to do some extra steps due to upgrading PostgreSQL?

asked 01 May '15, 19:11

f00dl3a's gravatar image

f00dl3a
1714413
accept rate: 25%

edited 02 May '15, 23:35

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239550


upgraded PostgreSQL by completely removing and re-installing the applicaiton. Re-created databases. Re-downloaded the PBF and re-built the tile server database. Resolved.

permanent link

answered 04 May '15, 16:52

f00dl3a's gravatar image

f00dl3a
1714413
accept rate: 25%

Upon a PostgreSQL upgrade, Ubuntu will normally run the new version in parallel to the old (e.g. 9.4 on port 5433, p.3 on port 5432 or so). Your message does not contain enough information to help you; "tiles not rendering" could be caused by a large variety of issues. Is renderd running? If not, start it by hand. Does it start? If not, check why and eliminate the problem. If renderd is running, check the Apache error log - can mod_tile successfully send its request to renderd? Can renderd successfully talk to the database? Check the PostgreSQL logs. Run renderd in foreground mode (-f flag) to see debug output and let that inform your further bug hunting. This kind of complicated debugging might be better suited to IRC.

permanent link

answered 01 May '15, 20:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
70.6k826391105
accept rate: 24%

I need to at least recompile things as Boost is now a newer version. It appears like it was looking for an old version of Boost when I ran renderd -f. Doing that now, but found another issue.

I am following the instructions at http://stackoverflow.com/questions/28788653/migrating-from-postgresql-9-3-to-9-4-postgis as PostgreSQL on Ubuntu 15.04 is version 9.4. For some reason, when running pg_config --pkglibdir it returns /usr/lib/postgresql/9.3/lib, even though psql --version returns 9.4.1. I created a symbolic link, sudo ln -s /usr/lib/postgresql/9.4/lib/postgis-2.1.so /usr/lib/postgresql/9.3/lib , but now in rendered I am getting the error "incompatible library "/usr/lib/postgresql/9.3/lib/postgis-2.1.so" version mismatch DETAIL Server is version 9.3, library is version 9.4. This doesn't make sense as the --version returns 9.4.1.

permanent link

answered 01 May '15, 20:47

f00dl3a's gravatar image

f00dl3a
1714413
accept rate: 25%

edited 02 May '15, 11:44

SimonPoole's gravatar image

SimonPoole ♦
38.4k13286610

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×158
×144
×121
×42
×2

question asked: 01 May '15, 19:11

question was seen: 2,616 times

last updated: 04 May '15, 16:52

powered by OSQA