Code Monkey home page Code Monkey logo

Comments (4)

lyzhang1999 avatar lyzhang1999 commented on June 5, 2024

It seems that the maridb can not bound pvc, And could not start. Please check you cluster has storageclass or not. If not, you can create pv manually.

from nocalhost.

lyzhang1999 avatar lyzhang1999 commented on June 5, 2024

or run command without pv support:

nhctl init -n nocalhost -t nodeport -p 7000 --force --set mariadb.primary.persistence.enabled=false

from nocalhost.

lyzhang1999 avatar lyzhang1999 commented on June 5, 2024

HI, have you solved this problem?

from nocalhost.

honest1y avatar honest1y commented on June 5, 2024

Hello, The maridb had work successfully, but nocalhost-api's status was CrashLoopBackOff
`[root@master nocalhost]# kubectl get po | grep no
nocalhost-api-864bc44976-n9qpq 0/1 CrashLoopBackOff 6 9m44s
nocalhost-mariadb-0 1/1 Running 0 28m
nocalhost-web-76d78bbb5d-z9v2j 0/1 CrashLoopBackOff 11 28m

[root@master nocalhost]# kubectl logs -f nocalhost-api-864bc44976-n9qpq
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1085b84]

goroutine 1 [running]:
nocalhost/pkg/nocalhost-api/pkg/log.Errorf(0x26070cd, 0x37, 0xc00081e0c0, 0x2, 0x2)
/opt/src/pkg/nocalhost-api/pkg/log/logger.go:120 +0x24
nocalhost/internal/nocalhost-api/model.openDB(0xc000616138, 0x4, 0xc000616150, 0x4, 0xc000048330, 0x16, 0xc000616110, 0x9, 0x0)
/opt/src/internal/nocalhost-api/model/init.go:56 +0x548
nocalhost/internal/nocalhost-api/model.Init(0x0)
/opt/src/internal/nocalhost-api/model/init.go:33 +0x149
nocalhost/pkg/nocalhost-api/napp.New(0xc0006aa4e0, 0x0)
/opt/src/pkg/nocalhost-api/napp/app.go:61 +0x49
main.main()
/opt/src/cmd/nocalhost-api/nocalhost-api.go:70 +0x4ba
`

from nocalhost.

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.