question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while creating development user CartoDB

See original GitHub issue

While creating development user I get this error:

[pool] Found a connection for localhost:cartodb_dev_user_ec9cc5c4-2863-4fc6-acbf-95bcb52ea902_db:5432:postgres:sequel (4)
(0.000178s) BEGIN
PG::Error: ERROR:  role "cdb_org_member_cd4c6486da97f514ce4aaec5338e2296" does not exist
CONTEXT:  SQL statement "GRANT "cdb_org_member_cd4c6486da97f514ce4aaec5338e2296" TO "development_cartodb_user_ec9cc5c4-2863-4fc6-acbf-95bcb52ea902""
PL/pgSQL function cdb_organization_create_member(text) line 3 at EXECUTE statement: SELECT cartodb.CDB_Organization_Create_Member('development_cartodb_user_ec9cc5c4-2863-4fc6-acbf-95bcb52ea902');
(0.000228s) ROLLBACK
(0.000848s) ROLLBACK
rake aborted!
PG::Error: ERROR:  role "cdb_org_member_cd4c6486da97f514ce4aaec5338e2296" does not exist
CONTEXT:  SQL statement "GRANT "cdb_org_member_cd4c6486da97f514ce4aaec5338e2296" TO "development_cartodb_user_ec9cc5c4-2863-4fc6-acbf-95bcb52ea902""
PL/pgSQL function cdb_organization_create_member(text) line 3 at EXECUTE statement

End all process is revoked. Any idea what could be the issue?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
davschnecommented, Feb 15, 2018

I’ve encountered the same error, I found this advice to be useful: https://gis.stackexchange.com/a/245410/114640. The ‘cartodb’ extension must not be enabled on the postgis_template database.

0reactions
jsmeng324commented, Apr 27, 2019

I’ve encountered the same error, I found this advice to be useful: https://gis.stackexchange.com/a/245410/114640. The ‘cartodb’ extension must not be enabled on the postgis_template database.

This works for me. You sir just save me a couple more hours of hair pulling. Kudos!

Read more comments on GitHub >

github_iconTop Results From Across the Web

sverhoeven/docker-cartodb - Error when creating a new map
When building a new image, I get the same error from the sql api. Seems the api key is not in redis.
Read more >
CartoDB local installation - how to create users other than ...
I have a local install of CartoDB. It all works fine following the instructions at https://github.com/CartoDB/cartodb. I manage to create a user ......
Read more >
4 solutions to common problems when making location ...
Learn four tips on solving common cartography problems using CARTO VL, CARTO.js and Builder.
Read more >
Authorization
Overview. Every call to CARTO's APIs must be authorized, the only exception to that rule being some API calls that retrieve public user...
Read more >
CARTO User Manual | CARTO Documentation
The CARTO Workspace is the user interface for our next generation cloud-native Location Intelligence platform. It allows you to create stunning maps and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found