Closed DirkHeinke closed 4 years ago
Hi,
I'm not sure, if I'm using something wrong, but after pull and start, it seems like there are missing some plugins in the container?
docker run -it -p 6789:6789 -v $(pwd):/opt/project --link trusting_kapitsa:postgres-osm -e USER_ID=1000 joxit/kosmtik bash root@64034dbf9c8a:/opt/project# kosmtik -h [Core] Loading config from /root/.config/kosmtik.yml [Core] Loading plugin from ../plugins/base-exporters/index.js [Core] Loading plugin from ../plugins/hash/index.js [Core] Loading plugin from ../plugins/local-config/index.js [Core] Loading plugin from ../plugins/datasource-loader/index.js [Core] Unable to load plugin kosmtik-tiles-export MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-tiles-export [Core] Unable to load plugin kosmtik-fetch-remote MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-fetch-remote [Core] Unable to load plugin kosmtik-overlay MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-overlay [Core] Unable to load plugin kosmtik-deploy MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-deploy [Core] Unable to load plugin kosmtik-overpass-layer MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-overpass-layer [Core] Unable to load plugin kosmtik-map-compare MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-map-compare [Core] Unable to load plugin kosmtik-mapnik-reference MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-mapnik-reference [Core] Unable to load plugin kosmtik-osm-data-overlay MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-osm-data-overlay [Core] Unable to load plugin kosmtik-mbtiles-export MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-mbtiles-export [Core] Unable to load plugin kosmtik-place-search MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-place-search [Core] Unable to load plugin kosmtik-geojson-overlay MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-geojson-overlay [Core] Unable to load plugin kosmtik-open-in-josm MODULE_NOT_FOUND [Core] → try: node index.js plugins --install kosmtik-open-in-josm Usage: /usr/bin/node index.js <command> [options] command serve Run the server plugins Manage plugins export Export a project Options: --port Port to listen on. [6789] --host Host to listen on. [127.0.0.1] --mapnik-version Optional mapnik reference version to be passed to Carto [3.0.20] --proxy Optional proxy to use when doing http requests --keep-cache Do not flush cached metatiles on project load --renderer Specify a renderer by its name, carto is the default. [carto] --metatile Override mml metatile setting [Default: mml setting] --localconfig Path to local config file [Default: {projectpath}/localconfig.json|.js] root@64034dbf9c8a:/opt/project# ls
I was able to fix it in the running container by executing the provided commands in try. Maybe the last build on dockerhub went wrong?
Hello, thank your for your issue and for using this project ! I updated the base image to master, now this should be fixed :)
Hi,
I'm not sure, if I'm using something wrong, but after pull and start, it seems like there are missing some plugins in the container?
I was able to fix it in the running container by executing the provided commands in try. Maybe the last build on dockerhub went wrong?