Coder Social home page Coder Social logo

Comments (7)

paulbricman avatar paulbricman commented on May 28, 2024 1

Yeah, sure! I'm wondering whether one I used at some point slipped in due to some poor .gitignore rules, but let's have a look.

Edit: Oh I think that's the case! It's because you used the Docker approach, and when building and pushing the Docker images, Docker doesn't take into consideration the .gitignore rules. I'll look into building images which skip records.json and microverses.json, or move those to /knowledge, which is the mounted folder which only has user-specific data.

from conceptarium.

paulbricman avatar paulbricman commented on May 28, 2024

Hm, could you try:

docker container ls
docker exec -i -t <backend container id> /bin/bash
cd /app
cat records.json

This should print the contents of the records file, including the custodian token (it's plaintext because if you've got access to the file system, you could get the thoughts anyway). We'll see whether the right token made it there in the first place, and debug from there.

from conceptarium.

phkus avatar phkus commented on May 28, 2024

Looks like my token didn't get registered, it shows me a different one.

Just to make sure I didn't make a mistake at the beginning: The way I set a token after installation is simply by entering it in the token field below "connect to new microverse" the first time I log in, right?

from conceptarium.

paulbricman avatar paulbricman commented on May 28, 2024

The way I set a token after installation is simply by entering it in the token field below "connect to new microverse" the first time I log in, right?

Yeah, that should be it!

Looks like my token didn't get registered, it shows me a different one.

Oh no, is it a completely unrelated one? Or a messed up version due to some special characters?

from conceptarium.

phkus avatar phkus commented on May 28, 2024

No it's completely different. Should I send you more details in a mail?

from conceptarium.

paulbricman avatar paulbricman commented on May 28, 2024

@phkus Could you please try removing your local Docker images and trying to docker-compose the latest ones? I made it so that the records.json file which contains the "master" custodian token is stored in the mounted knowledge folder, rather than among the source files.

from conceptarium.

phkus avatar phkus commented on May 28, 2024

That worked, I'm now the custodian. Thanks for your help!

from conceptarium.

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.