<p></p>

<h2 dir="auto">What version of osm2pgsql are you using?</h2>
<p dir="auto">osm2pgsql --version<br>
osm2pgsql version 2.0.0 (2.0.0)<br>
Build: RelWithDebInfo<br>
Compiled using the following library versions:<br>
Libosmium 2.20.0<br>
Proj 8.2.1<br>
Lua 5.1.4 (LuaJIT 2.1.0-beta3)</p>
<h2 dir="auto">What operating system and PostgreSQL/PostGIS version are you using?</h2>
<p dir="auto">Linux Ubuntu 20.04 LTS<br>
PostgreSQL 17.0 (Ubuntu 17.0-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit<br>
"POSTGIS=""3.4.3 e365945"" [EXTENSION] PGSQL=""170"" GEOS=""3.10.2-CAPI-1.16.0"" PROJ=""8.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=<a href="https://cdn.proj.org" rel="nofollow">https://cdn.proj.org</a> USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db"" LIBXML=""2.9.13"" LIBJSON=""0.15"" LIBPROTOBUF=""1.4.0"" WAGYU=""0.5.0 (Internal)"""</p>
<h2 dir="auto">Tell us something about your system</h2>
<p dir="auto">128 GB RAM, 24 CPU, bare metal</p>
<h2 dir="auto">What did you do exactly?</h2>
<p dir="auto">osm2pgsql --cache 6144 -s -c -d gis -U frank -P 5435 --output pgsql --multi-geometry --merc --hstore --schema carto --middle-schema carto --expire-tiles=10-19 --expire-output=/datengrab/osm/data/dirty_tiles --style carto.style --tag-transform-script carto.lua /datengrab/osm/data/germany-latest.osm.pbf</p>
<p dir="auto">osm2pgsql-replication status -P 5435 -d gis --schema carto --middle-schema carto<br>
Using replication service '<a href="http://download.geofabrik.de/europe/germany-updates" rel="nofollow">http://download.geofabrik.de/europe/germany-updates</a>', which is at sequence 4195 ( 2024-09-29T20:20:51Z )<br>
Replication server's most recent data is 15 hour(s) 34 minute(s) 8 second(s) old<br>
Local database is 3 sequences behind the server, i.e. 3 day(s) 0 hour(s) 17 minute(s) 41 second(s)</p>
<p dir="auto">osm2pgsql-replication update -P 5435 -d gis --schema carto --middle-schema carto</p>
<h2 dir="auto">What did you expect to happen?</h2>
<p dir="auto">osm2pgsql-replication should update my tables.</p>
<h2 dir="auto">What did happen instead?</h2>
<p dir="auto">Update failed.</p>
<p dir="auto">2024-09-30 13:55:10 [INFO]: Using replication service '<a href="http://download.geofabrik.de/europe/germany-updates" rel="nofollow">http://download.geofabrik.de/europe/germany-updates</a>'.<br>
2024-09-30 13:55:15  osm2pgsql version 2.0.0 (2.0.0)<br>
2024-09-30 13:55:15  Database version: 17.0 (Ubuntu 17.0-1.pgdg22.04+1)<br>
2024-09-30 13:55:15  PostGIS version: 3.4<br>
2024-09-30 13:55:15  Loading properties from table '"carto"."osm2pgsql_properties"'.<br>
2024-09-30 13:55:15  Not using flat node file (same as on import).<br>
2024-09-30 13:55:15  Using output 'pgsql' (same as on import).<br>
2024-09-30 13:55:15  Using style file '/home/frank/entwicklung/mapproxy/configs/openstreetmap-carto/openstreetmap-carto.style' (same as on import).<br>
2024-09-30 13:55:15  Storing properties to table '"carto"."osm2pgsql_properties"'.<br>
2024-09-30 13:55:15  WARNING: The pgsql (default) output is deprecated. For details see <a href="https://osm2pgsql.org/doc/faq.html#the-pgsql-output-is-deprecated-what-does-that-mean" rel="nofollow">https://osm2pgsql.org/doc/faq.html#the-pgsql-output-is-deprecated-what-does-that-mean</a><br>
2024-09-30 13:55:15  Storing properties to table '"carto"."osm2pgsql_properties"'.<br>
2024-09-30 13:55:15  Setting up table 'planet_osm_point'<br>
2024-09-30 13:55:15  ERROR: Database error: ERROR:  relation "public.planet_osm_point" does not exist<br>
LINE 1: PREPARE get_wkb(int8) AS SELECT way FROM "public"."planet_os...<br>
^<br>
2024-09-30 13:55:15 [CRITICAL]: Exception during execution: Command '['/usr/local/bin/osm2pgsql', '--append', '--slim', '--prefix', 'planet_osm', '--middle-schema', 'carto', '-d', 'gis', '-P', '5435', '/tmp/tmp0ubm3fm1/osm2pgsql_diff.osc.gz']' returned non-zero exit status 1.</p>
<h2 dir="auto">What did you do to try analyzing the problem?</h2>
<p dir="auto">Don't know what to do? I want to have these data in schema carto, not in public.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/issues/2259">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353SV6APU7P47Q62YQJ3ZZE5XNAVCNFSM6AAAAABPDEQYAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TMNBWGQ4DANY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353WYR5NQ7ZN7P4TMPQLZZE5XNA5CNFSM6AAAAABPDEQYAOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJQYEOU4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/issues/2259</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2259",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2259",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>