Code Monkey home page Code Monkey logo

Comments (5)

netroy avatar netroy commented on May 27, 2024

I'm wondering if this is a new bug, or a race condition with various containers trying to run migrations.
If you restart all containers, do you still see this error?

from n8n.

jkirvan-gr avatar jkirvan-gr commented on May 27, 2024

I think you are correct on the Drop column error. The nodeAccess column doesn't appear to be in the schema any longer.

image

We are still seeing the other error on repeated restarts.

image

from n8n.

netroy avatar netroy commented on May 27, 2024

Those errors look like the postgres user being used with n8n doesn't have all the permissions it needs. You could either:

  1. run ALTER USER [[DB_USER]] WITH SUPERUSER; as a superuser to grant the db user all the permissions - not recommended.
  2. run CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; as a superuser (in the n8n database) to create the UUID extension, and then ignore the permission warning (if it still continues to show up). - not recommended.
  3. run GRANT CREATE ON DATABASE [[DB_NAME]] to [[DB_USER]]; as a superuser to grant correct permissions to the user on the n8n DB - recommended.

from n8n.

jkirvan-gr avatar jkirvan-gr commented on May 27, 2024

This is either new or it was missed in your documentation for postgres permissions. Please have your tech writers update the documentation.

Thanks for sorting this out. I'll close this since all issues are resolved.

from n8n.

netroy avatar netroy commented on May 27, 2024

I believe this specific bit is documented here.
If GRANT ALL PRIVILEGES ON DATABASE n8n-db TO n8n-user; is run once before the app is started, you should not see this issue.

But, if you think we need to add more details on that page, please let us know.

from n8n.

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.