On Sun, 12 Jun 2016 at 09:44 Stadin, Benjamin <
benjamin.sta...@heidelberg-mobil.com> wrote:

> Hi,
>
> I get the error below when I try to truncate the API DB. I'm using this
> command:
>
> osmosis --truncate-apidb host="localhost" database="openstreetmap"
> user="$dbuser" password="$pw" validateSchemaVersion="no"
>
> Ben
>
>
> <snip>

> SEVERE: Thread for task 1-truncate-apidb failed
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to execute
> statement.
>         at
> org.openstreetmap.osmosis.apidb.common.DatabaseContext.executeStatement(DatabaseContext.java:330)
>         at
> org.openstreetmap.osmosis.apidb.common.DatabaseContext.truncateTables(DatabaseContext.java:182)
>         at
> org.openstreetmap.osmosis.apidb.v0_6.ApidbTruncator.run(ApidbTruncator.java:58)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: org.postgresql.util.PSQLException: ERROR: relation
> "current_relation_members" does not exist
>

This indicates that the table "current_relation_members" is missing.  How
did you create the schema?  Did it complete successfully?

Brett
_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to