GithubHelp home page GithubHelp logo

Add Users about semaphore HOT 7 CLOSED

ansible-semaphore avatar ansible-semaphore commented on July 21, 2024
Add Users

from semaphore.

Comments (7)

matejkramny avatar matejkramny commented on July 21, 2024

Can you take a peek at the database?

from semaphore.

gvenka008c avatar gvenka008c commented on July 21, 2024

@matejkramny how do i connect to the db? can you tell me the tables that i need to look into?

from semaphore.

matejkramny avatar matejkramny commented on July 21, 2024
mongo ->

db.users.find()

This can verify your users are being created. If they are, then there may be issue with the session store, so check redis works.

from semaphore.

gvenka008c avatar gvenka008c commented on July 21, 2024

@matejkramny Here is what I see

root@mongodb:/# mongo
MongoDB shell version: 3.2.4
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
    http://docs.mongodb.org/
Questions? Try the support group
    http://groups.google.com/group/mongodb-user
Server has startup warnings:
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten]
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten]
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-03-16T19:46:29.051+0000 I CONTROL  [initandlisten]


> db.users.find()   => no results


> db.users.find(gvenka008c)
2016-03-17T00:35:05.802+0000 E QUERY    [thread1] ReferenceError: dbusers is not defined :
@(shell):1:1

from semaphore.

gvenka008c avatar gvenka008c commented on July 21, 2024

@matejkramny Any updates?

from semaphore.

matejkramny avatar matejkramny commented on July 21, 2024

Here's a sample of a few commands which will be useful

root@mongodb:/# mongo
> show dbs
< ... list of databases ... >
> use (pick a db!)
> db.users.find()
> db.users.findOne({ username: "ohai" })

from semaphore.

matejkramny avatar matejkramny commented on July 21, 2024

@gvenka008c let us know if this didn't work.

The issue may be in session storage.

from semaphore.

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.