d6832a177f
Now brower error: ``` error: cdb_dataservices_client._cdb_service_quota_info(2): [cartodb_dev_user_5357a703-8b69-48d4-b114-122e9498aca7_db] REMOTE ERROR: spiexceptions.ExternalRoutineException: cartodb_services.metrics.config.ConfigException: Here maps configuration missing↵ at Connection.parseE (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:560:11)↵ at Connection.parseMessage (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:383:17)↵ at Socket.<anonymous> (/CartoDB-SQL-API/node_modules/cartodb-psql/node_modules/pg/lib/connection.js:119:22)↵ at Socket.emit (events.js:95:17)↵ at Socket.<anonymous> (_stream_readable.js:765:14)↵ at Socket.emit (events.js:92:17)↵ at emitReadable_ (_stream_readable.js:427:10)↵ at emitReadable (_stream_readable.js:423:5)↵ at readableAddChunk (_stream_readable.js:166:9)↵ at Socket.Readable.push (_stream_readable.js:128:10)↵ at TCP.onread (net.js:529:21)" Name ``` When map without geometry is opened.
19 lines
778 B
Bash
Executable File
19 lines
778 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Init script for template postgis
|
|
#
|
|
|
|
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib/postgis-2.2;
|
|
createdb -E UTF8 template_postgis;
|
|
createlang -d template_postgis plpgsql;
|
|
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' \
|
|
WHERE datname='template_postgis'"
|
|
psql -d template_postgis -c "CREATE EXTENSION postgis;"
|
|
psql -d template_postgis -c "CREATE EXTENSION postgis_topology;"
|
|
psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;"
|
|
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"
|
|
psql -c "CREATE EXTENSION plpythonu;"
|
|
psql -d template_postgis -c "CREATE EXTENSION plpythonu;"
|
|
psql -d template_postgis -c "CREATE EXTENSION crankshaft VERSION 'dev';"
|
|
psql -d template_postgis -c "CREATE EXTENSION plproxy;"
|