Git Product home page Git Product logo

Comments (12)

aitoehigie avatar aitoehigie commented on May 27, 2024 1

Awesome!
That worked.
Thanks

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024 1

Glad you got it working! I am going to close this issue. If you run into any other problems feel free to open a new issue

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024

@aitoehigie What version of the sqlite plugin are you using?

from cloudquery.

aitoehigie avatar aitoehigie commented on May 27, 2024

@bbernays v2.8.2 (The latest version)

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024

Can you share some more information about the OS and or container you are running this in so we can troubleshoot the issue?

from cloudquery.

aitoehigie avatar aitoehigie commented on May 27, 2024

Linux Mint 21.1
Kernel 6.5.7-060507-generic x86_64 x86_64 x86_64 GNU/Linux
go version go1.21.5 linux/amd64

Running directly on host and not in a container.

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024

OK! can you also share the config file you are using as well?

from cloudquery.

aitoehigie avatar aitoehigie commented on May 27, 2024

Stripe
kind: source

Common source-plugin configuration

spec:
name: stripe
path: cloudquery/stripe
registry: cloudquery
version: "v3.2.12"
tables: [""]
destinations: ["sqlite"]
skip_tables:
- stripe_issuing
# Needs sign-up at https://stripe.com/issuing
- stripe_treasury* # Needs sign-up at https://stripe.com/treasury
- stripe_sigma_scheduled_query_runs # Live keys only
backend_options:
table_name: "cq_state_stripe"
connection: "@@plugins.sqlite.connection"

Stripe specific configuration

spec:
# required
api_key: "${STRIPE_API_KEY}"

Sqlite
kind: destination
spec:
name: sqlite
path: cloudquery/sqlite
registry: cloudquery
version: "v2.8.0"
spec:
connection_string: ./db.sql

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024

@aitoehigie - We had an issue earlier today where v2.8.0 of the sqlite plugin was being compiled without cgo enabled. Which is the error you were seeing. If you upgrade to v2.8.2 you should have no issues

from cloudquery.

aitoehigie avatar aitoehigie commented on May 27, 2024

I had the understanding that installing the latest cloudquery installed the latest plugins?
If this assumption is incorrect, how do I upgrade the sqlite plugin to the latest version?

from cloudquery.

aitoehigie avatar aitoehigie commented on May 27, 2024

@bbernays
cloudquery -v
cloudquery version 5.15.2
which comes with cloudquery/[email protected] not v2.8.2

Excuse my many questions, I just started using Cloudquery today.

from cloudquery.

bbernays avatar bbernays commented on May 27, 2024

Welcome to CloudQuery sorry you had issues on your first day, but I am glad we can get them sorted out! In your spec files there is a version of each plugin you are using.
For stripe:

version: "v3.2.12"

For sqlite:

version: "v2.8.0"

The CLI is versioned separately from all of the other plugins to enable better interoperability

Here is a config using the newest sqlite version:

kind: source
spec:
  name: stripe
  path: cloudquery/stripe
  registry: cloudquery
  version: "v3.2.12"
  tables: ["*"]
  destinations: ["sqlite"]
  skip_tables:
    - stripe_issuing*  # Needs sign-up at https://stripe.com/issuing
    - stripe_treasury* # Needs sign-up at https://stripe.com/treasury
    - stripe_sigma_scheduled_query_runs # Live keys only
  backend_options:
    table_name: "cq_state_stripe"
    connection: "@@plugins.sqlite.connection"
  # Stripe specific configuration
  spec:
    # required
    api_key: "${STRIPE_API_KEY}"
---
kind: destination
spec:
  name: sqlite
  path: cloudquery/sqlite
  registry: cloudquery
  version: "v2.8.2"
  spec:
    connection_string: ./db.sql

from cloudquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.