Coder Social home page Coder Social logo

Failed to create environment about bytebase HOT 11 CLOSED

zhj-hx avatar zhj-hx commented on May 14, 2024
Failed to create environment

from bytebase.

Comments (11)

tianzhou avatar tianzhou commented on May 14, 2024

@zhj-hx could you please describe the reproduce step? I tried a brand new installation, but couldn't reproduce it.

Also, are you able to create other resources like instance, issues?

from bytebase.

zhj-hx avatar zhj-hx commented on May 14, 2024

https://github.com/bytebase/bytebase#run-on-localhost8080
I found that this phenomenon occurs when I install bytebase in my mac, the installation on centos7 is correct。my mac version is Catalina 10.15.7, I don't know if it is related to the system。

from bytebase.

zhj-hx avatar zhj-hx commented on May 14, 2024

Another question, how to manage instance, database,project,how to delete custom objects
@tianzhou

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

https://github.com/bytebase/bytebase#run-on-localhost8080
I found that this phenomenon occurs when I install bytebase in my mac, the installation on centos7 is correct。my mac version is Catalina 10.15.7, I don't know if it is related to the system。

Let's see if reset the data works, could you please remove the files under ~/.bytebase/data and restart?

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

Another question, how to manage instance, database,project,how to delete custom objects
@tianzhou

how to manage instance, database, project

Our doc doesn't specifically address this, but I would recommend you to read the data model first https://docs.bytebase.com/concepts/data-model. If you still have trouble using Bytebase, then it's probably a failure in our UX since we want the product to be self-explained... And please feel to reply with the specific task you have trouble to complete.

how to delete custom objects

Bytebase doesn't support deleting objects. It only supports "Archive" https://docs.bytebase.com/features/archive

from bytebase.

zhj-hx avatar zhj-hx commented on May 14, 2024

https://github.com/bytebase/bytebase#run-on-localhost8080
I found that this phenomenon occurs when I install bytebase in my mac, the installation on centos7 is correct。my mac version is Catalina 10.15.7, I don't know if it is related to the system。

Let's see if reset the data works, could you please remove the files under ~/.bytebase/data and restart?

@tianzhou I tried to delete data and restart it, still couldn't be created Environment

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

https://github.com/bytebase/bytebase#run-on-localhost8080
I found that this phenomenon occurs when I install bytebase in my mac, the installation on centos7 is correct。my mac version is Catalina 10.15.7, I don't know if it is related to the system。

Let's see if reset the data works, could you please remove the files under ~/.bytebase/data and restart?

@tianzhou I tried to delete data and restart it, still couldn't be created Environment

What if you run with --debug mode and see if it emits some clue?

docker run --init --name bytebase --restart always --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:0.3.0 --data /var/opt/bytebase --host http://localhost --port 8080 --debug

from bytebase.

zhj-hx avatar zhj-hx commented on May 14, 2024

@tianzhou debug mode
log:
{"time":"2021-08-02T09:18:24Z","method":"POST","uri":"/api/environment","status":500,"error":"code=500, message=Failed to create environment, internal=sql: Rows are closed"}

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

@tianzhou debug mode
log:
{"time":"2021-08-02T09:18:24Z","method":"POST","uri":"/api/environment","status":500,"error":"code=500, message=Failed to create environment, internal=sql: Rows are closed"}

Seems like a bug on our end, however, we have trouble to reproduce this and if possible could you email us at [email protected]. We will follow up with you offline with this issue as well as several others you raised. Thanks.

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

@zhj-hx we still have trouble reproducing it. Do you still encounter the issue with the latest 0.5.0 version?

from bytebase.

tianzhou avatar tianzhou commented on May 14, 2024

Close it for now. Feel free to re-open if you can still reproduce in the latest release.

from bytebase.

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.