Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 01 13:15

    gustavosbarreto on v0.2.2

    (compare)

  • Apr 01 13:09

    gustavosbarreto on master

    Bump version to v0.2.2 (compare)

  • Mar 31 19:26

    gustavosbarreto on master

    api: setup mongo client from en… (compare)

  • Mar 31 18:55

    gustavosbarreto on master

    gateway, ssh: add proxy protoco… (compare)

  • Mar 31 17:19

    gustavosbarreto on proxy_protocol

    PROXY (compare)

  • Mar 31 17:03

    gustavosbarreto on proxy_protocol

    PROXY (compare)

  • Mar 30 19:10

    gustavosbarreto on master

    Create pagination getters and s… (compare)

  • Mar 30 19:10
    gustavosbarreto closed #67
  • Mar 30 18:37

    gustavosbarreto on master

    api: add pagination to Devices … api: fix page and perPage range… api: allow count devices and se… (compare)

  • Mar 30 18:37
    gustavosbarreto closed #65
  • Mar 29 00:47

    github-actions[bot] on master

    Deployed e91aa01 with MkDocs ve… (compare)

  • Mar 29 00:46

    otavio on src

    troubleshooting: fix typo 'erro… (compare)

  • Mar 29 00:46
    otavio closed #11
  • Mar 28 22:19
    texierp opened #11
  • Mar 27 19:29
    eduardoveiga synchronize #65
  • Mar 27 14:31

    gustavosbarreto on proxy_protocol

    PROXY (compare)

  • Mar 27 14:16
    leonardojoao opened #67
  • Mar 27 12:11
    eduardoveiga synchronize #65
  • Mar 27 02:54
    eduardoveiga synchronize #65
  • Mar 26 19:45
    eduardoveiga synchronize #65
Luis Gustavo S. Barreto
@gustavosbarreto
look at docker-compose exec insert line
Radislav Myasnikov
@chamaloriz
where is the bug ?
Luis Gustavo S. Barreto
@gustavosbarreto
The password is empty
or not?
Radislav Myasnikov
@chamaloriz
it's not :p
docker-compose exec -T mongo mongo main --quiet --eval 'db.users.insert({ username: '\''test'\'', password: '\''808239727725960f0905042c0198369fdc5a3de2aeb853d297d7fc0b9cce121e'\'', tenant_id: '\''F2E2A642-8F92-48DD-9764-DC9F07FAA712'\'' }).nInserted'
it's the wrong hash
I typed test
Luis Gustavo S. Barreto
@gustavosbarreto
hmm
Yes
Radislav Myasnikov
@chamaloriz
you found the solution ?
Luis Gustavo S. Barreto
@gustavosbarreto
I'm wondering why
Are you using MacOS?
Radislav Myasnikov
@chamaloriz
yes
:)
I think I found the problem
it's in the $2
wait no
hahha
Luis Gustavo S. Barreto
@gustavosbarreto
hahaha
I need a MacOS shell access to debug this
Radislav Myasnikov
@chamaloriz
loook
Screenshot 2020-03-20 at 18.04.25.png
Screenshot 2020-03-20 at 18.05.13.png
and it's test the password
but it should be : 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
hummmm
Screenshot 2020-03-20 at 18.07.38.png
Radislav Myasnikov
@chamaloriz
Screenshot 2020-03-20 at 18.10.10.png
Luis Gustavo S. Barreto
@gustavosbarreto
ahh
echo is printing "-n test"
instead of evaluating the -n param
maybe it is not supported by mac
Replace "echo -n" with "printf"
look
The printf should work
Radislav Myasnikov
@chamaloriz
Got it :p
so yeah it's printf indeed
Luis Gustavo S. Barreto
@gustavosbarreto
uhuullll
Radislav Myasnikov
@chamaloriz
thank you :)
Luis Gustavo S. Barreto
@gustavosbarreto
:)
I'll release a new version with the fix soon
Radislav Myasnikov
@chamaloriz
nice to hear that :p now I'm going to play with shellhub :p
Luis Gustavo S. Barreto
@gustavosbarreto
Radislav Myasnikov
@chamaloriz
@gustavosbarreto question if I delete a device does the device removes the files ?
so If I add the same device again it works just fine ?
Luis Gustavo S. Barreto
@gustavosbarreto
it's doesn't remove the files
You need to stop the docker agent to completely remove it from shellhub
docker stop shellhub
docker rm shellhub