RAILS_ENV=production bundle exec rake cartodb:features:add_feature_flag['carto-connectors']
RAILS_ENV=production bundle exec rake cartodb:features:enable_feature_for__all_users['carto-connectors']
"get_error_text": {
"title": "Connector invalid parameters",
"what_about": "The connector couldn't be configured because the parameters were not valid.",
"source": "user"
},
error: Uncaught Resque failure
#<Carto::Connector::InvalidParametersError: Invalid provider Provider: postgres>
RAILS_ENV=production bundle exec rake cartodb:connectors:create_providers <~ no providers are created as the list of providers is empty
RAILS_ENV=production bundle exec rake cartodb:connectors:set_user_config["postgres","myuser","true","unlimited"]. <~ returns "Provider not found: postgres"
--
---
You received this message because you are subscribed to the Google Groups "cartodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cartodb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cartodb/02deb534-a787-46a8-9326-8a43d345d11do%40googlegroups.com.
connectors:
odbc:
enabled: false
max_rows: nil
mysql:
enabled: true
max_rows: 500000
postgresql:
enabled: true
max_rows: 500000
hive:
enabled: false
max_rows: 500000
sqlserver:
enabled: false
max_rows: 500000
bigquery:
enabled: false
max_rows: 1000000
To unsubscribe from this group and stop receiving emails from it, send an email to car...@googlegroups.com.
ubuntu@geo:~/cartodb$ RAILS_ENV=production bundle exec rake cartodb:connectors:show_config[postgres]
Provider not found: postgres
ubuntu@geo:~/cartodb$ RAILS_ENV=production bundle exec rake cartodb:connectors:set_user_config[postgres,olivier2,true,100000]
Provider not found: postgres
@carto_lover It would help if could you share with me additional information on your setup
1) which tag version of carto are you running (or what is your last commit)?
2) Do you have any provider hard coded in lib/carto/connector/providers.rb?
3) what files are present in the folder lib/carto/connector/
4) what is the output of: psql -U postgres carto_db_production -c "select * from connector_providers;"
Thank you for your help
Olivier