[openstreetmap/openstreetmap-website] CONFIGURE.md fails (#2523)

Terrific-dev notifications at github.com
Mon Jan 27 17:34:15 UTC 2020


I try to follow openstreetmap-website's CONFIGURE.md and i reached the point of loading an extract with Osmosis. I run this code; 

osmosis --read-pbf greater-london-latest.osm.pbf 
>   --write-apidb host="localhost" database="openstreetmap" \
>   user="openstreetmap" password="" `validateSchemaVersion="no"

then i get this;

`Jan 27, 2020 6:28:08 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument 7 doesn't contain a value after the '=' (ie. name=value).
	at org.openstreetmap.osmosis.core.cli.CommandLineParser.parseTask(CommandLineParser.java:281)
	at org.openstreetmap.osmosis.core.cli.CommandLineParser.parse(CommandLineParser.java:75)
	at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:74)
	at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
`
I've tried to put the pbf file in the openstreetmap-website directory to see if it helps, no luck. The role openstreetmap doesn't exist so i put my own credentials. It worked - kinda - but it can't connect to the database. And i also got a severe error which said that task 1-read-pbf failed.

What should i do? help

I'm trying to run an OSM-server with fictional stuff in it. Mapping of course.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200127/da9f38b9/attachment.htm>


More information about the rails-dev mailing list