Coder Social home page Coder Social logo

User admin not created about helm-charts HOT 6 OPEN

xisberto avatar xisberto commented on August 22, 2024
User admin not created

from helm-charts.

Comments (6)

nataz77 avatar nataz77 commented on August 22, 2024

Having the same issue, doing the troubleshooting steps through the rails console is unhelpful
image

from helm-charts.

oliverguenther avatar oliverguenther commented on August 22, 2024

Could you please add the log output of the seeder job? I suspect there's an issue with seeding the database

from helm-charts.

AdamJSoftware avatar AdamJSoftware commented on August 22, 2024

Same issue here. Not sure how to even access the rails console to begin with which is an issue

from helm-charts.

AdamJSoftware avatar AdamJSoftware commented on August 22, 2024

Further investigation, I found that the issue has to do with using an s3 bucket as storage as it fails with:

2024-03-18T00:31:11.244771909Z Resolv::ResolvError: no address for openproject.mycustoms3bucket.com (Resolv::ResolvError)
2024-03-18T00:31:11.244775669Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/socket.rb:191:in `connect'
2024-03-18T00:31:11.244779189Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/ssl_socket.rb:193:in `connect'
2024-03-18T00:31:11.244788369Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/socket.rb:60:in `initialize'
2024-03-18T00:31:11.244791999Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/ssl_socket.rb:10:in `initialize'
2024-03-18T00:31:11.244795559Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/connection.rb:482:in `new'
2024-03-18T00:31:11.244799189Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/connection.rb:482:in `socket'
2024-03-18T00:31:11.244802729Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/connection.rb:121:in `request_call'
2024-03-18T00:31:11.244806299Z /usr/local/bundle/gems/excon-0.109.0/lib/excon/middlewares/mock.rb:57:in `request_call'

Here is my s3 config:

s3:
  auth:
    accessKeyId: redacted
    existingSecret: null
    secretAccessKey: redacted
    secretKeys:
      accessKeyId: accessKeyId
      secretAccessKey: secretAccessKey
  bucketName: openproject
  directUploads: true
  enabled: true
  endpoint: https://mycustoms3bucket.com
  host: null
  pathStyle: false
  region: null
  signatureVersion: 4
  use_iam_profile: false

Not sure why it's trying to put the bucket name in front and how to avoid that from happening

from helm-charts.

AdamJSoftware avatar AdamJSoftware commented on August 22, 2024

After doing some digging I was able to fix the issue by setting pathStyle to true. More of a user error then a helm chart bug. After upgrading the chart, the seeder ran again and resolved the issue. However, I had an issue changing my password as "Lastname field must be set". I had to manually go into postgres and update the value myself. This issue should also be addressed

from helm-charts.

oliverguenther avatar oliverguenther commented on August 22, 2024

Thanks for the update and sorry for late reply.

Regarding the last name issue: Did you set OPENPROJECT_SEED_ADMIN_USER_NAME ? If so, to what value did you set this?

from helm-charts.

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.