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:
asked 01 May '15, 19:11 f00dl3a aseerel4c26 ♦ |
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. answered 04 May '15, 16:52 f00dl3a |
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. answered 01 May '15, 20:04 Frederik Ramm ♦ |
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. answered 01 May '15, 20:47 f00dl3a SimonPoole ♦ |